]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / scan: bail out early if failed to parse APIC ID for CPU
authorJiang Liu <jiang.liu@linux.intel.com>
Thu, 9 Jan 2014 08:15:19 +0000 (16:15 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 11 Jan 2014 00:31:38 +0000 (01:31 +0100)
commitc9f24abbf30c66e27d42d27ef8e62de6c5a18a57
tree27120eeb63d0ce9c01574f5aefeb7bd804fc43a3
parent0242b6e33e6b198789efabf5df3509fd30b67e8a
ACPI / scan: bail out early if failed to parse APIC ID for CPU

Enhance ACPI CPU hotplug driver to print clear error message and
bail out early if BIOS returns wrong value in ACPI MADT table or
_MAT method. Otherwise it will add the CPU device even if failed
to get APIC ID and fails any operations against sysfs interface:
/sys/devices/system/cpu/cpux/online

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_processor.c