From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 0794A74003D for ; Wed, 8 Nov 2023 02:20:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=sGG8UYrmyIx6hsIefm/r5E2JDWqapohX4bOnMRKdXfE=; c=relaxed/simple; d=groups.io; h=From:To: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=1699410024; v=1; b=maDLHoDKMV2uHBScW95iS8uG3zfcXK8sBRntgIqfbb2YU4K55CXh1eQEaq0VY3GQpH4ppIm9 lzwbqJLjVlBtQSSTUpJHqYsNorV3cmhgf8NlCWSBYl8uwZusA6vnBl5nBfKLF1/0Uzw92di4iV1 B40xOTQwWbpPuLVVb6DgiC6s= X-Received: by 127.0.0.2 with SMTP id zKj3YY7687511xl4tlYgFGem; Tue, 07 Nov 2023 18:20:24 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.5520.1699410024118966955 for ; Tue, 07 Nov 2023 18:20:24 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10887"; a="392543217" X-IronPort-AV: E=Sophos;i="6.03,285,1694761200"; d="scan'208";a="392543217" X-Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Nov 2023 18:20:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10887"; a="712788832" X-IronPort-AV: E=Sophos;i="6.03,285,1694761200"; d="scan'208";a="712788832" X-Received: from shwdesssddpdwei.ccr.corp.intel.com ([10.239.157.28]) by orsmga003.jf.intel.com with ESMTP; 07 Nov 2023 18:20:23 -0800 From: "Sheng Wei" To: devel@edk2.groups.io Subject: [edk2-devel] [PATCH v3 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Clear CR4.CET before Date: Wed, 8 Nov 2023 10:20:07 +0800 Message-Id: <20231108022009.312-1-w.sheng@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,w.sheng@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: MZvJksZJyxlEFgmV75RBolqQx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=maDLHoDK; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Patch V3: Remove the 3rd patch. mSmmInterruptSspTables is a global variable. It is unnecessary to initializ it to zero manually. Patch V2: No function change with Patch V1. Split the patch to into 3 separate patches. Sheng Wei (2): UefiCpuPkg/PiSmmCpuDxeSmm: Clear CR4.CET before restoring MSR IA32_S_CET UefiCpuPkg/PiSmmCpuDxeSmm: Change CR4.CET bit only UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.nasm | 62 +++++++++++++---- UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm | 72 ++++++++++++++++---- 2 files changed, 106 insertions(+), 28 deletions(-) -- 2.26.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110883): https://edk2.groups.io/g/devel/message/110883 Mute This Topic: https://groups.io/mt/102457043/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-