Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5090372iob; Mon, 9 May 2022 08:24:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztulIRgddoLD4WCM3n2zdiNmXriZ5yykBxigYG8iwyZqwXJ38oSsYh1wOGL4wtDt+WD+3m X-Received: by 2002:aca:c182:0:b0:2ef:8fd4:7523 with SMTP id r124-20020acac182000000b002ef8fd47523mr8039854oif.148.1652109895758; Mon, 09 May 2022 08:24:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652109895; cv=pass; d=google.com; s=arc-20160816; b=UAIwBJKzBnzrZoj5wQyWATAHWoDYOPLD3TAAdrkLgDBIwLwiyczDRnXBw43REFuqMm z3bQvTdikumQ5EDSuvfVP/vnef1mxB/6AiHyuum2RYGvLZIZqiVPzzrmr4qt0ioLsaR0 dn4ZKmrKsu6Qe4GIDvvsDe7pTQK6EosVPF6meCSd+U+Zz6zWTMrJKI+UkRP0eFKYPttB +NDNuA67i1TWwMmDppOuUZQM975jvCYsNBby5Co7Vys/FZ3k5jBejbIY2QuPA5p7NdmZ kxG6u6VqzerHwRgHXlqTrt16gIj/90h7T1LkeiyHm6bRbEcpI49vtTiqqIQ8v+Z50ZfK /soQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :suggested_attachment_session_id:msip_labels:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:dkim-signature; bh=MlXVxI2FnzGbvIu/CWm8gKBJ3ZWwolqRQs9xSfL0o60=; b=cQL6Wtfk4Fj7faG7drVAVFcLswzI9e23VOv51DRX2SlIHhLfEBFweqDrmB4Sko1fSb byK9rxosG7G8HFc2/rAr6inYtNpo6lkLHy4WGlxnATkhX4TW5u7zRphMN9I4sLpSGPhO MZWBWflBX4Lu0MWcByf/hLOdbCIvsVDou8GICfRJq3KrzZAdKwT9uovsczt+VYfRcnrL eBXJ6uYdRcklmcc+DajH78KTs8LaWC9Jtwf5LLodP5rENxY+CO29qFcZ+k8l8Y78+X9F xndsDjGcwCfYZo9IyKmEjKhWxx4R6+bZCKM2hJxVVsTRB6oFZcxrcrCXugRO5YuZdyLD SLBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=g0rNJy7R; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b="h3jSOTQ/"; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w5-20020a9d6745000000b00605f1ee2989si11289931otm.213.2022.05.09.08.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 08:24:55 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@fujitsu.com header.s=fj1 header.b=g0rNJy7R; dkim=pass header.i=@fujitsu.onmicrosoft.com header.s=selector2-fujitsu-onmicrosoft-com header.b="h3jSOTQ/"; arc=pass (i=1 spf=pass spfdomain=fujitsu.com dkim=pass dkdomain=fujitsu.com dmarc=pass fromdomain=fujitsu.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fujitsu.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 316CD22240F; Mon, 9 May 2022 08:17:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238169AbiEIPVb (ORCPT + 99 others); Mon, 9 May 2022 11:21:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238121AbiEIPV1 (ORCPT ); Mon, 9 May 2022 11:21:27 -0400 X-Greylist: delayed 63 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 09 May 2022 08:17:32 PDT Received: from esa5.fujitsucc.c3s2.iphmx.com (esa5.fujitsucc.c3s2.iphmx.com [68.232.159.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C89D121E9C6 for ; Mon, 9 May 2022 08:17:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=fujitsu.com; i=@fujitsu.com; q=dns/txt; s=fj1; t=1652109453; x=1683645453; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=xS2ZDM92CvkpLSnJq7Jznk26/ZMDw29ra/drEifi+4M=; b=g0rNJy7RqSeXDRroEkuveipYUEuouh9/UBFwEwbZgm9y79pPIifnn5Nb 0l8oJEy28P15Xq3NpGpnf6iZLfcvO+XwOznu871rhqkkNV/1ps7SH9MCd 6Z43UwE2jV3oGTVnM2zpj71LplPP9PRADiOXDus5LS3xH0mdVIDmdG8wQ kae56cDdFtlj2Bl222w4DMvDnVvaHa8p6edYE1F0kcb2qthwO2Vy75a+V WY7DAlHLBtVygswJN94yljNLVqmonMRQxPcGOxVkjb+oTJ7zduDWdjD5r Rn+tCykOM+b17SUsn0tn69lOPfCaxy8GVmjPxxoWdSs2G8zQNMIn4nJFg w==; X-IronPort-AV: E=McAfee;i="6400,9594,10342"; a="55509155" X-IronPort-AV: E=Sophos;i="5.91,211,1647270000"; d="scan'208";a="55509155" Received: from mail-os0jpn01lp2110.outbound.protection.outlook.com (HELO JPN01-OS0-obe.outbound.protection.outlook.com) ([104.47.23.110]) by ob1.fujitsucc.c3s2.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2022 00:16:12 +0900 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KP0CFKYRNmTXTmwL9JG0oC4GQgkB/pl4TAXCxaquTQi2mpfikgwQYy0i8q2i6vPeVpaH2GuK7gBuR63t1JW1LUNFxAjNVersbC9h8TdiBjflezHpU53Q82lnXPLv4wirYyJRKEuA73ZQCrb57ZakIuUVwqcJ+JrPKcYeATrnxhN28xpHXiJO2rffSK1Jw5uxRkQfFPudZpwdXRfmJr8fD9Fp4hSxcYDf9d2dYPWTHymwX3/ZrvUs3NQQnno5t2u1Tkf53IqwaAxjVtkhkHSIHVvIL8BkcyVOYUH1NXbXYQQxKeT5PLbIV2LxAq3TnGTE4TncUGKkynpMGLIjrmygdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MlXVxI2FnzGbvIu/CWm8gKBJ3ZWwolqRQs9xSfL0o60=; b=H+1Tk6iUFRaot1orKC1GRgl1SqDJXk5D2hXPcq48LhPh7gXvRwAju3ZJFbMzj6OjqSUOxrUqwP5QxUHlUtIwQf9Sbv11I8FuhMTDnHm9jTlJ8XnYR8eRZuGiGabL9xVnbfLrXmvTitKevsolEAyiCz8BKyZgayo7SIJbDtYciudVYTh5smc2WUV4/Xf5hw9rGx7ax2cfKXWimUANarDTZNV/KntgpM+JGW52DuY0ow3ik4XUuMIis57FWFq1Ij/VGkKE6W9VYUcyujJ6hW+y+zp3dDojEsR4nIytU/riRvA36esOaKgCTxTbJmvx932z0jUkCFfaf4RSuOsaN4+Itg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fujitsu.com; dmarc=pass action=none header.from=fujitsu.com; dkim=pass header.d=fujitsu.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fujitsu.onmicrosoft.com; s=selector2-fujitsu-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MlXVxI2FnzGbvIu/CWm8gKBJ3ZWwolqRQs9xSfL0o60=; b=h3jSOTQ/49e3CdAkGQmnT0kRfsZxVeHwnmHFjQIrg5SEwgadX6SIM218KZ4TTXnCicgDCVAuNJ5K36tGTV1PjiR6VVO4vPyaEXnMWkJYWxSMBENMBLbvoa90+8Vm3enWQ2GtCp7sSMFxA1XVsdggp5hIBlPRt0gWqyL7U6Qy1YM= Received: from TYAPR01MB6507.jpnprd01.prod.outlook.com (2603:1096:400:a2::7) by TYCPR01MB7578.jpnprd01.prod.outlook.com (2603:1096:400:f3::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.18; Mon, 9 May 2022 15:16:09 +0000 Received: from TYAPR01MB6507.jpnprd01.prod.outlook.com ([fe80::dd9:8ea4:f7a3:bba1]) by TYAPR01MB6507.jpnprd01.prod.outlook.com ([fe80::dd9:8ea4:f7a3:bba1%5]) with mapi id 15.20.5227.023; Mon, 9 May 2022 15:16:09 +0000 From: "d.hatayama@fujitsu.com" To: "Guilherme G. Piccoli" , "akpm@linux-foundation.org" , "bhe@redhat.com" , "pmladek@suse.com" , "kexec@lists.infradead.org" CC: "linux-kernel@vger.kernel.org" , "bcm-kernel-feedback-list@broadcom.com" , "coresight@lists.linaro.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-alpha@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-edac@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "linux-leds@vger.kernel.org" , "linux-mips@vger.kernel.org" , "linux-parisc@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-remoteproc@vger.kernel.org" , "linux-s390@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-um@lists.infradead.org" , "linux-xtensa@linux-xtensa.org" , "netdev@vger.kernel.org" , "openipmi-developer@lists.sourceforge.net" , "rcu@vger.kernel.org" , "sparclinux@vger.kernel.org" , "xen-devel@lists.xenproject.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" , "bp@alien8.de" , "corbet@lwn.net" , "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" , "d.hatayama@fujitsu.com" Subject: Re: [PATCH 24/30] panic: Refactor the panic path Thread-Topic: [PATCH 24/30] panic: Refactor the panic path Thread-Index: AQHYWooYRc5K2GmPwUyqsvUuWmK42q0WuNLD Date: Mon, 9 May 2022 15:16:08 +0000 Message-ID: References: <20220427224924.592546-1-gpiccoli@igalia.com> <20220427224924.592546-25-gpiccoli@igalia.com> In-Reply-To: <20220427224924.592546-25-gpiccoli@igalia.com> Accept-Language: en-US, ja-JP Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Enabled=True;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SiteId=a19f121d-81e1-4858-a9d8-736e267fd4c7;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_SetDate=2022-05-09T15:16:07.522Z;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Name=FUJITSU-RESTRICTED;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_ContentBits=0;MSIP_Label_a7295cc1-d279-42ac-ab4d-3b0f4fece050_Method=Standard; suggested_attachment_session_id: 7401546d-aea9-ffcc-3451-b3d59ad5888b authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=fujitsu.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cb59992a-950f-4d9b-bb1c-08da31ced84d x-ms-traffictypediagnostic: TYCPR01MB7578:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /EPiPQ1iE6MAZZ3/WceQFfMaYOr3hQFI/B3njzUVTDpd2qqrdleVcVSpf2FVTxNNtbalFncurAfPSJh1TGekcVWhzGdngBQ1+1y4fpWxXGD4YbqP27hsV7t4f7edAJIa9NqvJ6n7aibYfCzJx3iCrgiakRvsQh+iG5l9bKWYIK9lR7U4sye5Ffr14bJM2DpODKZvgppK8wyMgyMnjj9zz9lKGpjtILIclyn9Cfxq7iI638lUEA+mX4g4zSn1iKbKIJuWOJ3wgQ4jYqCBsSjpaxF1HlO5mWp7q0WJMtlCD0BjB0ch6tZlY4AQFxnYjeUGNuxeoCOm1YjAXRB9jem+BLs2lLj2CUbfNKym9+HxzC2Pv6xmsq0K3lYUsZZPcvE6+2d0lcxXWKVWm7YLPqOKlRiwnw4OI2vDsNJI4/8LrtAiqLYsnmqIlUTgnHPK7io6xN9jXchkeV3Q9sjEe4hhdahLh1dwAB8LYIGr617lu+R8whOHRJa4M5tWuF2EvZ62teL7MYNxzCHbmiACl3mgo5ShSQ0DDxRTasN1jxNptwPdxEF7mHZIjH/caTRYuN3gomF2nisqKzgGg4spIBbsN2pZXB2htS0vpAAc+pFjcEK/Tyjvjsahu/O5fdELQCKYR+Lwd1Bwj2cvdOJquN0ygm/3FOS0+8mAEr4IZfbABNALU/lSCwrulCmPjai/zOTT7PqtftdxjvSq3wSowSe8pQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYAPR01MB6507.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38100700002)(5660300002)(52536014)(85182001)(86362001)(38070700005)(83380400001)(82960400001)(122000001)(508600001)(186003)(6506007)(7416002)(8936002)(2906002)(107886003)(55016003)(71200400001)(7366002)(26005)(110136005)(8676002)(4326008)(9686003)(54906003)(33656002)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(316002)(7406005)(7696005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-2022-jp?B?Q2ZoaFpvc0xSMVIydW9vRDUvemw1eXFIbUlmTmRuc0dEdVEwZzdFcTlC?= =?iso-2022-jp?B?MnBtd2NvZ2tkTVRnYzZHdDRGSi85MXhRNGhoV2hSb2daYm1hTm94RXJx?= =?iso-2022-jp?B?THdsTjhIUDg4c21tTzdSYzZ0c2l3VTFtdTRmWTZyM3pMV1BZV1E4YnF5?= =?iso-2022-jp?B?KzNibHMwSGUrQ3RTK2tXemw5VEZQN1FaUXhONTRHSTBWU2FqSEJwLzRQ?= =?iso-2022-jp?B?N29OTmV1bkIrR1huOVN6L3hBaURRRm9Wb21vMXlwNjJiSnRzbFNBbDJS?= =?iso-2022-jp?B?Kzgrd1p5bXBESGdrakpDUFdIa1pyNTdRRFp6RnE0YWpEcG4zL1RtY2tk?= =?iso-2022-jp?B?aml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HVra2dTTFhaTzRFSmh1c0taRERB?= =?iso-2022-jp?B?YTdqeGI3dWRDYTYzR1lYcTF1T3dHZ1RGWXYza1cvM0lxUGtldDhmUVZv?= =?iso-2022-jp?B?c1dJelE5d1hSV3hybS9VUVN4aEh0aTRPSDd3OElVZVdaSUlxY2wwd2lR?= =?iso-2022-jp?B?Slh6TFJjMXMrN25OaG9ibS9hQWZkYmNVb0RFZ1d0aFZLcU5lNUpzV1lX?= =?iso-2022-jp?B?YjBEZlRDZE1CeGMyaWRMa1dvT05rVW9RUG1WOUl4aHRkenoyTjFXaitY?= =?iso-2022-jp?B?YW1oQ001bUIyRFJYdUJTdzlKekt0WndWSEJpaXU5dzhkVEpOb3p4TzIr?= =?iso-2022-jp?B?MUdoTXV6ZVIycy9nblliVHY4clRkRTNlcVNwdWhhQWM4UlBFTDZBYmw0?= =?iso-2022-jp?B?ME5aQThQQT0=?= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: fujitsu.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYAPR01MB6507.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb59992a-950f-4d9b-bb1c-08da31ced84d X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2022 15:16:08.8030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a19f121d-81e1-4858-a9d8-736e267fd4c7 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: q5IRFdj2tV7IAxoGvUQ3KW79KqhlLrLxHCiqQH9LHk/aZve0Mz95uDPlSCWwe/uJV5hchYymXmHVnJXclB022HSy1r9hKQtbFufztomtIsU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYCPR01MB7578 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sorry for the delayed response. Unfortunately, I had 10 days holidays=0A= until yesterday...=0A= =0A= > .../admin-guide/kernel-parameters.txt | 42 ++-=0A= > include/linux/panic_notifier.h | 1 +=0A= > kernel/kexec_core.c | 8 +-=0A= > kernel/panic.c | 292 +++++++++++++-----= =0A= > .../selftests/pstore/pstore_crash_test | 5 +-=0A= > 5 files changed, 252 insertions(+), 96 deletions(-)=0A= > =0A= > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt=0A= > index 3f1cc5e317ed..8d3524060ce3 100644=0A= > --- a/Documentation/admin-guide/kernel-parameters.txt=0A= > +++ b/Documentation/admin-guide/kernel-parameters.txt=0A= ...snip...=0A= > @@ -3784,6 +3791,33 @@=0A= > timeout < 0: reboot immediately=0A= > Format: =0A= > =0A= > + panic_notifiers_level=3D=0A= > + [KNL] Set the panic notifiers execution order.=0A= > + Format: =0A= > + We currently have 4 lists of panic notifiers; bas= ed=0A= > + on the functionality and risk (for panic success)= the=0A= > + callbacks are added in a given list. The lists ar= e:=0A= > + - hypervisor/FW notification list (low risk);=0A= > + - informational list (low/medium risk);=0A= > + - pre_reboot list (higher risk);=0A= > + - post_reboot list (only run late in panic and af= ter=0A= > + kdump, not configurable for now).=0A= > + This parameter defines the ordering of the first = 3=0A= > + lists with regards to kdump; the levels determine= =0A= > + which set of notifiers execute before kdump. The= =0A= > + accepted levels are:=0A= > + 0: kdump is the first thing to run, NO list is=0A= > + executed before kdump.=0A= > + 1: only the hypervisor list is executed before kd= ump.=0A= > + 2 (default level): the hypervisor list and (*if*= =0A= =0A= Hmmm, why are you trying to change default setting?=0A= =0A= Based on the current design of kdump, it's natural to put what the=0A= handlers for these level 1 and level 2 handlers do in=0A= machine_crash_shutdown(), as these are necessary by default, right?=0A= =0A= Or have you already tried that and figured out it's difficult in some=0A= reason and reached the current design? If so, why is that difficult?=0A= Could you point to if there is already such discussion online?=0A= =0A= kdump is designed to perform as little things as possible before=0A= transferring the execution to the 2nd kernel in order to increase=0A= reliability. Just detour to panic() increases risks of kdump failure=0A= in the sense of increasing the executed codes in the abnormal=0A= situation, which is very the note in the explanation of=0A= crash_kexec_post_notifiers.=0A= =0A= Also, the current implementation of crash_kexec_post_notifiers uses=0A= the panic notifier, but this is not from the technical=0A= reason. Ideally, it should have been implemented in the context of=0A= crash_kexec() independently of panic().=0A= =0A= That is, it looks to me that, in addition to changing design of panic=0A= notifier, you are trying to integrate shutdown code of the crash kexec=0A= and the panic paths. If so, this is a big design change for kdump.=0A= I'm concerned about increase of reliability. I'd like you to discuss=0A= them carefully.=0A= =0A= Thanks.=0A= HATAYAMA, Daisuke=0A= =0A=