Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1092271imm; Fri, 11 May 2018 10:57:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZprTTLq0tfrMzs3WxKpHREsKH3uyh7C/0LMgvmxHpUxNzlG5xkPAjG7SXQ1TUnMqe3QAKQU X-Received: by 2002:a62:cf43:: with SMTP id b64-v6mr6414990pfg.248.1526061467848; Fri, 11 May 2018 10:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526061467; cv=none; d=google.com; s=arc-20160816; b=bIZ96kADrwfbr/gX5zdCcCvGdFwh+oYKDVUr9yWlbv2xOj0GA6sax6BnB3pqws5FYn TuMli8IicM1ti+mMRXLPEQ8cYE4NgC1DXt8uiOyRgR23gZdYZhOXG8U44PwTwOmQHKdW 5ybGXr9PIY33DfwN/LyMLoC6WFC8uYQ6kmHLp6NgOktq1XBBV9vE+YsK6GuAKunk3Ipm PtcT8B/EzhNwNbVZK5rDipLKOmSGkhgLWq3NHC8kXwkoFDc9nWQiYxJqvxk3ONhGfNxb BM36h2Hal3TADKbxTBd30fyq12/E23sRJOz4AJPf4lyvQKGGmraXtg2OTBPcYYPlBnW/ 9dFg== 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=hyNJbezftPrBHGFx6umW8AV9Dq7RcJrQrfWxtn0xb9s=; b=iBBFXKtW8LvTQ0SFeX1t3SIkSS+66jBBzFfQXF0AG2MGNj6B3hOaSoA3CJsmQ5BYrF 1l9atmKUPg4sr4ethuray3CjWhNi+BA86IqCryb4T2IcTyPqsBlmAIXZySoJO9EGoOcw igypoB3djaWmlHMdyHIXt6guooGQfV3E/MI/sAEIcyEfCDu/XMLoQJfp+Ug36EjaZ+Sj 7nCOlyPzL5Zy2bPbQhB1QBKSLu9zc255fDoRiJ8zKx66JlwGc9DBKwbBf9ZOX2zX/WPk lvWcoqfw3ZXI2j1vXUB8ZzmNgGcQ4Kt53qg7sleBIlbnHqH3dd4VvFrxL3vvWjHcXtjF CgSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=D/yAjGfN; 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 d25-v6si3624569plj.344.2018.05.11.10.57.33; Fri, 11 May 2018 10:57:47 -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=D/yAjGfN; 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 S1751617AbeEKR4G (ORCPT + 99 others); Fri, 11 May 2018 13:56:06 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:37687 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbeEKR4E (ORCPT ); Fri, 11 May 2018 13:56:04 -0400 Received: by mail-oi0-f67.google.com with SMTP id w123-v6so5434498oia.4; Fri, 11 May 2018 10:56:04 -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=hyNJbezftPrBHGFx6umW8AV9Dq7RcJrQrfWxtn0xb9s=; b=D/yAjGfNMjdDluonF9YjYoBN9md5058TyVUQbmHvzChCV0fgCV36MW36CboUxVotG8 laNLT3YAsKfH8llrltJDHgBcDBRL2yDHD4dcc72mmZ543zm+cLdsxAwFQFuxyB88PuGr sdddnUlMGiZozaUdJk+CLn2MnGYSzYsY/Ft3SHwU0clAxeiRLFzPD8agBXmGbjmoSVB0 ma/GH+MuSCgTbQmKEj3/JwRIII5EufX61a5mcfsVpHDK/XUgOmtkeobZDNa+K9QP84Cy dyczOq2e221Btpprh7i59yy2D3leBOrGhIObDGVmiZv3AqK+gTnPqygvkyD3GjNqYdJj OAOA== 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=hyNJbezftPrBHGFx6umW8AV9Dq7RcJrQrfWxtn0xb9s=; b=Jzd2z3/aCWWBAu2xJfXMN4dl/kHeQZZP/kpZno0QFHL17TYhcQ+y06hNKZ8H2+utHZ NahP7MNyGCOnrPaJ1/gwTuvvVWDHsBxP7CKbbJGXzRjg8Jl5jt33TzizYZS/HGGxeP7J a/8p/DubbipE2jZG9mlbWj30jmUP6VzoIov7/RKEX6nPc8yT20FkQaaKkN4qnCf6VFp/ XezMjthMLiA6oFTD/yQxcJpH8kDDH8NBOU2xmYBb+zOs9vGC5VBfa/AZ39Jjz3t6b9Jg OO4jKOl58h82blxj9jNurcnsio+C8oSngKFBfiQPV7LW2cxpnPhpGYzGzrwMwKsORZAk UclA== X-Gm-Message-State: ALKqPwf5V+ie6Jn27C3DMtGHjLhJOyYd4ReI9Aeiz27D7E8fKj5i0sQQ 4lkSx2Kp6ovvnk5vYn4tn2py3o3pKmo= X-Received: by 2002:aca:6615:: with SMTP id a21-v6mr3902282oic.309.1526061363749; Fri, 11 May 2018 10:56:03 -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 f21-v6sm2227476otj.0.2018.05.11.10.56.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 10:56:03 -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> <45b7be09-c9b3-8006-6ea0-36b4ff38607c@gmail.com> <20180511162951.GH12705@pd.tnic> <95bcbc2d-0f8c-e51a-f0fc-08ea8c5fca26@gmail.com> <20180511174112.GI12705@pd.tnic> From: "Alex G." Message-ID: <356deea6-3b66-4e85-f4ab-feeb3dce8e8e@gmail.com> Date: Fri, 11 May 2018 12:56:02 -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: <20180511174112.GI12705@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 12:41 PM, Borislav Petkov wrote: > On Fri, May 11, 2018 at 12:01:52PM -0500, Alex G. wrote: >> I understand your concern with unhandled AER errors evolving into MCE's. >> That's extremely rare, but when it happens you still panic due to the >> MCE. > > I don't like leaving holes in the handling of PCIe errors. You need to > handle only those errors which are caused by hot-removal and not affect > other error types. Or do a comprehensive PCIe errors handling of all > errors in the AER driver. Forget about how AER works, and worry about parity with native AER. If AER is buggy, it will have the same bug in native and FFS cases. Right now we're paranoid, over-babying the errors, and don't even make it to the handler. How is this better? Alex