]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination...
authorLv Zheng <lv.zheng@intel.com>
Mon, 19 Oct 2015 02:25:32 +0000 (10:25 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Oct 2015 00:05:05 +0000 (02:05 +0200)
commitaf08f9cc5073eee875016d28730c99ec86da4198
tree8d63bdda3a08515e28bf74b6fc8a9979c807348b
parent9957510255724c1c746c9a6264c849e9fdd4cd24
ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic

ACPICA commit 0dd68e16274cd38224aa4781eddc57dc2cbaa108

The quit/exit commands shouldn't invoke acpi_terminate_debugger() and
acpi_terminate() right in the user command loop, because when the debugger
exits, the kernel ACPI subsystem shouldn't be terminated (acpi_terminate())
and the debugger should only be terminated by its users
(acpi_terminate_debugger()) rather than being terminated itself. Leaving such
invocations causes kernel panic when the debugger is shipped in the Linux
kernel.

This patch fixes this issue. Lv Zheng.

Link: https://github.com/acpica/acpica/commit/0dd68e16
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/acglobal.h
drivers/acpi/acpica/dbinput.c
drivers/acpi/acpica/dbxface.c
drivers/acpi/acpica/utinit.c
drivers/acpi/acpica/utxface.c