Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5266160rwb; Wed, 17 Aug 2022 14:25:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fkMmGhTzEvdcgzE48ziFDe7yy70OtQ344IRq9zVWpmjBVWhMQMSD6bKRTfoX8K1Z8fgdm X-Received: by 2002:a05:6402:3485:b0:43d:7fe0:74d1 with SMTP id v5-20020a056402348500b0043d7fe074d1mr24669939edc.413.1660771511647; Wed, 17 Aug 2022 14:25:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660771511; cv=none; d=google.com; s=arc-20160816; b=wEvpPiOBbbrjEmpT1zp7VlEhnsH2UsjM3PCr6Coao3EbOVc4Sx5eO5hwZIQrs6YSMW MJ2/Q/VQ9yEpMFKf5UZiHZXcWgF7B6twudPKohuJ7Q5XLZVpZSOl7yDivA2n+8MdhrRf Qr5jAgFoG/wbS3VAgdhNzFld3wdwmQe322L7VfGBN0zoTDaDPLmhmGcRfB78b8bIbLCS pfvde5tBbl5dYbCIJHCxDcdVy+Jqv386ez61Tr/uxqPpUqANKYS8AOwlrV/iEz9osDep b9hkilPVPLzvdq6ytD1Ko3R2ARReake55HTqUoK77cxzkICrZL752tTieZEblc+YcUd3 4V4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uZECItNhJdPNjavGxubtrXL0+yXBikF6DOM/KqS2u80=; b=Ch/ijj4cCDCOtBygbVe+4GvfnmgKR4TPmX+sYhae1mJpZ3djSvigwmnYhk8yqq1Z0B VyPJAmXD7PIqLceDmh5CpP23lYdPwRqImN1nwHz14Bqi2/Q9Sy3FrIaV9QLG3WtL4l+h 9BzYeVbcwNvnQFtjHTiTbusAc/btr/ACIWyspbSLI5J+hbLXTat1HCnXPpYNUKqel/qW rv0RRKGOd/QGkeZD9fTR9uGoqID4H9H+PLKGb5eldC+PuSMXa9D8ZNvPd5s6T7Ovnkrz YZVm4/wiL2QOchJcgpagpZw6jl5z5TYb5XNi3g86Mw2FzxlHRxDnuUFAsCIu3Ggn1r9r s3jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="b7hT+f/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kd9-20020a17090798c900b00738373b8767si8212338ejc.489.2022.08.17.14.24.44; Wed, 17 Aug 2022 14:25:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b="b7hT+f/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242226AbiHQVCX (ORCPT + 99 others); Wed, 17 Aug 2022 17:02:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242227AbiHQVCV (ORCPT ); Wed, 17 Aug 2022 17:02:21 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DA53AB427; Wed, 17 Aug 2022 14:02:19 -0700 (PDT) Received: from zn.tnic (p200300ea971b98b0329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:971b:98b0:329c:23ff:fea6:a903]) (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 751AA1EC050F; Wed, 17 Aug 2022 23:02:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1660770133; 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=uZECItNhJdPNjavGxubtrXL0+yXBikF6DOM/KqS2u80=; b=b7hT+f/JsqrlDXJwGOmfuimkYKB0/oh33XvT0jx0BM2Bc4a4tijQHcHePAxE0BR9Fy9hu+ 8Fy2/lMRzSkD3Pm0ODl6fqBgv8Ov0DWOXe2bQ/wNfgDKKHKkgY8Z7dpY0ES764epXpTN62 dh5wMxHfa75JuW2trzFMuEyQ3QGfiG4= Date: Wed, 17 Aug 2022 23:02:13 +0200 From: Borislav Petkov To: "Guilherme G. Piccoli" Cc: akpm@linux-foundation.org, bhe@redhat.com, pmladek@suse.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, netdev@vger.kernel.org, x86@kernel.org, kernel-dev@igalia.com, kernel@gpiccoli.net, halves@canonical.com, fabiomirmar@gmail.com, alejandro.j.jimenez@oracle.com, andriy.shevchenko@linux.intel.com, arnd@arndb.de, corbet@lwn.net, d.hatayama@jp.fujitsu.com, dave.hansen@linux.intel.com, dyoung@redhat.com, feng.tang@intel.com, gregkh@linuxfoundation.org, mikelley@microsoft.com, hidehiro.kawai.ez@hitachi.com, jgross@suse.com, john.ogness@linutronix.de, keescook@chromium.org, luto@kernel.org, mhiramat@kernel.org, mingo@redhat.com, paulmck@kernel.org, peterz@infradead.org, rostedt@goodmis.org, senozhatsky@chromium.org, stern@rowland.harvard.edu, tglx@linutronix.de, vgoyal@redhat.com, vkuznets@redhat.com, will@kernel.org, linux-edac@vger.kernel.org, Dinh Nguyen , Tony Luck Subject: Re: [PATCH v2 10/13] EDAC/altera: Skip the panic notifier if kdump is loaded Message-ID: References: <20220719195325.402745-1-gpiccoli@igalia.com> <20220719195325.402745-11-gpiccoli@igalia.com> <46137c67-25b4-6657-33b7-cffdc7afc0d7@igalia.com> <7f016d7f-a546-a45d-c65c-bc35269b4faa@igalia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <7f016d7f-a546-a45d-c65c-bc35269b4faa@igalia.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 17, 2022 at 05:28:34PM -0300, Guilherme G. Piccoli wrote: > My understanding is the same as yours, i.e., this is not possible to > collect from vmcore, it requires register reading. But again: if you > kdump your machine today, you won't collect this information, patch > changed nothing in that regard. Why won't you be able to collect it? You can certainly access dmesg in the vmcore and see those errors logged there. > The one thing it changes is that you'd skip the altera register dump if > kdump is set AND you managed to also set "crash_kexec_post_notifiers". What your patch changes is, it prevents s10_edac_dberr_handler() from logging potentially important fatal hw errors when kdump is loaded. If Dinh is fine with that, I'll take the patch. But it looks like a bad idea to me. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette