[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211128212221.1069726-1-hca@linux.ibm.com>
Date: Sun, 28 Nov 2021 22:22:18 +0100
From: Heiko Carstens <hca@...ux.ibm.com>
To: Peter Zijlstra <peterz@...radead.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Jonathan Cameron <Jonathan.Cameron@...wei.com>,
Len Brown <len.brown@...el.com>,
Thomas Richter <tmricht@...ux.ibm.com>,
Ian Rogers <irogers@...gle.com>
Subject: [PATCH 0/3] topology/sysfs: only export used sysfs attributes
Create die and cluster cpu topology sysfs attributes only if an
architecture makes uses of it, instead of creating them always for all
architectures with bogus default values.
Also change the book and drawer cpu topology macros so they match all
all other topology macros.
Heiko Carstens (3):
topology/sysfs: export die attributes only if an architectures has support
topology/sysfs: export cluster attributes only if an architectures has support
topology/sysfs: rework book and drawer topology ifdefery
Documentation/admin-guide/cputopology.rst | 33 +++++++++++------------
drivers/base/topology.c | 28 ++++++++++++++-----
include/linux/topology.h | 20 ++++++++++++++
3 files changed, 57 insertions(+), 24 deletions(-)
--
2.32.0
Powered by blists - more mailing lists