From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDDS7-0023LG-BJ for kexec@lists.infradead.org; Mon, 09 Aug 2021 22:09:00 +0000 Subject: Re: [PATCH 06/11] x86/sev: Replace occurrences of sev_es_active() with prot_guest_has() References: <934f3e72-49d1-be56-6fa2-f37a02413fb2@amd.com> From: "Kuppuswamy, Sathyanarayanan" Message-ID: Date: Mon, 9 Aug 2021 15:08:53 -0700 MIME-Version: 1.0 In-Reply-To: <934f3e72-49d1-be56-6fa2-f37a02413fb2@amd.com> Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Tom Lendacky , Joerg Roedel Cc: linux-kernel@vger.kernel.org, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-efi@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-graphics-maintainer@vmware.com, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kexec@lists.infradead.org, linux-fsdevel@vger.kernel.org, Borislav Petkov , Brijesh Singh , Andi Kleen , Tianyu Lan , Thomas Gleixner , Ingo Molnar On 8/9/21 2:59 PM, Tom Lendacky wrote: >> Not sure how TDX will handle AP booting, are you sure it needs this >> special setup as well? Otherwise a check for SEV-ES would be better >> instead of the generic PATTR_GUEST_PROT_STATE. > Yes, I'm not sure either. I figure that change can be made, if needed, as > part of the TDX support. We don't plan to set PROT_STATE. So it does not affect TDX. For SMP, we use MADT ACPI table for AP booting. -- Sathyanarayanan Kuppuswamy Linux Kernel Developer _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec