ACPI: add support for ACPI reconfiguration notifiers
authorOctavian Purdila <octavian.purdila@intel.com>
Fri, 8 Jul 2016 16:13:09 +0000 (19:13 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 Jul 2016 19:52:35 +0000 (21:52 +0200)
commit68bdb6773289f8c9a36633f9f6525b127c093258
tree675807b263d4ce87f5d35beac0f21658d77a3ff5
parent10c7e20b2ff3caa5a8c0e7d60aef5a9c86e60ce8
ACPI: add support for ACPI reconfiguration notifiers

Add support for ACPI reconfiguration notifiers to allow subsystems
to react to changes in the ACPI tables that happen after the initial
enumeration. This is similar with the way dynamic device tree
notifications work.

The reconfigure notifications supported for now are device add and
device remove.

Since ACPICA allows only one table notification handler, this patch
makes the table notifier function generic and moves it out of the
sysfs specific code.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c
drivers/acpi/internal.h
drivers/acpi/scan.c
drivers/acpi/sysfs.c
include/linux/acpi.h
This page took 0.083753 seconds and 5 git commands to generate.