Files
acrn-hypervisor/hypervisor/arch/x86
Zide Chen 36ba7f8aa8 hv: clear CPUID.07H.EBX[2] to disable SGX from guests
Regarding SGX, guests could access CPUID.07H.EBX[2] before query CPUID
leaf 12H.

Intel SDM 36.7.2: "If CPUID.(EAX=07H, ECX=0H):EBX.SGX = 1, the processor
also supports querying CPUID with EAX=12H on Intel SGX resource capability
and configuration."

Clear CPUID.07H.ECX[30] SGX_LC to make the guest view consistent.

Tracked-On: #1867
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-11-30 15:03:16 +08:00
..
2018-11-30 14:55:17 +08:00
2018-11-09 13:00:51 +08:00
2018-11-13 16:28:58 +08:00
2018-11-30 14:55:17 +08:00
2018-11-27 13:09:04 +08:00
2018-11-14 12:46:34 +08:00
2018-11-05 15:35:49 +08:00
2018-11-13 16:28:58 +08:00
2018-08-16 16:24:13 +08:00