Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp150503imu; Thu, 20 Dec 2018 18:58:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN6uO3r5wK3MsevrfagX6YCaolPLHcaf7LhdOpRi01tYZeL7Yn9Cu+z2BlaSuXO/L62ZcPUZ X-Received: by 2002:a17:902:f24:: with SMTP id 33mr757903ply.65.1545361113852; Thu, 20 Dec 2018 18:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545361113; cv=none; d=google.com; s=arc-20160816; b=zCjzdT1oDivMyq1GhzUFOmTl/020aRVQv+falbHFnoz6y3f0TmMDpOzPpfaxUQVXdf O8eyx6L0AbTps+DqK9+o8m6H3kRVoLsDP5k8cM7D4uF6hIaESyQ626X7KRyD+cg5wUh7 N3WPhbNNvCPCJLLBt601x8vgJs0kdoQ3bJx7e3a1qFCqUl4XfPLKvGPYtu06gCO/STA2 +1+6zefTu9H3hbdVxcotL7a7D5MmgoVccES5jDyxaE7xL4M88VTlToXl2l8daCLYdPjT 9i5LgK66Aa3vYlfyrS5EViik4dT5BLxo3+f6Mn5irH5xsrD6Wh5OS2pH0l1k79MfTpFi 3vaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mftgWIqwkA74Fb2eAeGMl9cRoZ47cfNRVpnzIE2W/Jo=; b=CVCVGCSk5hqLrg2kAelrkV/UDQ3Zy5iko8NeWN1S8gn6tmRSFgdu4zqZh1YSnOr/Et 3Lz4AZNi9b5I1ek3JU4hqxzjNIc7e3plz/KXS1eDpOr75JwoXF/1RRXLGFgCrWLNy8y6 bqwj0PwVGZHUg1AHPramf+3AvnmlGReNey/4lfOaxlaclfaWa9bAaUIrLstoihzmouWt GQrcZlx20CZzY1fIzBHq5GMIuo348S3fb1ege/dv39bGpW0rcIPOPx8xbLZb3ZTNLFxW KYLF8Y+WHM9NQ86aAmnCawXoR4exSk+D2HkItZs3ircWYXWubPs/asuf/xXtxW34iwYA Y4PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FasCUNV2; 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 w2si8199589pgh.565.2018.12.20.18.58.17; Thu, 20 Dec 2018 18:58:33 -0800 (PST) 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=FasCUNV2; 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 S2389055AbeLTS2y (ORCPT + 99 others); Thu, 20 Dec 2018 13:28:54 -0500 Received: from mail-vs1-f67.google.com ([209.85.217.67]:34550 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389045AbeLTS2y (ORCPT ); Thu, 20 Dec 2018 13:28:54 -0500 Received: by mail-vs1-f67.google.com with SMTP id y27so1705370vsi.1; Thu, 20 Dec 2018 10:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mftgWIqwkA74Fb2eAeGMl9cRoZ47cfNRVpnzIE2W/Jo=; b=FasCUNV2moymoleoBh+7LFxCpNC0170iHFrO4mG+vAwI7aIMUOqvsvlLIRTU6DrMGw I80do9WSKwmsGtwJTu2QOM/NTNpCbrUycbE8/Hf7kaYbnVj7ldXc9cdHtKQIMfidj/W6 vDNq0UbLWLbVCj9HAHDJAnQX7TGB1LKiHtlzSe8BM9eOVX0EoRxeCtYEH/6FUQ+O42sY g4BUkIxFoWuzHlxyT2zVYJSZGzoKWkJsZ994ZeXFO0x0gPhmCjTtxvZuzc9zKOISs2YY ux57clVFghImPdPEaIyFwCDb3lnxRJ4427glY2MqCb+QnIDNTG0zqCSC+4aHKcf9oiHg Mjww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mftgWIqwkA74Fb2eAeGMl9cRoZ47cfNRVpnzIE2W/Jo=; b=YxrHcA5senmHk+gHle4L1r2GC0eg9vCkXMTVkx63hKK2GWtm/lHa2ZlYmDOrZhVK4V afmto6FAjl6tc0Igz4itQTsPt5CjBHPWwGOPLR2tDooA18lY2krNQNLHR3ksjCi7sCMe yKQWu9oxz4rB05bgkfqZ9/ZCtuIPq3Ya1d5iQpmsbufQ4sOqFluRG0+ZDNasT1RE9TBc 21nYD7bChZEqgoYrPUlIb1zSzWYm9pgeyTQm9CiTzv6c951JIkHRDo4+H/UEaSkdc980 y2NcAbSKXmknXVnND9kKjOnXZEZPcsSl7WnoEvnev75bN46FCCqYqMOd28IPEn59jNLN w7SA== X-Gm-Message-State: AA+aEWbSj16z/c2i5fNLITzppgwkmx83nCb9oXcG/UzGqvrmsdnh8J56 HfvwqQ8bY/oowzdQnuk8UhJ4kRZGdOyYpdn0rM4= X-Received: by 2002:a67:e242:: with SMTP id w2mr6146882vse.134.1545330532690; Thu, 20 Dec 2018 10:28:52 -0800 (PST) MIME-Version: 1.0 References: <1545238252-79630-1-git-send-email-darcari@redhat.com> In-Reply-To: <1545238252-79630-1-git-send-email-darcari@redhat.com> From: Tyler Baicar Date: Thu, 20 Dec 2018 13:28:39 -0500 Message-ID: Subject: Re: [PATCH] ACPI/APEI: Clear GHES block_status before panic() To: David Arcari Cc: Linux ACPI , Lenny Szubowicz , "Rafael J. Wysocki" , Len Brown , Tony Luck , Borislav Petkov , "Eric W. Biederman" , Alexandru Gagniuc , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 19, 2018 at 1:33 PM David Arcari wrote: > > From: Lenny Szubowicz > > In __ghes_panic() clear the block status in the APEI generic > error status block for that generic hardware error source before > calling panic() to prevent a second panic() in the crash kernel > for exactly the same fatal error. > > Otherwise ghes_probe(), running in the crash kernel, would see > an unhandled error in the APEI generic error status block and > panic again, thereby precluding any crash dump. > > Signed-off-by: Lenny Szubowicz > Signed-off-by: David Arcari Good catch! Tested-by: Tyler Baicar