Received: by 10.192.165.156 with SMTP id m28csp829017imm; Thu, 19 Apr 2018 08:12:41 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/S2a6LYeGkpIYf0IE5H+M/f5YU6LQkrhmZ42g1ZFHjxgcyBInX1a+CxrmmOMBo+xlMivYE X-Received: by 10.99.42.137 with SMTP id q131mr5420751pgq.379.1524150761263; Thu, 19 Apr 2018 08:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524150761; cv=none; d=google.com; s=arc-20160816; b=DY8ecbRnr+2zR2y8xG2/MA4rWW7AqYG7unpoaZKZGqBb4iR3d13qZXXT1cGkIeOMxj 544Zz8w/jUL1QR60f0TojO2wD5IO5uuQitmQlzBTbTR9/r9iugLD3u46cLq53+t7YK40 W9CSDQCWzG53NPd3uYoOitEL7fC0t4SHlp0RS7u6sQ03lYUALWxMSiv7mTSXH2/4SPmB 2090/4+miKt/h+3zH2gcnaFvrKwLqki7koMbxLvQ1COhfMfz5RzSblj5cdnfpvKaBFkx 2+8J9ZACEPbUUVKUAJHHF/HeJH79W+zRuDZKqsHhNospnPlwewBl7NbCS5oriXz6lqfD lBbA== 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=msCmMuIQZ3GZLEpKiODwn/niBzeTCICdFo6/NetxU6A=; b=Ooir/L1+YJxHFSvP//pObWu3HyPNjxE+2Y4awsZJfblZGl4/QaC7dGot0kqMN7XdRN eUkTd1uFDqpC1g09NH4miimt1pTv8wgBpDihip1TGnM1VNAgt31r/LkjBE9lQW1SxQ99 SYZwCxy/2lNprZgJSzcdvenagkCruZS4q4iWIB17Mals3zNI3hBGDme4qOJ367qCQlwJ LoY7ZUrVzN4T9G+sEqSktq63HYMnCqY9sh8TT4KDorFivcIzCNKYb5ZqIlprG+VlXzKF WUiRwuO2UsdCtdr6EKUWJl90n25dvak5QG5VHITIPMWFL58LOZ6TOUL5fkP8UlSsn5bq /MZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vdN3MXYL; 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 t10-v6si3767426plo.210.2018.04.19.08.12.27; Thu, 19 Apr 2018 08:12: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vdN3MXYL; 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 S1752427AbeDSPLH (ORCPT + 99 others); Thu, 19 Apr 2018 11:11:07 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:44797 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751136AbeDSPLF (ORCPT ); Thu, 19 Apr 2018 11:11:05 -0400 Received: by mail-oi0-f68.google.com with SMTP id e11-v6so5142860oii.11; Thu, 19 Apr 2018 08:11:05 -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=msCmMuIQZ3GZLEpKiODwn/niBzeTCICdFo6/NetxU6A=; b=vdN3MXYLkKsEDU0zosagu4pyP1YWk22m4Xu6egYYt2+J3SLFZcE9LUy4BdyeD9wSgg g+FCIvTtCwtuRh4FJ4s5RfmnBny8C1W54gcESlZ2/6yFViJcDsSb66CBgN63N4NqpRuQ wkjWASDWMCQoTlsUhnqa6C0rcxpXRDvoxI/y+CIottzosGQC5sCqeo83D1Jy2KHeDKZD W6x41YlEj1CmIwJqgBLT4eP2Z1zfPp/FInVO+1Ypk0u7P+ODnhuCZEfHBfmXSOd6oavm WMqHVNeggLoKENfL3klm9NZi2JRGeEBh8AnHtjugaFabXRETTPXU7WLpl5JnsqWIuuiY U2ZA== 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=msCmMuIQZ3GZLEpKiODwn/niBzeTCICdFo6/NetxU6A=; b=D0QYAn/Txw10NMXuiYfy2itinPT9iClKEwaVTeggooNJrsAE3sm2vEFmTalWn24L8s 18zUmEYKztjoW9/dsTYbmWPHyWkTOmA3xo/mneYjHhSwS3tArYyH0rEg/s3CFYxu8KPq 795Wk6qccZ4/vLMztAFUL3/kZZ9McWZe83kBG6gUSySjEXvD/e8wlaXJoCR+ALW8Hbnw CYkc785SEScvlQxT/thoqaqv3H7OBSEVpDtjBWnzOTIaZOBPsGCOVbYGL3SvQ0q684Bo Hmerx4hW0b/c3sMlFAHqD7UfTqYjmpaPYxkizgVd2cO/ALvQpI1eaO8I2kr03nHNfFHO Eujg== X-Gm-Message-State: ALQs6tAEvXqRbS5u8SXOTBWzxZ6fUPYmQk9/1LxGzY/k1yE/+nadaCHr f7y9NZatoPkJuCX6uUwGLRg= X-Received: by 2002:aca:ed15:: with SMTP id l21-v6mr3488688oih.39.1524150664889; Thu, 19 Apr 2018 08:11:04 -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 y11-v6sm1983008oix.49.2018.04.19.08.11.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Apr 2018 08:11:04 -0700 (PDT) Subject: Re: [RFC PATCH v2 4/4] acpi: apei: Warn when GHES marks correctable errors as "fatal" To: Borislav Petkov Cc: linux-acpi@vger.kernel.org, linux-edac@vger.kernel.org, rjw@rjwysocki.net, lenb@kernel.org, tony.luck@intel.com, tbaicar@codeaurora.org, will.deacon@arm.com, james.morse@arm.com, shiju.jose@huawei.com, zjzhang@codeaurora.org, gengdongjiu@huawei.com, linux-kernel@vger.kernel.org, alex_gagniuc@dellteam.com, austin_bolen@dell.com, shyam_iyer@dell.com, devel@acpica.org, mchehab@kernel.org, robert.moore@intel.com, erik.schmauss@intel.com References: <20180416215903.7318-1-mr.nuke.me@gmail.com> <20180416215903.7318-5-mr.nuke.me@gmail.com> <20180418175452.GK4795@pd.tnic> From: "Alex G." Message-ID: <807002b1-ccb9-22c8-6563-ade7e44912ff@gmail.com> Date: Thu, 19 Apr 2018 10:11:03 -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: <20180418175452.GK4795@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 04/18/2018 12:54 PM, Borislav Petkov wrote: > On Mon, Apr 16, 2018 at 04:59:03PM -0500, Alexandru Gagniuc wrote: (snip) >> + >> + corrected_sev = max(corrected_sev, sec_sev); >> + } >> + >> + if ((sev >= GHES_SEV_PANIC) && (corrected_sev < sev)) { >> + pr_warn("FIRMWARE BUG: Firmware sent fatal error that we were able to correct"); >> + pr_warn("BROKEN FIRMWARE: Complain to your hardware vendor"); > > 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 either can handle the error and log a normal record somewhere or we > cannot and explode. There is value in this. From my observations, fw claims it will do everything through FFS, yet fails to fully handle the situation. It's rooted in FW's assumptions about OS behavior. Because the (old) versions of windows, esxi, and rhel used during development crash, fw assumes that _all_ OSes crash. The result in a surprising majority of cases is that FFS doesn't properly handle recurring errors, and fw is, in fact, broken. > The complaining about the FW doesn't bring shit. You are correct. It doesn't bring defecation. It brings a red flag that helps people get closer to the root cause of problems. That being said, I can just drop this patch. Alex