ACPI: support customizing ACPI control methods at runtime
authorZhang Rui <rui.zhang@intel.com>
Wed, 2 Dec 2009 05:31:00 +0000 (13:31 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 11 Dec 2009 06:50:08 +0000 (01:50 -0500)
commita1a541d86f50a9957beeedb122a035870d602647
treebc3bd16c6d1bbb8c1fcc561a436b2c322ec098d4
parent22763c5cf3690a681551162c15d34d935308c8d7
ACPI: support customizing ACPI control methods at runtime

Introduce a new debugfs I/F (/sys/kernel/debug/acpi/custom_method) for ACPI,
which can be used to customize the ACPI control methods at runtime.

We can use this to debug the AML code level bugs instead of overriding the
whole DSDT table, without rebuilding/rebooting kernel any more.

Detailed description about how to use this debugfs I/F is stated in
Documentation/acpi/method-customizing.txt

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/acpi/method-customizing.txt [new file with mode: 0644]
drivers/acpi/debug.c