From 232222727d51f2d254121738b2e3ff92b8c1dc1f Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 25 Mar 2021 13:02:22 +0100 Subject: soc/intel/common: Add InSMM.STS support Tested on HP 280 G2, SMMSTORE v1 and v2 still work. Other tests: - If one does not set BIOS_CONTROL bit WPD, SMMSTORE breaks. - If one does not write the magic MSR `or 1`, SMMSTORE breaks. Change-Id: Ia90c0e3f8ccf895bfb6d46ffe26750393dab95fb Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51796 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Patrick Rudolph --- src/include/cpu/intel/msr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/cpu/intel') diff --git a/src/include/cpu/intel/msr.h b/src/include/cpu/intel/msr.h index 097ddb6e27..6b2db88961 100644 --- a/src/include/cpu/intel/msr.h +++ b/src/include/cpu/intel/msr.h @@ -26,6 +26,8 @@ #define AESNI_DISABLE (1 << 1) #define AESNI_LOCK (1 << 0) +#define MSR_SPCL_CHIPSET_USAGE 0x1fe + #define MSR_PKG_C10_RESIDENCY 0x632 #endif /* CPU_INTEL_MSR_H */ -- cgit v1.2.3