From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: michael.d.kinney@intel.com) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by groups.io with SMTP; Mon, 29 Apr 2019 18:30:15 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2019 18:30:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,411,1549958400"; d="scan'208";a="139954327" Received: from unknown (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.241.111.157]) by orsmga006.jf.intel.com with ESMTP; 29 Apr 2019 18:30:14 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Kelly Steele , Liming Gao , Eric Dong , Ray Ni , Laszlo Ersek Subject: [Patch V2 0/6] Resolve Quark build and boot issues Date: Mon, 29 Apr 2019 18:30:06 -0700 Message-Id: <20190430013012.24008-1-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit New in V2 ========= * Add PcdSpeculationBarrierType to select between LFENCE, CPUID, and no operation in the x86 implementation of the BaseLib function SpeculationBarrier(). * Set PcdSpeculationBarrierType to CPUID on Quark platforms. This series of patches resolves a few issues with building and booting Quark platforms. * Resolve name collision from API added to ResetSystemLib * Set SMRAM region to UC when SMRAM region is closed * Do no use LFENCE if CPU does not support SSE2 * Avoid MSR_IA32_APIC_BASE if there is only one CPU Cc: Kelly Steele Cc: Liming Gao Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Michael D Kinney Michael D Kinney (6): MdePkg: Add PcdSpeculationBarrierType MdePkg/BaseLib: Use PcdSpeculationBarrierType QuarkPlatformPkg: Set PcdSpeculationBarrierType to CPUID UefiCpuPkg/MpInitLib: Avoid MSR_IA32_APIC_BASE for single core QuarkSocPkg/SmmAccessDxe: Set region to UC on SMRAM close QuarkPlatformPkg/PlatformInit: Resolve ResetSystemLib name collision MdePkg/Library/BaseLib/BaseLib.inf | 1 + MdePkg/Library/BaseLib/X86SpeculationBarrier.c | 8 ++++++-- MdePkg/MdePkg.dec | 9 +++++++++ MdePkg/MdePkg.uni | 8 ++++++++ .../Platform/Pei/PlatformInit/MemoryCallback.c | 6 +++--- .../Pei/PlatformInit/PlatformEarlyInit.h | 4 ++-- QuarkPlatformPkg/Quark.dsc | 7 ++++++- QuarkPlatformPkg/QuarkMin.dsc | 5 +++++ .../Smm/Dxe/SmmAccessDxe/SmmAccess.inf | 3 ++- .../Smm/Dxe/SmmAccessDxe/SmmAccessDriver.c | 18 +++++++++++++++++- .../Smm/Dxe/SmmAccessDxe/SmmAccessDriver.h | 3 ++- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 15 ++++++++++++++- 12 files changed, 75 insertions(+), 12 deletions(-) -- 2.21.0.windows.1