From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754386AbbJSUfS (ORCPT ); Mon, 19 Oct 2015 16:35:18 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:59045 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752215AbbJSUfP (ORCPT ); Mon, 19 Oct 2015 16:35:15 -0400 From: "Rafael J. Wysocki" To: Lv Zheng Cc: "Rafael J. Wysocki" , Len Brown , Lv Zheng , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Bob Moore Subject: Re: [PATCH v2 09/14] ACPICA: Debugger: Fix "quit/exit" command by cleaning up user commands termination logic Date: Mon, 19 Oct 2015 23:04:03 +0200 Message-ID: <3263599.JhYyYcsC47@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.1.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <98d60fa60319a9f62938628f78531f59d2fc9d2a.1445221165.git.lv.zheng@intel.com> References: <98d60fa60319a9f62938628f78531f59d2fc9d2a.1445221165.git.lv.zheng@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, October 19, 2015 10:25:32 AM Lv Zheng wrote: > 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 > Signed-off-by: Bob Moore This patch does not apply for me on top of the current mainline. What tree is it applicable to? Thanks, Rafael