]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub...
authorLv Zheng <lv.zheng@intel.com>
Thu, 3 Dec 2015 02:42:53 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Dec 2015 23:17:44 +0000 (00:17 +0100)
commit8ee22c59f585bd91de72faa9afa47b41639225c3
treeca2fbad37ca7097e75a96b829ad706f3130fa369
parentfe8b9e362d9f4f3056b7abcc6ac79c79dca83211
ACPICA: Debugger: Fix runtime stub issues of ACPI_DEBUGGER_EXEC using different stub mechanism

ACPICA commit 11522d6b894054fc4d62dd4f9863ec151296b386

The ACPI_DEBUGGER_EXEC is a problem now when the debugger code is compiled
but runtime disabled. They actually will get executed in this situation.
Although such executions are harmless if we can correctly make
acpi_db_single_step() a runtime stub, users may still do not want to see the
debugger print messages logged into OSPMs' kernel logs when a debugger
driver is not loaded to enable the debugger during runtime.

This patch fixes this issue by introducing new stub mechanism instead of
ACPI_DEBUGGER_EXEC. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/11522d6b
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acdebug.h
drivers/acpi/acpica/acmacros.h
drivers/acpi/acpica/dbdisply.c
drivers/acpi/acpica/dbxface.c
drivers/acpi/acpica/dscontrol.c
drivers/acpi/acpica/dsutils.c
drivers/acpi/acpica/dswexec.c
include/acpi/acpixf.h