Messages in this thread | | | Date | Mon, 31 Jan 2022 12:35:10 +0100 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH v2 6/6] topology/sysfs: Add PPIN in sysfs under cpu topology |
| |
On Fri, Jan 21, 2022 at 09:47:43AM -0800, Tony Luck wrote: > PPIN is the Protected Processor Identification Number. > This is used to identify the socket as a Field Replaceable Unit (FRU). > > Existing code only displays this when reporting errors. But this makes > it inconvenient for large clusters to use it for its intended purpose > of inventory control. > > Add ppin to /sys/devices/system/cpu/cpu*/topology to make what > is already available using RDMSR more easily accessible. Make > the file read only for root in case there are still people > concerned about making a unique system "serial number" available. > > Signed-off-by: Tony Luck <tony.luck@intel.com> > --- > Documentation/ABI/stable/sysfs-devices-system-cpu | 4 ++++ > Documentation/ABI/testing/sysfs-devices-system-cpu | 6 ++++++ > arch/x86/include/asm/topology.h | 1 + > drivers/base/topology.c | 4 ++++ > include/linux/topology.h | 3 +++ > 5 files changed, 18 insertions(+)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| |