lkml.org 
[lkml]   [2021]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] topology/sysfs: only export used sysfs attributes
Date
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

\
 
 \ /
  Last update: 2021-11-28 22:25    [W:0.998 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site