coreboot-kgpe-d16/src/soc
Subrata Banik 29a92e87ca soc/intel/common/block/cpu: API to check if TME is supported
As per the Alder Lake FAS coreboot shall detect the existence of TME
feature by running the CPUID instruction:
CPUID leaf 7/sub-leaf 0
Return Value in ECX [bit 13]=1

If TME is supported then only access to TME MSRs are allowed otherwise
accessing those MSRs would result in GP#.

TEST=Able to detect the existence of TME feature across different
Alder Lake and Meteor Lake CPU SKUs.

Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: Ibd4fcf15a66d27748ac7fbb52b18d7264b901cd8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66749
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tarun Tuli <taruntuli@google.com>
2022-08-21 14:58:21 +00:00
..
amd soc/amd/common/block/psp/psb: add missing amdblocks/smn.h include 2022-08-20 20:43:36 +00:00
cavium soc/cavium,ti: Do resource transition 2022-06-29 11:55:01 +00:00
example/min86 src/mb: Add SPDX identifiers to files missing them 2022-08-11 17:52:19 +00:00
intel soc/intel/common/block/cpu: API to check if TME is supported 2022-08-21 14:58:21 +00:00
mediatek soc/mediatek/mt8186: spm: Remove redundant call 2022-08-18 18:25:27 +00:00
nvidia arch/arm64,arm: Prepare for !SEPARATE_ROMSTAGE 2022-07-20 20:28:39 +00:00
qualcomm soc/qualcomm/sc7280: Add SocInfo support in coreboot 2022-08-14 21:15:24 +00:00
rockchip soc/(amd|rockchip): Update vb2ex_hwcrypto implementations to new API req 2022-08-12 20:59:59 +00:00
samsung soc/samsung/exynos5420: Use int instead of char for count variable 2022-07-12 22:12:19 +00:00
sifive/fu540 src/soc: Get rid of most src/soc/Kconfig files 2022-06-24 03:59:36 +00:00
ti soc/cavium,ti: Do resource transition 2022-06-29 11:55:01 +00:00
ucb/riscv src/soc: Get rid of most src/soc/Kconfig files 2022-06-24 03:59:36 +00:00