]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / processor : add support for ACPI0010 processor container
authorSudeep Holla <Sudeep.Holla@arm.com>
Wed, 17 Feb 2016 11:54:19 +0000 (11:54 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Feb 2016 23:53:56 +0000 (00:53 +0100)
commit005223b88ebfaf8322928dafa7870abcde69b97d
tree96ab0d42ae5de697ce9592cc53dc474ecb4ce2af
parentd841b58757cc0cd82d0d427b3936e36223ad9f9d
ACPI / processor : add support for ACPI0010 processor container

ACPI 6.0 adds support for optional processor container device which may
contain child objects that are either processor devices or other processor
containers. This allows representing hierarchical processor topologies.

It is declared using the _HID of ACPI0010. It is an abstract container
used to represent CPU topology and should not be used to hotplug
purposes.

If no matching handler is found for a device in acpi_scan_attach_handler,
acpi_bus_attach does a default enumeration for those devices with valid
HID in the acpi namespace. This patch adds a scan handler for these ACPI
processor containers to avoid default that enumeration and ensures the
platform devices are not created for them.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_processor.c
include/acpi/processor.h