[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YffJbnO5uyYptFAd@kroah.com>
Date: Mon, 31 Jan 2022 12:35:10 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Tony Luck <tony.luck@...el.com>
Cc: Borislav Petkov <bp@...en8.de>, x86@...nel.org,
linux-kernel@...r.kernel.org,
Smita Koralahalli Channabasappa
<smita.koralahallichannabasappa@....com>,
Wei Huang <wei.huang2@....com>,
Tom Lendacky <thomas.lendacky@....com>, patches@...ts.linux.dev
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@...el.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@...uxfoundation.org>
Powered by blists - more mailing lists