linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes
@ 2021-11-29 13:03 Heiko Carstens
  2021-11-29 13:03 ` [PATCH v2 1/3] topology/sysfs: export die attributes only if an architectures has support Heiko Carstens
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Heiko Carstens @ 2021-11-29 13:03 UTC (permalink / raw)
  To: Peter Zijlstra, Greg Kroah-Hartman, Rafael J . Wysocki, Andrew Morton
  Cc: linux-kernel, Jonathan Cameron, Len Brown, Thomas Richter, Ian Rogers

v2:
As requested by Greg KH: avoid negative logic and use uppercase defines.

v1:
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.

v1: https://lore.kernel.org/lkml/20211128212221.1069726-1-hca@linux.ibm.com/

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                  | 25 +++++++++++++++++
 3 files changed, 62 insertions(+), 24 deletions(-)

-- 
2.32.0

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-12-04 11:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 13:03 [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 1/3] topology/sysfs: export die attributes only if an architectures has support Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 2/3] topology/sysfs: export cluster " Heiko Carstens
2021-11-29 13:03 ` [PATCH v2 3/3] topology/sysfs: rework book and drawer topology ifdefery Heiko Carstens
2021-11-29 14:03 ` [PATCH v2 0/3] topology/sysfs: only export used sysfs attributes Peter Zijlstra
2021-12-02 14:22   ` Heiko Carstens
2021-12-02 14:26     ` Greg Kroah-Hartman
2021-12-04  9:07       ` Song Bao Hua (Barry Song)
2021-12-04  9:48         ` Brice Goglin
2021-12-04 11:45           ` Song Bao Hua (Barry Song)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).