Messages in this thread | | | Date | Mon, 31 Jan 2022 13:31:49 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v2 0/6] PPIN (Protected Processor Inventory Number) updates |
| |
On Fri, Jan 21, 2022 at 09:47:37AM -0800, Tony Luck wrote: > ...
They look good so far on my PPIN-enabled AMD box.
> 5) Add "ppin" to /sys/devices/system/cpu/cpu*/topology/ppin > > The big question for this part is whether there is a better > place to expose this value. I'm open to other suggestions.
Yeah, I'm not sure about that either. I have
$ grep -r . /sys/devices/system/cpu/cpu*/topology/ppin | cut -d: -f 2 | uniq -c 32 0xxxxx
32 times the same number.
Wouldn't
/sys/devices/system/node/
be a better place?
Even if those were logical nodes, it would still be less needless replication and that would be one more way for root to figure out which logical nodes belong to the same physical package... :-)
Hmm.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |