]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / processor: Make it possible to get local x2apic id via _MAT
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 29 Jul 2014 03:27:50 +0000 (11:27 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jul 2014 00:03:31 +0000 (02:03 +0200)
commitd559d3caaae08a2c7507ce71bb3bd90d03c9dc2c
treef31bf10eb0f12da1979a3384eb7c2d29c093207b
parent5822e6b129aee9c5460116d5a197ce6b110c9351
ACPI / processor: Make it possible to get local x2apic id via _MAT

Logical processors with APIC ID values of 255 and greater are
required to have a Processor Device object and must convey the
processor's APIC information to OSPM using the Processor Local
X2APIC structure, but not until ACPI 5.1, X2APIC structure was
not supported in _MAT method.

_MAT is needed for CPU hotplug and system with more than 255
CPUs will definitely need X2APIC structure, so add its support
in map_mat_entry() to make it possible to get local x2apic id
via _MAT based on ACPI 5.1.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/processor_core.c