From nobody Fri Nov 15 10:55:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+90224+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+90224+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1654484440; cv=none; d=zohomail.com; s=zohoarc; b=LljuPkjNODJGvhrZaAVNNgWl5SnqQi37FIYcsUoy4Ug2W0dRnUab+OxKElsYvDStdrFyl2Pk+wP0hjjzC1peJH0qP2mYm8kRodL6EYsRpx3hh/JQIJqMQatv0RyHh9vQJa1S1K23nGPEe+TtBUup7WHx6Q/i5LGtJndsogU6uxA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654484440; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=8bz+J13VXB3KWvY5Y7WWUXCLXBxXXj069uW6ifG43SI=; b=dkLIrKiHwx2CLSXVkYbDM21uxl98Ivu380DYnd8AtEu2I5uCMk7AhvDUvtvCOtCXoJb09xUQn9g0YLVfg1ftpaqz916Mv8tV8EY2Uv3rWF+sop3v6J/q9qVHC7PW8+Ov3o3/+5ZCYw9L7PJ/rI2pfSM5FTYqE2FjmV98e9V0AyQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+90224+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1654484440276875.2713014169025; Sun, 5 Jun 2022 20:00:40 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ZH2aYY1788612xgXUoMuWPyl; Sun, 05 Jun 2022 20:00:39 -0700 X-Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web08.27749.1654484424914450989 for ; Sun, 05 Jun 2022 20:00:39 -0700 X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="276458123" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="276458123" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 20:00:39 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="647285799" X-Received: from mxu9-mobl1.ccr.corp.intel.com ([10.255.29.66]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2022 20:00:37 -0700 From: "Min Xu" To: devel@edk2.groups.io Cc: Min M Xu , Erdem Aktas , Gerd Hoffmann , James Bottomley , Jiewen Yao , Tom Lendacky Subject: [edk2-devel] [PATCH 08/14] OvmfPkg: Use PcdOvmfWorkAreaBase instead of PcdSevEsWorkAreaBase Date: Mon, 6 Jun 2022 10:59:56 +0800 Message-Id: <63e9cfb295ce7a39cce3ae19c80f9bd48a9e4cf7.1654420876.git.min.m.xu@intel.com> In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,min.m.xu@intel.com X-Gm-Message-State: mDanZ0pPNIeLWtHSFuVYKjVAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654484439; bh=M4Jg3LtscTi4/78ueParkDFKqP1qopF/VQ9w1QZv6DM=; h=Cc:Date:From:Reply-To:Subject:To; b=Q07d+s5awlSTiLwqQsScVp92GuHGlHf9wB8pEOm7jlkdT61f63fgrzk8s+u9CH0gYyw hyw1XuD4diQywA4rBqfj+WiM7svksQRiEnjjQ5VY0ETvfLob/GMsTU2x++C9pL2negZfi sodxGKM6gCQVTjt9lme3ESTFYBSK0SZrxQ0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654484440918100025 Content-Type: text/plain; charset="utf-8" From: Min M Xu RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3937 It is an typo error that HobList pointer should be stored at PcdOvmfWorkAreaBase, not PcdSevEsWorkAreaBase. Cc: Erdem Aktas Cc: Gerd Hoffmann Cc: James Bottomley Cc: Jiewen Yao Cc: Tom Lendacky Signed-off-by: Min Xu --- .../IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer.c | 4 ++-- .../PrePiHobListPointerLibTdx/PrePiHobListPointerLibTdx.inf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer= .c b/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer.c index 1b41a3983c99..ecd271c0bdff 100644 --- a/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer.c +++ b/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer.c @@ -27,7 +27,7 @@ PrePeiGetHobList ( { TDX_WORK_AREA *TdxWorkArea; =20 - TdxWorkArea =3D (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdSevEsWorkAreaB= ase); + TdxWorkArea =3D (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdOvmfWorkAreaBa= se); ASSERT (TdxWorkArea !=3D NULL); ASSERT (TdxWorkArea->SecTdxWorkArea.HobList !=3D 0); =20 @@ -48,7 +48,7 @@ PrePeiSetHobList ( { TDX_WORK_AREA *TdxWorkArea; =20 - TdxWorkArea =3D (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdSevEsWorkAreaB= ase); + TdxWorkArea =3D (TDX_WORK_AREA *)(UINTN)FixedPcdGet32 (PcdOvmfWorkAreaBa= se); ASSERT (TdxWorkArea !=3D NULL); =20 TdxWorkArea->SecTdxWorkArea.HobList =3D (UINTN)HobList; diff --git a/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer= LibTdx.inf b/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointer= LibTdx.inf index 2667f841cea2..fe7ee23fdc8a 100644 --- a/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointerLibTdx.= inf +++ b/OvmfPkg/IntelTdx/PrePiHobListPointerLibTdx/PrePiHobListPointerLibTdx.= inf @@ -23,7 +23,7 @@ UefiCpuPkg/UefiCpuPkg.dec =20 [Pcd] - gUefiCpuPkgTokenSpaceGuid.PcdSevEsWorkAreaBase + gUefiOvmfPkgTokenSpaceGuid.PcdOvmfWorkAreaBase =20 [LibraryClasses] PcdLib --=20 2.29.2.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90224): https://edk2.groups.io/g/devel/message/90224 Mute This Topic: https://groups.io/mt/91570203/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-