Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp981467imm; Fri, 11 May 2018 09:14:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqyo/gPbCzAMvbAbq946JeEWrADIIqVv6HoNW0H7MYi3lEnfFwbII93a5tAKmQeDXtkHy4g X-Received: by 2002:a63:6e84:: with SMTP id j126-v6mr5006798pgc.310.1526055282448; Fri, 11 May 2018 09:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526055282; cv=none; d=google.com; s=arc-20160816; b=cBEmZ+Wr0zaiJ0D9g9KTjuEBV498ZUxFAdFpQwgoC+f6/sQtOmCOuwyqx6fxVRG7Iv xNHZfeYJbazfogV7BUz0+P8BQmAxUxXdZVjusggAH8IV17OC4rrHEJJ5YmMgg+Ujn/wT 0gdJu3sh6nWtFdSGMnp+2RIQRyT/aWPSemYSMTocrvg/K6FwkQihxlcit+05CUnhzTP0 VZsiS96Wtbhq9PLgHzInJXTl/DyQMaKCC6lawDqNvlFK5vB+kgWv94ENhMgmlhlubn4h o6A2yHmHJbkwqLS6ROyzyeBdywDbcY0pewpopHyGdO7BpvmH/gkW8VjNHosPLPm45nS/ U1lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=HA4hzY7o6El/z74oWwu2+D6r8eHwPbx669Epxip+xR0=; b=xBF8owsglKSE1ydB+wE+l1JA6EydfNzU7E7jLXR8Mj66JDRwUqfDOavMS8QM/cvl+x /f+jHDELi3GS03BCbflwdMYSDnLdbhrhBeUXP65xbU8hrVzJuGIC2vcr/OkktUTX3QHW aAjP37zsog3ava/W/2r2WSjfOQXCwZFZXWyIZdVUDdyqmO7kEVAks33ELbyO/jbaIDcL DZl7Y7XNJtFOTsYAYjr0iCZ/jAt4SfJ39dArIZ/N9TZfvLH/VVCRIZ3p91X0iLwR1azZ FzrddgaL7YnWU2hzmA7+y+JLcjh4bKjHmqI8MS6U+r4xf7ms4JrL1eEwbQ+l2vdHNu+S KidQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=URx1MJGq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si3189209plp.221.2018.05.11.09.14.27; Fri, 11 May 2018 09:14:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=URx1MJGq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbeEKQMd (ORCPT + 99 others); Fri, 11 May 2018 12:12:33 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:34218 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751717AbeEKQM2 (ORCPT ); Fri, 11 May 2018 12:12:28 -0400 Received: by mail-oi0-f68.google.com with SMTP id l1-v6so5183397oii.1; Fri, 11 May 2018 09:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HA4hzY7o6El/z74oWwu2+D6r8eHwPbx669Epxip+xR0=; b=URx1MJGqfCl/trrYteEcDI2nZCbz0Ob/TIeNLTKvxGM1ZQdjavghJ1+HC4NBUWrEaG qEfoNtfRccvcmVORRwkrRa2kU4grMKVeIBgCgdFNC0Zk6A/6Iemc8aYdEcXRHU60fEGx d5mVxTHg5qCi7oYBubPJRhgec5sRyAWaxvFNTxV8PGgMiwb0VX0IM84y41DATyiyC68y YtdGrvcqtTFr/fL84LDghJVPV4LAnbRGgmjtfDAsZ8w+Yd79B5+ZU1gvxBVsf0wEMsfN RLPZQ9WwFS0U93acp1OAtCuJHjZW6YMMl5RsL5ZI9THeFhNKaQuT4Na3LbniHjyMjIKS VTTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HA4hzY7o6El/z74oWwu2+D6r8eHwPbx669Epxip+xR0=; b=UyGgfGr7AkLSHpuUzG0qdZAiEmJFZiVYG2+BisXUdyq3CR/kGALrH5b+RHA93WkBkT iIBGKXd1ODgvV9pybMEKNmbl0mVrQZdDdEap9iZSTuSxFbVbkJt9lTEswZMAPwxiZ/cD yGB7cmgd2LJzHqbLch/8BgIrfpy8qyhfl/ev7YoEi9DKz/OsyFTiw0aFQDJIvzfIXTyu pQmRrTjJMUHrru5sNmPJGNmz2q0D1j3b0YwdJ+3FH+DJTKf4LPYBQbDNQnCK7ZGUmhB1 C22XPso2Q/MgDL+30hk8BYKqiskC515QvY32ZyURmIwKE2qeAE2/fmcDubTE86y81P/M sCWQ== X-Gm-Message-State: ALKqPweHhwrqnAQ+R7avYBmgd/SLdo8RifzEnjNS6Y1tAQpLSQAXFt3l A9UfLN4y87IR+y3niRkXztmz49+XJro= X-Received: by 2002:aca:e544:: with SMTP id c65-v6mr3762858oih.191.1526055147796; Fri, 11 May 2018 09:12:27 -0700 (PDT) Received: from nuclearis2_1.gtech (c-98-201-114-184.hsd1.tx.comcast.net. [98.201.114.184]) by smtp.gmail.com with ESMTPSA id m3-v6sm1700553oif.50.2018.05.11.09.12.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 09:12:26 -0700 (PDT) Subject: Re: [RFC PATCH v4 3/3] acpi: apei: Do not panic() on PCIe errors reported through GHES To: Borislav Petkov Cc: alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, "Rafael J. Wysocki" , Len Brown , Tony Luck , Mauro Carvalho Chehab , Robert Moore , Erik Schmauss , Tyler Baicar , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, devel@acpica.org References: <20180430212836.7807-1-mr.nuke.me@gmail.com> <20180430213358.8319-1-mr.nuke.me@gmail.com> <20180430213358.8319-3-mr.nuke.me@gmail.com> <20180511154039.GD12705@pd.tnic> <8e3c0cc6-9c5c-85ce-650c-8f498f5907da@gmail.com> <20180511160253.GF12705@pd.tnic> From: "Alex G." Message-ID: <45b7be09-c9b3-8006-6ea0-36b4ff38607c@gmail.com> Date: Fri, 11 May 2018 11:12:25 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180511160253.GF12705@pd.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/11/2018 11:02 AM, Borislav Petkov wrote: > On Fri, May 11, 2018 at 10:54:09AM -0500, Alex G. wrote: >> That being clarified, should I replace "crackmonkey" with "broken" in >> the commit message? > > Keep your opinion *outside* of commit messages - their goal is to > explain *why* the change is being made in strictly technical language so > that when someone looks at git history, someone can know *why*. > >> Borislav, I sense some confusion. AER is not a "reporting" driver. It >> handles the errors. You can't leave these errors unhandled. They >> propagate to the root complex and can cause fatal MCEs when not handled. >> The window to handle the error is pretty large, so it's not a concern >> when you're handling it. > > I think *you* didn't get it: IS_ENABLED(CONFIG_ACPI_APEI_PCIEAER) is not > enough of a check to confirm that there actually *is* an AER driver to > handle the errors. If you really want to make sure the driver is loaded > and functioning, then you need an explicit registering mechanism or some > other way of checking it really is there and handling errors. config ACPI_APEI_PCIEAER bool "APEI PCIe AER logging/recovering support" depends on ACPI_APEI && PCIEAER help PCIe AER errors may be reported via APEI firmware first mode. Turn on this option to enable the corresponding support. PCIAER is not modularizable. QED Alex