summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorDou Liyang <douly.fnst@cn.fujitsu.com>2018-04-12 09:40:52 +0800
committerThomas Gleixner <tglx@linutronix.de>2018-04-17 11:56:31 +0200
commit10daf10ab154e31237a8c07242be3063fb6a9bf4 (patch)
tree4c5611431bdd5a149590557c505a02132e8b0ac7 /Documentation/Makefile
parentd3878e164dcd3925a237a20e879432400e369172 (diff)
downloadlwn-10daf10ab154e31237a8c07242be3063fb6a9bf4.tar.gz
lwn-10daf10ab154e31237a8c07242be3063fb6a9bf4.zip
x86/acpi: Prevent X2APIC id 0xffffffff from being accounted
RongQing reported that there are some X2APIC id 0xffffffff in his machine's ACPI MADT table, which makes the number of possible CPU inaccurate. The reason is that the ACPI X2APIC parser has no sanity check for APIC ID 0xffffffff, which is an invalid id in all APIC types. See "Intel® 64 Architecture x2APIC Specification", Chapter 2.4.1. Add a sanity check to acpi_parse_x2apic() which ignores the invalid id. Reported-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Cc: len.brown@intel.com Cc: rjw@rjwysocki.net Cc: hpa@zytor.com Link: https://lkml.kernel.org/r/20180412014052.25186-1-douly.fnst@cn.fujitsu.com
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions