Re: [PATCH] ACPI: PPTT: Inform user that table offset used for Physical processor node ID

From: John Garry
Date: Thu Apr 02 2020 - 09:18:14 EST


On 02/04/2020 14:08, Sudeep Holla wrote:
(I see 2 copies of this patch, replying on the latest)

I sent 2x copies accidentally. WFH....


On Thu, Apr 02, 2020 at 08:22:25PM +0800, John Garry wrote:
If the the Processor ID valid is not set for a Physical Processor Package
node, then the node table offset is used as a substitute. As such, we
may get info like this from sysfs:

root@(none)$ pwd
/sys/devices/system/cpu/cpu0/topology
root@(none)$ more physical_package_id
56

Inform the user of this in the bootlog, as it is much less than ideal, and
they can remedy this in their FW.

This topic was originally discussed in:
https://lore.kernel.org/linux-acpi/c325cfe2-7dbf-e341-7f0f-081b6545e890@xxxxxxxxxx/T/#m0ec18637d8586f832084a8a6af22580e6174669a


Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>

thanks


--
Regards,
Sudeep
.