mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] topology/sysfs: only export used sysfs attributes
@ 2021-11-28 21:22 Heiko Carstens
  2021-11-28 21:22 ` [PATCH 1/3] topology/sysfs: export die attributes only if an architectures has support Heiko Carstens
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Heiko Carstens @ 2021-11-28 21:22 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

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


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

end of thread, other threads:[~2021-11-29  6:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28 21:22 [PATCH 0/3] topology/sysfs: only export used sysfs attributes Heiko Carstens
2021-11-28 21:22 ` [PATCH 1/3] topology/sysfs: export die attributes only if an architectures has support Heiko Carstens
2021-11-29  6:53   ` Greg Kroah-Hartman
2021-11-28 21:22 ` [PATCH 2/3] topology/sysfs: export cluster " Heiko Carstens
2021-11-29  6:54   ` Greg Kroah-Hartman
2021-11-28 21:22 ` [PATCH 3/3] topology/sysfs: rework book and drawer topology ifdefery Heiko Carstens
2021-11-29  6:55   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®