summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/Kconfig
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2015-12-02 21:43:00 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-12-14 18:17:44 -0500
commit8cfb0cdf07e2c260c4d1a102bfec35183907834f (patch)
treeddc430d68c4cbed66c9cd008812b8885a55cd13d /drivers/acpi/Kconfig
parent8a2a2501a893bfce65af7098a1b0a61f14f95626 (diff)
ACPI / debugger: Add IO interface to access debugger functionalities
This patch adds /sys/kernel/debug/acpi/acpidbg, which can be used by userspace programs to access ACPICA debugger functionalities. Known issue: 1. IO flush support acpi_os_notify_command_complete() and acpi_os_wait_command_ready() can be used by acpi_dbg module to implement .flush() filesystem operation. While this patch doesn't go that far. It then becomes userspace tool's duty now to flush old commands before executing new batch mode commands. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Kconfig')
-rw-r--r--drivers/acpi/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 5eef4cb4f70e..2a7e6d4c3edc 100644
--- a/drivers/acpi/Kconfig
+++ b/drivers/acpi/Kconfig
@@ -58,8 +58,9 @@ config ACPI_CCA_REQUIRED
58 bool 58 bool
59 59
60config ACPI_DEBUGGER 60config ACPI_DEBUGGER
61 bool "AML debugger interface (EXPERIMENTAL)" 61 bool "AML debugger interface"
62 select ACPI_DEBUG 62 select ACPI_DEBUG
63 depends on DEBUG_FS
63 help 64 help
64 Enable in-kernel debugging of AML facilities: statistics, internal 65 Enable in-kernel debugging of AML facilities: statistics, internal
65 object dump, single step control method execution. 66 object dump, single step control method execution.