From nobody Thu May 16 16:50:40 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+107939+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+107939+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1692669455; cv=none; d=zohomail.com; s=zohoarc; b=SuRrbf1t8H/eqV1DC49YqcZ1xZ+ytjHgQAPkSbW66t8OKDaaeAa4fQEeLZpYtGJzGCdNmJtJ/khgl48eJxNUbPtAeAfkFHHtuGcMhGLkIrXR1PcPTBwbLNQ3wOb4aX6DcxqQqQ4zMhtopSYGIVzUaBaqL+zi1Ue6abYExe9NfQc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692669455; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=K6nOkJwe5O7ql0UZgy8F45uiyyz88d5LAPyhoC6GA1s=; b=GN5JU4IZt9b0NPtQ+dsNxsDwRRKUqAXElKhGhDDbpS8/CFh2hDP1UgSFZtnF8q9BLg4roo4kP5MVnvSrE0cYizqBMMyUbbYE8chGoOR9tqYg91qJ1MBBfPoOz+fcvU7Tk5YBItjZo8bJy6WS7MU2dRJgdisx7WiaDQMIeeQ9OFw= 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+107939+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 1692669455399252.98071128137155; Mon, 21 Aug 2023 18:57:35 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=0y1qdaE/9Yee9e97jwdBTpR72IuNhwUrrfCta5O9J4M=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1692669455; v=1; b=W8CTonUPqqLw7ib/qw3we8xN//teomK1H9G9NmAnOtHqsrfq5gKQDsQn/crXO5FkK2/0hUfY bILCNK+mGKkU+t0r2GCprqLFZ1ataNqkkdcnk0sQQyCD/AWYLhHD+2ynNruR+L7ThfxLz0d0NwD /i7ulJaR7gP92d9khNQfRPPU= X-Received: by 127.0.0.2 with SMTP id Xlq5YY1788612x7y6jTG5heO; Mon, 21 Aug 2023 18:57:35 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web11.8496.1692669453583583859 for ; Mon, 21 Aug 2023 18:57:34 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="404751846" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="404751846" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 18:57:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10809"; a="806116365" X-IronPort-AV: E=Sophos;i="6.01,191,1684825200"; d="scan'208";a="806116365" X-Received: from shwdeopenlab705.ccr.corp.intel.com ([10.239.55.100]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2023 18:57:30 -0700 From: "Yuanhao Xie" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Rahul Kumar , Gerd Hoffmann , Ard Biesheuvel , Jiewen Yao , Jordan Justen , Yuanhao Xie Subject: [edk2-devel] [PATCH] OvmfPkg: Disable PcdFirstTimeWakeUpAPsBySipi. Date: Tue, 22 Aug 2023 09:57:14 +0800 Message-Id: <20230822015714.1438-1-yuanhao.xie@intel.com> MIME-Version: 1.0 Precedence: Bulk 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,yuanhao.xie@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: sihOcr8Pgdid3ZDrZ2ykW2Yux1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1692669457661100003 Content-Type: text/plain; charset="utf-8" Disable PcdFirstTimeWakeUpAPsBySipi for IntelTdx, Microvm, and Xen to preserve the original execution of INIT-SIPI-SIPI. Cc: Eric Dong Cc: Ray Ni Cc: Rahul Kumar Cc: Gerd Hoffmann Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Signed-off-by: Yuanhao Xie Acked-by: Gerd Hoffmann --- OvmfPkg/IntelTdx/IntelTdxX64.dsc | 8 ++++++++ OvmfPkg/Microvm/MicrovmX64.dsc | 8 ++++++++ OvmfPkg/OvmfXen.dsc | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc b/OvmfPkg/IntelTdx/IntelTdxX6= 4.dsc index 193657ff2d..80b0558c3f 100644 --- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc +++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc @@ -463,6 +463,14 @@ # Point to the MdeModulePkg/Application/UiApp/UiApp.inf gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c= , 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0= x31 } =20 + # + # PcdFirstTimeWakeUpAPsBySipi determines whether to employ + # SIPI instead of the INIT-SIPI-SIPI sequence during APs + # initialization. Deactivate this parameter to preserve + # the original execution of INIT-SIPI-SIPI. + # + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE + ##########################################################################= ###### # # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Pla= tform diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.dsc index 2f75856393..d2ef1e00a5 100644 --- a/OvmfPkg/Microvm/MicrovmX64.dsc +++ b/OvmfPkg/Microvm/MicrovmX64.dsc @@ -566,6 +566,14 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSerialPciDeviceInfo|{0xFF} gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase|0x3f8 =20 + # + # PcdFirstTimeWakeUpAPsBySipi determines whether to employ + # SIPI instead of the INIT-SIPI-SIPI sequence during APs + # initialization. Deactivate this parameter to preserve + # the original execution of INIT-SIPI-SIPI. + # + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE + ##########################################################################= ###### # # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Pla= tform diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc index 210578c1d7..dcb99d1f0b 100644 --- a/OvmfPkg/OvmfXen.dsc +++ b/OvmfPkg/OvmfXen.dsc @@ -458,6 +458,14 @@ # We populate DXE IPL tables with 1G pages preferably on Xen gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable|TRUE =20 + # + # PcdFirstTimeWakeUpAPsBySipi determines whether to employ + # SIPI instead of the INIT-SIPI-SIPI sequence during APs + # initialization. Deactivate this parameter to preserve + # the original execution of INIT-SIPI-SIPI. + # + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE + ##########################################################################= ###### # # Pcd Dynamic Section - list of all EDK II PCD Entries defined by this Pla= tform --=20 2.36.1.windows.1 -=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 (#107939): https://edk2.groups.io/g/devel/message/107939 Mute This Topic: https://groups.io/mt/100887108/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-