diff options
| author | Sudeep Holla <[email protected]> | 2018-06-29 16:17:57 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2018-07-02 20:56:38 +0000 |
| commit | 30998033f62a9915e0f884d680569a39bc9ce133 (patch) | |
| tree | edee02295e9c200ef3fd5f354d9e81d8459cf063 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | Linux 4.18-rc3 (diff) | |
| download | kernel-30998033f62a9915e0f884d680569a39bc9ce133.tar.gz kernel-30998033f62a9915e0f884d680569a39bc9ce133.zip | |
ACPI / PPTT: use ACPI ID whenever ACPI_PPTT_ACPI_PROCESSOR_ID_VALID is set
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: 2bd00bcd73e5 (ACPI/PPTT: Add Processor Properties Topology Table parsing)
Signed-off-by: Sudeep Holla <[email protected]>
Acked-by: Jeremy Linton <[email protected]>
[ rjw: Changelog (minor) ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
