Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2535665lqb; Tue, 28 May 2024 03:04:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+BY8ZSa30LpZr2vI2CcFTbOPnKv+oBOHPZyoOsjHbFr+k7mvZSSHQqUPxM8xim2DfHKBu21AeOODEqT0DQLYnicok8yFIZlYRT4lXMg== X-Google-Smtp-Source: AGHT+IGIwaAxDgiCrOY6382H063hfo1gL63PQ6ZPNbp77llQcj2sgI70DTPNPUz4mu9rPqpdkmpy X-Received: by 2002:a17:906:ae82:b0:a5a:5c98:c594 with SMTP id a640c23a62f3a-a626536a7b1mr749452266b.65.1716890647761; Tue, 28 May 2024 03:04:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716890647; cv=pass; d=google.com; s=arc-20160816; b=xhPdub0HMX2wXBgCnbEvCcb/8cdFXPBPPYxvceGu7+js0Wl9CQvOUozQF5YJT9+kI6 kyT3YExhyihai9EuMB1tDbapdurMTyvJ6HPon2KO2q1H+rvPJUyZXhBQxJyoxwTsyX2f qhwoTAK6cIO2+roV9kytNVlWy7YGIS9ZFgjVq50ewMiYVr41bkgcwVWiSi/5UX1lJ00g pCtBhBy+UL1ts93QDGmmnjUaCcwlCpFqvXO2VVBH419isgLAba5TUEiGDAb++Rh2qAB7 pCoUTCm0WTffaL+VNqzMt6Ubch8KbeBp/xdYTLhAYLU98KS5d2qcxdbFMEb8jDvW6c+2 S4XQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Y2E9LMJOmZGaKwGYezKBuZaUNvib7wYH8wfYOZyvMfg=; fh=+auYo+1pyTnNDkl81ITZvvKQjKOXl1lwN0TQvrEHPbo=; b=xG7Nq300WicsPv9YX73wWXOwthJRdpnN+rPaPotgwORd4bbx1Fd99aZsy9YNzPi1sE zBhbJhyrEFyTKxExhe6aC6O8rUpMQH4Np/VjnPbbl1px4HcsQgdCtoMrCOPJE/NN6HYA 0AXE8YZ6WKPqD7MF3ir01M/gMVikzQ2KTsp6lUdFFvJlWU1BwjfyRBvU/vkJ4zqU33Mo YFCOjQ/YaCpXoFsWKLny2x72v7SJmBYdkUELAuPe0X79A9mmIzYGNsdMfbs9bKiV9DZH 01EaGrV2vcngfNoXSYXe3NVCJGpUR/1QiEtH5xU09zZY7K8KLYMCJDx9te8WLUfunQ7A PP9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S9MBWC7R; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192067-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192067-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cdd065dsi478996166b.946.2024.05.28.03.04.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:04:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192067-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=@kernel.org header.s=k20201202 header.b=S9MBWC7R; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192067-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192067-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 A55661F2296A for ; Tue, 28 May 2024 10:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A41016C437; Tue, 28 May 2024 10:01:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="S9MBWC7R" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BED6516B750; Tue, 28 May 2024 10:01:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890505; cv=none; b=X0Dfg7bvfsqEXigmnNVc6/7J6EBbNBzInsyLVYbA1mbaUgIxSj7wXJWX0FwBZJGLgoYkCTlwlByTc9ho9T9gc5Si+NFfNK2MOQ7MlqSNObT8iCLYg41X/XBg65HRCznA+eiDg7HJQIeIcxlkAuMj+b4Xf+tj67c+EzRHcMfvZCE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890505; c=relaxed/simple; bh=Y2E9LMJOmZGaKwGYezKBuZaUNvib7wYH8wfYOZyvMfg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=kGK03OkdQckLcm2ILaj0RbCsJtm/GzloNDZhEtaTptJ9uMdbxScpwpvaOeioEjEpRtTRNHTm06JZHG+DjFY4V499G0jdyu5syiJ/3whgMOQjXxqGypQZrtf/O3B2g9NPVfLYodW8aj90mB8cs66fhJlfdzqMNvMPFw4d+kzLv2I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=S9MBWC7R; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 540EBC4AF12; Tue, 28 May 2024 10:01:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716890505; bh=Y2E9LMJOmZGaKwGYezKBuZaUNvib7wYH8wfYOZyvMfg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=S9MBWC7RSuhidbunFi1mTZaZNejNJVPTNwja0NCLR0wVZCce5l+mzOL8xKzZmZrLz 48YvBlO1cRZyCk93QJwoC5Vbwj6w4a4XHfuC/liSpBb0Ew1Fomiw1pZEexAWt8NSdm 4xDM+23raWUvURKpmPJ92TKCiSYEIw4QWD9IkpQQb1lYBuR/OvmSMeLV03AQjH4FPX GN1YxNPLOlC6NoNPHX79dPQjVtMAVg2GFLjNV8XyJcDNQ6v5ooeD7zQMRnrKiT20yu JE9R8Wk6S8WXf75L6S6pLdLrQlLMu0Ca/zlLHW96SttvgXd+xrYCg0zCm2ReYENyq6 IqEdaDJWnOYUg== Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-5b2dd35212fso92851eaf.3; Tue, 28 May 2024 03:01:45 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXj7jLauCLS2PhuJRmEG6kwt1C4FtKzbMa04k44ISGae6JbDBFxb6exhzqdhvM1cbO6b0f+AGFM4fSLcRFfh1zQRO3lb+xag6ZankmNE+TLV349WOHwhGQngh77MyADQgdc1rdH2PoOipqo5RQ+NwudJBKyJvp8/yeeJR4sRoIjYXpYpzEC7g== X-Gm-Message-State: AOJu0YwjmXYHW5S9eSXogGJkNA8h4PrpVL20KKGyO1lhtcfM2QgQKKl8 /rm51S9SgonM4vGrFYqTGJL6m4UsaqTwPNcsAnIIMd/ys0l7uuNEvUgG1/grLIewj6j93NynpJo FaTj8wi4TCsWCYgRn7gqtANJTjlU= X-Received: by 2002:a05:6820:2e02:b0:5aa:3e4f:f01e with SMTP id 006d021491bc7-5b961b691eemr11395573eaf.1.1716890504453; Tue, 28 May 2024 03:01:44 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> In-Reply-To: <20240528095522.509667-1-kirill.shutemov@linux.intel.com> From: "Rafael J. Wysocki" Date: Tue, 28 May 2024 12:01:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv11 00/19] x86/tdx: Add kexec support To: "Kirill A. Shutemov" Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "Rafael J. Wysocki" , Peter Zijlstra , Adrian Hunter , Kuppuswamy Sathyanarayanan , Elena Reshetova , Jun Nakajima , Rick Edgecombe , Tom Lendacky , "Kalra, Ashish" , Sean Christopherson , "Huang, Kai" , Ard Biesheuvel , Baoquan He , "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , kexec@lists.infradead.org, linux-hyperv@vger.kernel.org, linux-acpi@vger.kernel.org, linux-coco@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 28, 2024 at 11:55=E2=80=AFAM Kirill A. Shutemov wrote: > > The patchset adds bits and pieces to get kexec (and crashkernel) work on > TDX guest. > > The last patch implements CPU offlining according to the approved ACPI > spec change poposal[1]. It unlocks kexec with all CPUs visible in the tar= get > kernel. It requires BIOS-side enabling. If it missing we fallback to boot= ing > 2nd kernel with single CPU. > > Please review. I would be glad for any feedback. > > [1] https://lore.kernel.org/all/13356251.uLZWGnKmhe@kreacher For the ACPI-related changes in the series Acked-by: Rafael J. Wysocki