From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.19472.1680161790766086541 for ; Thu, 30 Mar 2023 00:36:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ctVXPT6a; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680161789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=epPIyfOtoyMsSYA/g85RlO7B29oHoAVQWsOB+8clX3A=; b=ctVXPT6aaF1ldG+Rz59M9+lmRzovbrlzHAz5lUdjCj/zszAyXCibgU8qMWoNWTW+NClmR5 D2nJQe+3NkYvyEmJGXFAcF1gsKwUrnw/V+fVZeSNh5niFurFw/QL1W5Ze1EhLkmwv+SVIb vxbF+7ETQtRATX+opHcbqO3BsJ6vzK0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-TvCckwp1O--4-1jGoYByew-1; Thu, 30 Mar 2023 03:36:24 -0400 X-MC-Unique: TvCckwp1O--4-1jGoYByew-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 793D81C05AA4; Thu, 30 Mar 2023 07:36:23 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EC8F114171BB; Thu, 30 Mar 2023 07:36:22 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 8B8A5180061B; Thu, 30 Mar 2023 09:36:19 +0200 (CEST) Date: Thu, 30 Mar 2023 09:36:19 +0200 From: "Gerd Hoffmann" To: devel@edk2.groups.io, thomas.lendacky@amd.com Cc: Eric Dong , Ray Ni , Rahul Kumar , Michael Roth , Ashish Kalra Subject: Re: [edk2-devel] [PATCH v2 0/2] SEV-SNP guest support fixes Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 28, 2023 at 01:09:22PM -0500, Lendacky, Thomas via groups.io wrote: > This patch series provides some fixes around AP creation: > > - An erratum on AMD hardware requires that a VMSA not be aligned on a > 2MB boundary. To work around this issue, allocate 2 pages of memory > and using the page that is not 2MB aligned and freeing the other. > > - When parking APs after exiting boot services, the current SNP support > will perform an allocation that will not be reflected in memory map > being supplied to the OS. Instead of allocating new VMSAs each time, > re-use the current VMSA. > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4353 > > --- > > Changes since v1: > - Change the order of the patches to make the patch diffs easier > to review > - Add erratum number to the patch description and code comment > - Use existing ALIGN_POINTER macro Series: Acked-by: Gerd Hoffmann take care, Gerd