Received: by 10.192.165.148 with SMTP id m20csp1012445imm; Wed, 2 May 2018 12:31:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpEGkBp/JqQKBtrH/DEJA7LFJP2YjAAGACr5Ki59JXA/duj2dgBaLNo1MVf790piZAAq96z X-Received: by 2002:a65:4805:: with SMTP id h5-v6mr2864875pgs.96.1525289504768; Wed, 02 May 2018 12:31:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525289504; cv=none; d=google.com; s=arc-20160816; b=R3jK3SthL9vDo0vMQTxq++8cxuVucylgMToaTI0WNif4MATYvLsF1rsA5Pgi6ScwAe da9zCS3jtVZrnfS4tL3zp/rS3y+0w19CWPP2+S74AyFbX8tsG5u4AlxfQhtBP2kcTdSH uGbhBWnlAgEbmO34MUL8GJtiIRxc+DiSwa+WGVC8wSFR/mvwDS4OuGVC/U+PwJ8c2OXK cSG78LDmz6t/cPU3zMpfc3FSDosSkaF11fFDCqIe+fwEsEm3T9eKH2N/e8qTfRCajLAu j6DjKdxUMSS+JGtTUFWy/xTuUO4I1xmhICsbwCV2NjpZybsRuQIN63+3x6CcX02zX2eb zTEQ== 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=5hW879meiZlxUYktLamqj5ePy1gYcb260MvbJFDT624=; b=sGblVNVo6YU8vu/AUqpEzEZRtvPHvTP5l2TmCD0m1MX4VsMOoQVwhNNeIxb14eKqWy 0K07WY2wiPpwJVA8WkwWHcpGky1+K9lHyuYmnHFx/PtyMO9K2Fs33CjIuuLHB9oWzlyd NdaPKO/Ge2+J/kFgxnPCOxmyU39QzdvMXp1ZdKtCYCaE7Ig3qMZrpXprnnFcl2bhZUao tVIYqScS+c7mgO8a1D/kjpR+q8jA4s1l8QRdxz4xkc2GpFTd81z/dEBCnkvrTJxmKGbC HLDAKPcC8eZM4Jxb7M0eBrSlqGTtQ7rWzPouNReB2ItaTNn45R3e0e6NEYuMzC4qwpxZ XpGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=egtVzYar; 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 a5-v6si12025742pll.123.2018.05.02.12.31.30; Wed, 02 May 2018 12:31:44 -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=egtVzYar; 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 S1751318AbeEBT3r (ORCPT + 99 others); Wed, 2 May 2018 15:29:47 -0400 Received: from mail-ot0-f170.google.com ([74.125.82.170]:37659 "EHLO mail-ot0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751181AbeEBT3m (ORCPT ); Wed, 2 May 2018 15:29:42 -0400 Received: by mail-ot0-f170.google.com with SMTP id 77-v6so17938082otd.4; Wed, 02 May 2018 12:29:42 -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=5hW879meiZlxUYktLamqj5ePy1gYcb260MvbJFDT624=; b=egtVzYarFcMaz52IWAJIWVUYk8rw2R5XTurvJPFtJ6LSOzU5z7oqLv8OiGV/J+kB1M ZUUupZA8RpUgm7JQ18zca1YeD0MqdXEAxY3/WhWn0uQ+UWmW6jLyP+XMTrjxGQMaaq/7 fW55QpKb4OvDFcIaxr7g/2gQLgiDA1S6jpOl0JLGtJ8XzUdRo4rcNW7kePvgh35lguzk HLGF8Fxw4jzcWP43BDMC82WfAvHqoiIvtzb2lk/ZgJHOpWXo8lGzK02R1Qvsa5WiyVHw 8L7Vvnayn+KSkW+ShA/GR0Y0k1JQDHVZm/xooOj/AHSe6VLlSC+UdiD4zRQpFBPG6z0o mhDw== 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=5hW879meiZlxUYktLamqj5ePy1gYcb260MvbJFDT624=; b=a1/fPYrkALFiUdg3W8+qy932XJ4WnwwNFL8itgvVs711ggAin9ZKgecG3oC168XcoN 6mxG2d//+7b4AMefkDRCvB/JCH/plYZnXTFerMM6WK7wx1KmCs91ic+pIHChmuzYJPWK RjSi56eqyfgReFVpoKyoJrB7CT3mfzCCQqwAuJ+IudyAykFJR06hwoP4KfmjmmdaZI8y eyWWL/o3PZjmrh70etfsklIEhQ0QTSUnegKsOZHIcWjWPQMZ0KnlQbR9Ny5kaSkqqUXD cQBmdpsgfAHpE6rzPlzhn97t8rrKpWh1tt/CEfAo8EoCKcA9SuRD4CRBN17QwHNhG9Eg lnQA== X-Gm-Message-State: ALQs6tDAVLb0cxXgXSHo/Ba94rAMqxzRxHpgHSv/OyUz14lpNxvG7Slz 14ZATIg4p2pNO62OwUvAa4s= X-Received: by 2002:a9d:55b1:: with SMTP id m46-v6mr14178736oth.400.1525289381580; Wed, 02 May 2018 12:29:41 -0700 (PDT) Received: from nuclearis2_1.gtech (c-98-197-2-30.hsd1.tx.comcast.net. [98.197.2.30]) by smtp.gmail.com with ESMTPSA id s3-v6sm7000317oia.42.2018.05.02.12.29.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 May 2018 12:29:40 -0700 (PDT) Subject: Re: [RFC PATCH v3 3/3] acpi: apei: Warn when GHES marks correctable errors as "fatal" To: Pavel Machek , Borislav Petkov Cc: linux-acpi@vger.kernel.org, linux-edac@vger.kernel.org, "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-kernel@vger.kernel.org, devel@acpica.org References: <20180416215903.7318-1-mr.nuke.me@gmail.com> <20180425203957.18224-1-mr.nuke.me@gmail.com> <20180425203957.18224-4-mr.nuke.me@gmail.com> <20180426112057.GB15009@pd.tnic> <20180502191029.hcvf56xbdna7oi4k@devuan> From: "Alex G." Message-ID: <2e1b1d18-08b5-fa85-be7b-ab29ac2195b3@gmail.com> Date: Wed, 2 May 2018 14:29:40 -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: <20180502191029.hcvf56xbdna7oi4k@devuan> 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/02/2018 02:10 PM, Pavel Machek wrote: > On Thu 2018-04-26 13:20:57, Borislav Petkov wrote: >> On Wed, Apr 25, 2018 at 03:39:51PM -0500, Alexandru Gagniuc wrote: >>> There seems to be a culture amongst BIOS teams to want to crash the >>> OS when an error can't be handled in firmware. Marking GHES errors as >>> "fatal" is a very common way to do this. >>> >>> However, a number of errors reported by GHES may be fatal in the sense >>> a device or link is lost, but are not fatal to the system. When there >>> is a disagreement with firmware about the handleability of an error, >>> print a warning message. > > >>> + >>> + if ((sev >= GHES_SEV_PANIC) && (ghes_actual_severity(ghes) < sev)) { >>> + pr_warn("FIRMWARE BUG: Firmware sent fatal error that we were able to correct"); >>> + pr_warn("BROKEN FIRMWARE: Complain to your hardware vendor"); >> >> Pasting the same comment from last time since you missed it: >> >> "No, I don't want any of that crap issuing stuff in dmesg and then people >> opening bugs and running around and trying to replace hardware. > > We want to see warnings. Maybe they can be toned done. We even have > dedicated distros for firmware testing. I'm told that had we had this warning when the r740 BIOS was in development, we would have solved a lot of the issues that I'm currently working on. That would, in turn, have exposed bigger issues, and we would have had a platform to fix and test those bigger issues. Hardware vendors who test on linux might be scratching their heads at this error, though they tend to figure out what they're doing wrong, and fix it. One argument against was "expensive support calls", on which I call BS. The firmware resources are expensive, but those are there whether or not the customers call to complain. Alex >> Good mailing practices for 400: avoid top-posting and trim the reply. > > Good mailing practices -- limit use of four letter words on public lists. Then can't show word 'four'.