Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4842BC636CC for ; Thu, 16 Feb 2023 18:12:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbjBPSMm (ORCPT ); Thu, 16 Feb 2023 13:12:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229817AbjBPSMj (ORCPT ); Thu, 16 Feb 2023 13:12:39 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51CBE505EF for ; Thu, 16 Feb 2023 10:12:38 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 2E4A35C010D; Thu, 16 Feb 2023 13:12:35 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 16 Feb 2023 13:12:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1676571155; x=1676657555; bh=bS ftew9gDz0nxHH+J/ZHM8BKvNdoOfwEqV6015Wt6UM=; b=U5UKHZUQDc1987amT/ 6c7+8Je0d8GW+Gf4YZipuK0UHqck2Q4Nw9wZo/0HXhJle83a27m0dKX4gOUipn/Y 19BNTRmwdflnQ+gJnyZuu3CjUeLIdVBenCyn4qpN8cTIj9X5X4NxUtFVIkKwwvOf xU9cF4WdzSgiT2oPJa4pnYANuGCmdhu3uSEqDWw23UsA/rEJ8YkBu8GRdwJBzTSj kRk6QOT0rUUGfSird8dvn7MJxpQ/iGRAooiCnVjX+A+EubadC1DBGfgj4muoD/Db wPRZyl6vyI5ba3pSTUVPx3/G5m1epxKjDUjxI4ZfvkRvKZKyk80tMo0QAtN5i4n8 4oMQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1676571155; x=1676657555; bh=bSftew9gDz0nxHH+J/ZHM8BKvNdo OfwEqV6015Wt6UM=; b=Ho955abK3qFL6x04/8LI7suHmH9zzr19Bnf5ALDQsSbv MzkIQXKf54e/1yiNW7QbqvcLPJHGZ91Q439eWrkDmK7neRquyWiabXsnF03y3kmW hLyQympzdXeJSRKr3/HLT2D1c6s3Anpp5L9IemqBs1bd3SqKOhVQQMJSApmPZ3/9 Hf+AUrmWWB1nkA2BFBgG9B1ieRL34RoVpBm2+jK1e0v+8p70ZSTlgMuQIL6DcAaL 9X2pvATHQnBjt90mDLdGmi0Qq++xJrGyDhyf1WDvKK+DPYxnNfrKcoT+rlejt0z+ rsZ/kfR5XwcrKM+39lAjURnf+0/W3HJ3gYrzo3+S2w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeijedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttddttddttddvnecuhfhrohhmpedfmfhi rhhilhhlucetrdcuufhhuhhtvghmohhvfdcuoehkihhrihhllhesshhhuhhtvghmohhvrd hnrghmvgeqnecuggftrfgrthhtvghrnhephfeigefhtdefhedtfedthefghedutddvueeh tedttdehjeeukeejgeeuiedvkedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepkhhirhhilhhlsehshhhuthgvmhhovhdrnhgrmhgv X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Feb 2023 13:12:34 -0500 (EST) Received: by box.shutemov.name (Postfix, from userid 1000) id 3D2E110968A; Thu, 16 Feb 2023 21:12:30 +0300 (+03) Date: Thu, 16 Feb 2023 21:12:30 +0300 From: "Kirill A. Shutemov" To: Dave Hansen Cc: "Kirill A. Shutemov" , Borislav Petkov , Kuppuswamy Sathyanarayanan , Thomas Gleixner , Isaku Yamahata , x86@kernel.org, linux-coco@lists.linux.dev, kexec@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] Kexec enabling in TDX guest Message-ID: <20230216181230.3jn5hebv3xkdivbx@box.shutemov.name> References: <20230213234836.3683-1-kirill.shutemov@linux.intel.com> <65fc95bb-5ad9-b589-d6a4-762289b3f6bc@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <65fc95bb-5ad9-b589-d6a4-762289b3f6bc@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 16, 2023 at 09:50:32AM -0800, Dave Hansen wrote: > On 2/13/23 15:48, Kirill A. Shutemov wrote: > > The patch brings basic enabling of kexec in TDX guests. > > > > By "basic enabling" I mean, kexec in the guests with a single CPU. > > TDX guests use ACPI MADT MPWK to bring up secondary CPUs. The mechanism > > doesn't allow to put a CPU back offline if it has woken up. > > > > We are looking into this, but it might take time. > > This is simple enough. But, nobody will _actually_ use this code as-is, > right? What's the point of applying it now? Why nobody? Single CPU VMs are not that uncommon. -- Kiryl Shutsemau / Kirill A. Shutemov