Set PcdSpeculationBarrierType to use CPUID instead of the
default LFENCE in the BaseLib function SpeculationBarrier().
LFENCE requires SSE2, and Quark platforms do not support
SSE2.
Cc: Kelly Steele <kelly.steele@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <michael.a.kubacki@intel.com>
# Clanton Peak CRB platform with 32-bit DXE for 4MB/8MB flash devices.\r
#\r
# This package provides Clanton Peak CRB platform specific modules.\r
-# Copyright (c) 2013 - 2018 Intel Corporation.\r
+# Copyright (c) 2013 - 2019 Intel Corporation.\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName|L"QUARKREC.Cap"\r
!endif\r
\r
+ #\r
+ # Quark does not support LFENCE. Use CPUID as speculation barrier\r
+ #\r
+ gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02\r
+\r
[PcdsPatchableInModule]\r
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r
\r
gEfiMdeModulePkgTokenSpaceGuid.PcdConInConnectOnDemand|FALSE\r
\r
+ #\r
+ # Quark does not support LFENCE. Use CPUID as speculation barrier\r
+ #\r
+ gEfiMdePkgTokenSpaceGuid.PcdSpeculationBarrierType|0x02\r
+\r
[PcdsPatchableInModule]\r
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803000C7\r
gEfiMdeModulePkgTokenSpaceGuid.PcdVpdBaseAddress|0x0\r