diff options
author | Subrata Banik <subratabanik@google.com> | 2022-08-15 15:16:43 +0530 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-08-21 14:58:21 +0000 |
commit | 29a92e87ca4ed27d2c3397f6f81af50820f0c43f (patch) | |
tree | 544ed6c1b4a62b7b480f0331bfbadb63a4cb7926 /src/superio/ite/it8783ef/Makefile.inc | |
parent | 086a91c05c5426fd21c15c94ad008df9c7c01a20 (diff) |
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>
Diffstat (limited to 'src/superio/ite/it8783ef/Makefile.inc')
0 files changed, 0 insertions, 0 deletions