ACPI: add support for loading SSDTs via configfs
commit612bd01fc6e04c3ce9eb59587b4a7e4ebd6aff35
authorOctavian Purdila <octavian.purdila@intel.com>
Fri, 8 Jul 2016 16:13:14 +0000 (8 19:13 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 8 Jul 2016 19:52:36 +0000 (8 21:52 +0200)
tree00b1df2c43e46b3a7f8dd47cb954b077e19d772e
parent0bf54fcd95042bd178cb25368422cf4474fc8492
ACPI: add support for loading SSDTs via configfs

New tables can be loaded by creating directories under /config/table/
and writing the AML code into the aml table attribute. Various table
attributes will be readable once the table is successfully loaded.

Unloading tables is not supported at the moment, but it can be easily
implemented once ACPI loading functions provide a table handle to be
used for unloading.

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>
Documentation/ABI/testing/configfs-acpi
Documentation/acpi/ssdt-overlays.txt
drivers/acpi/configfs.c