Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1988856imu; Sat, 22 Dec 2018 09:35:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN4EuIL066ngmWxW4uOZMFNMYW6xvfJPJaUeSkV3fyziDfvie6U2Zjwj95H75mVFJqakIYUm X-Received: by 2002:a17:902:4:: with SMTP id 4mr7250812pla.20.1545500131847; Sat, 22 Dec 2018 09:35:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545500131; cv=none; d=google.com; s=arc-20160816; b=b9LATd1lf40i8amRoYuanuGTN6QuEFNFHfFZ0bdmerCisrrMVxlPLOv28XKufJnfod jcUpckIBPzHsLtE58szIX8cbmwrHHpJpN4AjFfvCXCZDhnEkhFG34gMLEB9vOn575mUP VCKf5MqSedfGAmNIBjmrwlO2swlyZ5twlTIZ4pWVU12HZaUruoJ0GuOGg1DM7TfEfauu CL6btBRDa/8RxX5tUmAgOiGgCRqztW9IvDx7l+5qJRNnFmqH921YnLoS4kV7aCqmyHRG yIEIr8DXH5r6kIduqg5fmNcoPOnZT5b1Dd0pXpkCohcKbRD+k9IIvbDXphiecrSvkOV1 978A== 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:dkim-signature; bh=Ae2sv8S/OzHcQlqPR29Y8PNqNGcrO0lS1WfbgYt1NSs=; b=Czo+55fb/LZL4+hjAj5uOxXw/dKo/t00GXBvg62a75H5bQcKlivqLtsXRvA20mYCm4 0XwesyLMELzKN37aN4LwdbJ9Sw9ogZnyRSooJk7fBAypeMOubRylBj3d/6C6fF8CEiSF 35Zux2Q40ihRoosKd52rENAdr+gGjdFwK8VLVdxy2UEAciNiRuNknPKTf+tKO4Bf96WY sN3sZ3QPbsHl5ssvcrIWFLrjRQyZxhVZi29UxLCgiwfK3lJSFzV5orc3z3u1/P2X2bwJ wmTuMo4B97P1X2lFCAn9vm/RI0KUagl9NZ3ilnvNJqK0cjRfX0Apiar0aiI0MNnpomJQ SNVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ISzQgvg5; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si22521365pll.187.2018.12.22.09.35.16; Sat, 22 Dec 2018 09:35:31 -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=@alien8.de header.s=dkim header.b=ISzQgvg5; 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=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391527AbeLUS7o (ORCPT + 99 others); Fri, 21 Dec 2018 13:59:44 -0500 Received: from mail.skyhub.de ([5.9.137.197]:51244 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731021AbeLUS7n (ORCPT ); Fri, 21 Dec 2018 13:59:43 -0500 Received: from zn.tnic (p200300EC2BD180001911F64A521FA286.dip0.t-ipconnect.de [IPv6:2003:ec:2bd1:8000:1911:f64a:521f:a286]) (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 D88EC1EC0987; Fri, 21 Dec 2018 19:59:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1545418782; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=Ae2sv8S/OzHcQlqPR29Y8PNqNGcrO0lS1WfbgYt1NSs=; b=ISzQgvg50f+2Y9UFmrd1VPpY8qNrivf8N+a5m09e9Y+3XUQh/4TfpqsGyuxmiIpqpm5lr1 8QOZdjCMDsaIpmXshVC4M7+ki9Q48/1YGr3QGffE528ZzIxqUbydQMxf7VHZ31DPdq19o9 nB1WzR1tVoRpWxA5HV1UTG9ZhlYee1g= Date: Fri, 21 Dec 2018 19:59:37 +0100 From: Borislav Petkov To: James Morse Cc: David Arcari , "Rafael J. Wysocki" , Linux ACPI , Lenny Szubowicz , Len Brown , Tony Luck , "Eric W. Biederman" , Alexandru Gagniuc , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ACPI/APEI: Clear GHES block_status before panic() Message-ID: <20181221185937.GL1325@zn.tnic> References: <1545238252-79630-1-git-send-email-darcari@redhat.com> <20181220192447.GG31403@zn.tnic> <1691682.ckC9UJvgEr@aspire.rjw.lan> <0bb80989-4fe5-c320-8ffc-0f39502110c9@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <0bb80989-4fe5-c320-8ffc-0f39502110c9@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 21, 2018 at 06:52:20PM +0000, James Morse wrote: > Do we need to ghes_ack_error() too? That's GHES v2 AFAICT. > With the location cleared the new kernel will never find the records, and > firmware can never re-use that location because it wasn't ack'd. The upshot is > RAS records can't be generated for the kdump kernel. The acpi spec talks about > use of the memory, so I don't think its fair for it to use this to disarm a > watchdog. > > I think we can live with this as the kdump kernel isn't going to handle RAS > errors for the bulk of memory anyway. Usually, handling hw errors is always better than not but the second kernel can't do anything better in that respect than the first, right? If it panics, it panics - no matter the kernel. Generally. Therefore I think the role of the second kernel should be to be as resilient as possible to hw errors - like, not even see them :-) - dump the memory of the first kernel as quickly as possible and reboot for analysis. IMHO, of course. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.