-
由 Sudeep Holla 提交于
Currently, we use the ACPI processor ID only for the leaf/processor nodes as the specification states it must match the value of the ACPI processor ID field in the processor’s entry in the MADT. However, if a PPTT structure represents a processors group, it matches a processor container UID in the namespace and the ACPI_PPTT_ACPI_PROCESSOR_ID_VALID flag indicates whether the ACPI processor ID is valid. Let's use UID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set to be consistent instead of using table offset as it's currently done for non-leaf nodes. Fixes: 2bd00bcd (ACPI/PPTT: Add Processor Properties Topology Table parsing) Signed-off-by: NSudeep Holla <sudeep.holla@arm.com> Acked-by: NJeremy Linton <jeremy.linton@arm.com> [ rjw: Changelog (minor) ] Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
30998033