From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.151; helo=mga17.intel.com; envelope-from=eric.dong@intel.com; receiver=edk2-devel@lists.01.org Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5BC8821962301 for ; Thu, 9 Aug 2018 21:19:25 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Aug 2018 21:19:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,218,1531810800"; d="scan'208";a="74234252" Received: from ydong10-win10.ccr.corp.intel.com ([10.239.9.125]) by orsmga003.jf.intel.com with ESMTP; 09 Aug 2018 21:19:11 -0700 From: Eric Dong To: edk2-devel@lists.01.org Cc: Marvin H user , Fan Jeff , Laszlo Ersek , Ruiyu Ni Date: Fri, 10 Aug 2018 12:19:04 +0800 Message-Id: <20180810041909.12776-1-eric.dong@intel.com> X-Mailer: git-send-email 2.15.0.windows.1 MIME-Version: 1.0 Subject: [Patch v3 0/5] Change CpuS3Data memory type and address limitation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Aug 2018 04:19:26 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Because CpuS3Data memory will be copy to smram at SmmReadToLock point by PiSmmCpuDxeSmm driver, the memory type no need to be ACPI NVS type, also the address not limit to below 4G. This change remove the limit of ACPI NVS memory type and below 4G. Cc: Marvin H user Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Eric Dong (5): UefiCpuPkg/PiSmmCpuDxeSmm: Use GDT/IDT saved in Smram. UefiCpuPkg/AcpiCpuData.h: Remove AcpiNVS and Below 4G limitation. UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. UefiCpuPkg/CpuS3DataDxe: Remove below 4G limitation. UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation. UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 60 +++++++--- UefiCpuPkg/Include/AcpiCpuData.h | 34 ++---- .../DxeRegisterCpuFeaturesLib.c | 67 ----------- .../PeiRegisterCpuFeaturesLib.c | 131 --------------------- .../RegisterCpuFeaturesLib/RegisterCpuFeatures.h | 20 ---- .../RegisterCpuFeaturesLib.c | 92 +++++++++++++++ UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 11 +- 7 files changed, 153 insertions(+), 262 deletions(-) -- 2.15.0.windows.1