From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tyler Baicar Subject: Re: [PATCH v6 2/2] acpi: apei: Do not panic() on PCIe errors reported through GHES Date: Tue, 22 May 2018 11:15:29 -0400 Message-ID: <50e318d3-b581-ad8b-d0e3-3e6c7b0da080@codeaurora.org> References: <20180521135003.32459-1-mr.nuke.me@gmail.com> <20180521135003.32459-3-mr.nuke.me@gmail.com> <5a72a503-e8d5-c317-89b4-86e574c48064@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5a72a503-e8d5-c317-89b4-86e574c48064@gmail.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: "Alex G." , "Rafael J. Wysocki" Cc: Borislav Petkov , alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, "Rafael J. Wysocki" , Len Brown , Tony Luck , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , ACPI Devel Maling List , Linux Kernel Mailing List List-Id: linux-acpi@vger.kernel.org On 5/22/2018 10:32 AM, Alex G. wrote: > I think the biggest problem is having a policy to panic on "fatal" > errors, instead of letting the error handler make that decision. I'd > much rather kill that stupid policy, but people seem to like it for some > reason. > You can get around that panic and still have the error handled as AER_FATAL in the current code. Your FW needs to mark the error as RECOVERABLE and then set the CPER_SEC_RESET flag. https://elixir.bootlin.com/linux/v4.17-rc6/source/drivers/acpi/apei/ghes.c#L450 Thanks, Tyler -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.