Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp337364rdh; Mon, 18 Dec 2023 23:42:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRAFpDbfD/zJ5ME9esFgTrMC7+9K4jBJi3Yld/OAii3tZxtbVISmHB2DIvY2cU4thDPIiH X-Received: by 2002:a17:906:2890:b0:a23:320d:36dc with SMTP id o16-20020a170906289000b00a23320d36dcmr675026ejd.3.1702971730949; Mon, 18 Dec 2023 23:42:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702971730; cv=none; d=google.com; s=arc-20160816; b=TgD6UzinkAqJZPzNCgO1mkVusmtZTXMKk9vmSEQ/+5gv9tXipudsSTdADRM21Y/ESh h+AMZfAaRPuXhzSand0Jzw/8KpvkyyTCLPZQXS+S8qeQ1vpUaF7lkbT4OzThWga3lqUV GEfVQWwMsdl7M1ltKIdEKtJIExMH7d/ghU5gOM5MEVqR4XrgCGe/L7uf4aQMRny4lU15 j8ggIG8bFKKeSV25Gq21wSq7dIW8LvvelGxVHW7RvEzvaRBp2idnaZKuPrWbsGtMg/ei tM5IkP4mjAdbgiClHextR1CU9cYtynqIx0ktOqupQFaPRR5MLvupOJDISDlAcPV3iTR1 0fpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :cc:to:from:thread-topic:subject:dkim-signature; bh=opgInH91xzBuf6eAk7Qumo1WNIkpgtAJc0dLMfhU/Xo=; fh=WhilTTZWuxq18hXbCgNQgpwdBPgZ2ilDnOXVYpitRb8=; b=Xb9OV5h9gW5FupCcMjfNI8JGJhzTFKsfeOdKDXKBV3Mb3DW5eg30a6n+UyPdETi98Z ZB9FR8cCEKEeQrzGeNFSoetSwb2dLinV2NSs6vE4tazwHFuIRehZ7xA2bHG4YrxCRv2M bIYufJNdKUwMKnYum59Eg7rWo9nayrJhu5xMk6h/A7cnMVo2H64cK6xlq2eFC2qLFR1D t+r/gLQAqYGYLCOAVEyiaZuUJ1mgis0Nk9SfRLNAZscJim3d1e8jGBydu/4WaV2BVT+K F3VfdBnnd7ZfuSFyq5hYZdBbpdjBuwuMOJgy7Qh30jXC34iYEAOqdyWI7DWs2fAh2pNh wFNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=AAY0YqJt; spf=pass (google.com: domain of linux-kernel+bounces-4818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n11-20020a05640205cb00b0055128b4d8e7si7969054edx.415.2023.12.18.23.42.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 23:42:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=AAY0YqJt; spf=pass (google.com: domain of linux-kernel+bounces-4818-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4818-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7D11A1F23423 for ; Tue, 19 Dec 2023 07:42:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4519FC2C7; Tue, 19 Dec 2023 07:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="AAY0YqJt" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp-fw-80006.amazon.com (smtp-fw-80006.amazon.com [99.78.197.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B9558BE2 for ; Tue, 19 Dec 2023 07:41:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1702971719; x=1734507719; h=from:to:cc:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version:subject; bh=opgInH91xzBuf6eAk7Qumo1WNIkpgtAJc0dLMfhU/Xo=; b=AAY0YqJt2fvLxd4EKcs34hfPKNQgUSw4NaHh0KycMCzGbOhvpoX3zA8Y G4iJb0EFxrj7Erq22oRQrw2RSfD3/oRSWXUmDP9JkuDNrRDs4acIBc4vX +5qe+3ipJZNecf+dQaLOo4FlVRZD0KapJvJn8bYSMKP4fHantvDiGHWsw c=; X-IronPort-AV: E=Sophos;i="6.04,287,1695686400"; d="scan'208";a="260343204" Subject: Re: [PATCH] kexec: do syscore_shutdown() in kernel_kexec Thread-Topic: [PATCH] kexec: do syscore_shutdown() in kernel_kexec Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-m6i4x-d47337e0.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2023 07:41:57 +0000 Received: from smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev (pdx2-ws-svc-p26-lb5-vlan3.pdx.amazon.com [10.39.38.70]) by email-inbound-relay-pdx-2a-m6i4x-d47337e0.us-west-2.amazon.com (Postfix) with ESMTPS id F0C0D60CA7; Tue, 19 Dec 2023 07:41:54 +0000 (UTC) Received: from EX19MTAEUC001.ant.amazon.com [10.0.17.79:58965] by smtpin.naws.eu-west-1.prod.farcaster.email.amazon.dev [10.0.46.114:2525] with esmtp (Farcaster) id e2b3b60b-ad0e-418a-bac9-9349b4714063; Tue, 19 Dec 2023 07:41:53 +0000 (UTC) X-Farcaster-Flow-ID: e2b3b60b-ad0e-418a-bac9-9349b4714063 Received: from EX19D012EUC003.ant.amazon.com (10.252.51.208) by EX19MTAEUC001.ant.amazon.com (10.252.51.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 19 Dec 2023 07:41:53 +0000 Received: from EX19D014EUC004.ant.amazon.com (10.252.51.182) by EX19D012EUC003.ant.amazon.com (10.252.51.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 19 Dec 2023 07:41:52 +0000 Received: from EX19D014EUC004.ant.amazon.com ([fe80::76dd:4020:4ff2:1e41]) by EX19D014EUC004.ant.amazon.com ([fe80::76dd:4020:4ff2:1e41%3]) with mapi id 15.02.1118.040; Tue, 19 Dec 2023 07:41:52 +0000 From: "Gowans, James" To: "bhe@redhat.com" , "akpm@linux-foundation.org" CC: "kexec@lists.infradead.org" , "maz@kernel.org" , "tony.luck@intel.com" , "sre@kernel.org" , "linux-kernel@vger.kernel.org" , "seanjc@google.com" , "mingo@redhat.com" , "pbonzini@redhat.com" , "tglx@linutronix.de" , "arnd@arndb.de" , "wens@csie.org" , "ebiederm@xmission.com" , =?utf-8?B?U2Now7ZuaGVyciwgSmFuIEgu?= , "Graf (AWS), Alexander" , "orsonzhai@gmail.com" , "bp@alien8.de" , "samuel@sholland.org" , "pavel@ucw.cz" , "jernej.skrabec@gmail.com" Thread-Index: AQHaLY9ODTyAGBa/a0igJR34RcFga7CwCs0AgAA3uIA= Date: Tue, 19 Dec 2023 07:41:52 +0000 Message-ID: <9ffa2c4d3e808feb2afa6f02f4afabf1cd674516.camel@amazon.com> References: <20231213064004.2419447-1-jgowans@amazon.com> In-Reply-To: Accept-Language: en-ZA, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-ID: <6F407D659EED834391131A368521AA34@amazon.com> Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 T24gVHVlLCAyMDIzLTEyLTE5IGF0IDEyOjIyICswODAwLCBCYW9xdWFuIEhlIHdyb3RlOg0KPiBB ZGQgQW5kcmV3IHRvIENDIGFzIEFuZHJldyBoZWxwcyB0byBwaWNrIGtleGVjL2tkdW1wIHBhdGNo ZXMuDQoNCkFoLCB0aGFua3MsIEkgZGlkbid0IHJlYWxpc2UgdGhhdCBBbmRyZXcgcHVsbHMgaW4g dGhlIGtleGVjIHBhdGNoZXMuDQo+IA0KPiBPbiAxMi8xMy8yMyBhdCAwODo0MGFtLCBKYW1lcyBH b3dhbnMgd3JvdGU6DQo+IC4uLi4uLg0KPiA+IFRoaXMgaGFzIGJlZW4gdGVzdGVkIGJ5IGRvaW5n IGEga2V4ZWMgb24geDg2XzY0IGFuZCBhYXJjaDY0Lg0KPiANCj4gSGkgSmFtZXMsDQo+IA0KPiBU aGFua3MgZm9yIHRoaXMgZ3JlYXQgcGF0Y2guIE15IGNvbGxlYWd1ZXMgaGF2ZSBvcGVuZWQgYnVn IGluIHJoZWwg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