diff options
author | Thomas Gleixner <[email protected]> | 2016-10-07 14:02:12 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-10-08 12:10:52 +0200 |
commit | f3bf1dbe64b62a2058dd1944c00990df203e8e7a (patch) | |
tree | 607576d72492d18ff6118fae11a63c6929c42067 /scripts/gdb/linux | |
parent | 2a51fe083eba7f99cbda72f5ef90cdf2f4df882c (diff) |
x86/acpi: Prevent LAPIC id 0xff from being accounted
Yinghai reported that the recent changes to make the cpuid - nodeid
relationship permanent causes a cpuid ordering regression on a system which
has 2apic enabled..
The reason is that the ACPI local APIC parser has no sanity check for
apicid 0xff, which is an invalid id. So a CPU id for this invalid local
APIC id is allocated and therefor breaks the cpuid ordering.
Add a sanity check to acpi_parse_lapic() which ignores the invalid id.
Fixes: 8f54969dc8d6 ("x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping")
Reported-by: Yinghai Lu <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Gu Zheng <[email protected]>,
Cc: Tang Chen <[email protected]>
Cc: [email protected],
Cc: [email protected]
Cc: Tony Luck <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Lv Zheng <[email protected]>,
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/CAE9FiQVQx6FRXT-RdR7Crz4dg5LeUWHcUSy1KacjR+JgU_vGJg@mail.gmail.com
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions