Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1691271imm; Tue, 22 May 2018 07:56:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp2RC3engoerQYuppx/HnpAz8PGvnVAT42atQA7l25shbI0x19WQzzYq2LnyZ/vQEfdzRXA X-Received: by 2002:a62:d97:: with SMTP id 23-v6mr24749942pfn.231.1527001001882; Tue, 22 May 2018 07:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527001001; cv=none; d=google.com; s=arc-20160816; b=ML+1mV1i8tSmaWHbDnB1eWKWogYpBl3MtN2DyeqF7extc8l9VuOHW1M4Njdy3ron2y uxdpoW05RV3WWS+dMKo+rg5V5oRX6odEjmE4ZjINvPgy1yLJ8uDUQ+5XXHXPVC+fKjXg ZitYcz8S5t8kqAJUgvFTxd1mDPwB6ABcuiYiFluGgJZ248BIv9LerumDiI8Jsi8aZUUQ lpplAXW1Y5iWK/qWZYs6oG7E7qj2Pj4OeeK1wdTFE27F1icT+VMzsMl9INvNq3QEgkLT GxHw2lyoBtG2Qnez0FMvf1PlFQ1cpwQhwDJPfNjbJGkLRt7yHPLyD00e1VxNWPjwu+pn KtUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=87AI5qWAibp36Y7A52IKwEp75JCsBeM46iWTSSfJ5nY=; b=KYtNPZGkBt/Dz4XKWBN0RwY7jyHh3704m7mFV0FJl5U24c2d9xa6R+H/1YvKAcDHIL Jx9mWBkmgwnfD0PeXBheZkgG4gdF99Jloa1MezXb/OSVk1R76hruEVzF096msHtSOquq boQLxzGKbE2mmx9qidJoCLJKdr5VulaElkwnGMpyqXGmq9EPc3UueF1/Hm6ugVUEDtS7 guaU6tjNIOo68I65PaPyzENT+f9mPkscLBnZtGjlfeB6TJJ+plRmDwK/U41XNPZSMTz3 Yj57lAhhr5i4whjCkYgDO9WFM7QCGpaj1HXQy+U6U/9jvFVkGqc9gpV8FjNbx9HihIKC U5Eg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5-v6si16078662plr.247.2018.05.22.07.56.27; Tue, 22 May 2018 07:56:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbeEVOzN (ORCPT + 99 others); Tue, 22 May 2018 10:55:13 -0400 Received: from mail.skyhub.de ([5.9.137.197]:60310 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751342AbeEVOzJ (ORCPT ); Tue, 22 May 2018 10:55:09 -0400 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id J2daMvQgs3d7; Tue, 22 May 2018 16:54:51 +0200 (CEST) Received: from pd.tnic (p200300EC2BCC1C0008E42CBF843DCEF3.dip0.t-ipconnect.de [IPv6:2003:ec:2bcc:1c00:8e4:2cbf:843d:cef3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 66C121EC021C; Tue, 22 May 2018 16:54:51 +0200 (CEST) Date: Tue, 22 May 2018 16:54:26 +0200 From: Borislav Petkov To: "Alex G." Cc: "Rafael J. Wysocki" , alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, "Rafael J. Wysocki" , Len Brown , Tony Luck , Tyler Baicar , Will Deacon , James Morse , Shiju Jose , "Jonathan (Zhixiong) Zhang" , Dongjiu Geng , ACPI Devel Maling List , Linux Kernel Mailing List Subject: Re: [PATCH v6 1/2] acpi: apei: Rename ghes_severity() to ghes_cper_severity() Message-ID: <20180522145426.GG5512@pd.tnic> References: <20180521135003.32459-1-mr.nuke.me@gmail.com> <20180521135003.32459-2-mr.nuke.me@gmail.com> <53d0ba88-6929-a7cf-6c3e-4ca389f7249a@gmail.com> <20180522135015.GF5512@pd.tnic> <0b758a1c-90e3-6f76-4f83-1e22c8fc9cd6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0b758a1c-90e3-6f76-4f83-1e22c8fc9cd6@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 22, 2018 at 09:39:15AM -0500, Alex G. wrote: > No, the problem is with the current approach, not with mine. The problem > is trying to handle the error outside of the existing handler. That's a > no-no, IMO. Let me save you some time: until you come up with a proper solution for *all* PCIe errors so that the kernel can correctly decide what to do for each error based on its actual severity, consider this NAKed. I don't care about outside or inside of the handler - this thing needs to be done properly and not just to serve your particular use case of abrupt removal of devices causing PCIe errors, and punish the rest. I especially don't want to have the case where a PCIe error is *really* fatal and then we noodle in some handlers debating about the severity because it got marked as recoverable intermittently and end up causing data corruption on the storage device. Here's a real no-no for ya. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.