From nobody Wed May 15 05:26:13 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+107823+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+107823+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1692243940; cv=none; d=zohomail.com; s=zohoarc; b=DTw2U2xZ8aUaVk1t/PZEKib0Arlp1hNI+W6M2n8Sw+zhrFua3q/PgjTA8MpRyR5TtpDBflPjef5dvJfM6Sj6YzpTAh0IVFRDtKsNv8syG28vfB9l0oS4ftlrNpPEg1DruA4ZMH56kBy1UWx94RuauRW4xwPnReyb4+LpcBP3kho= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692243940; 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=oc1moaDgp55eWAQ4a+dy9gRGkHePGihulgBJ1ZX1ReI=; b=NUsCDippxEAaFWsiiNCFrjC/roWgiGvgER2lexFnMdboBB6SU14KVNq2La8agZ1F+BHo87IaLKiIqGpkWQ7RdUJe5iZOA9oKoAx2JuOuyJnrlp0oU2ssAay0fLBi6ys14x41qM20R/GgqrJd01N0vUr3ZfQr5vV1OL62HD/bmFQ= 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+107823+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 1692243940952730.1334258409995; Wed, 16 Aug 2023 20:45:40 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=XYAV3sMZc0CToiywVoqk7ivrwSTeOwDbM4QxW491a6s=; 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=1692243940; v=1; b=uAJUvb4IimES2VC6LYFydrh9mN5wO2EQC7A0x4F+hSE/ZhGAO/TqlvB/nfMhjqwyQlldy063 01GL1HB1v4MJEy4VqqF/uPgh1dJfALGOpu69IzDWCSnQ/JYFRCoO8Gkv17ZvwtVXO3jxNRKAUOB 8PKVhR9PASBEnmJnKxS7ZXQI= X-Received: by 127.0.0.2 with SMTP id mYV0YY1788612xPoNx6XMo30; Wed, 16 Aug 2023 20:45:40 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.179618.1692243939590147076 for ; Wed, 16 Aug 2023 20:45:39 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="370172102" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="370172102" X-Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 20:45:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10803"; a="727980144" X-IronPort-AV: E=Sophos;i="6.01,179,1684825200"; d="scan'208";a="727980144" X-Received: from shwdeopenlab705.ccr.corp.intel.com ([10.239.55.55]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2023 20:45:35 -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: Thu, 17 Aug 2023 11:45:23 +0800 Message-Id: <20230817034523.2304-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: MJZ7hZ1lbOWAZFdOZ9Hc80T8x1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1692243941463100001 Content-Type: text/plain; charset="utf-8" Deactivate PcdFirstTimeWakeUpAPsBySipi for AMD SEV and SNP 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 --- OvmfPkg/AmdSev/AmdSevX64.dsc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc index 2c6ed7c974..af52438fb2 100644 --- a/OvmfPkg/AmdSev/AmdSevX64.dsc +++ b/OvmfPkg/AmdSev/AmdSevX64.dsc @@ -467,6 +467,13 @@ =20 gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|TRUE gUefiOvmfPkgTokenSpaceGuid.PcdBootRestrictToFirmware|TRUE + # + # PcdFirstTimeWakeUpAPsBySipi determines whether to employ + # SIPI instead of the INIT-SIPI-SIPI sequence during APs + # initialization. Deactivate this parameter for AMD SEV and + # SNP to preserve the original execution of INIT-SIPI-SIPI. + # + gUefiCpuPkgTokenSpaceGuid.PcdFirstTimeWakeUpAPsBySipi|FALSE =20 ##########################################################################= ###### # --=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 (#107823): https://edk2.groups.io/g/devel/message/107823 Mute This Topic: https://groups.io/mt/100794448/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-