Files
acrn-hypervisor/hypervisor/include/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-09-18 09:43:43 +08:00
2018-11-23 12:21:02 +08:00
2018-11-30 14:55:17 +08:00
2018-11-30 14:55:17 +08:00
2018-11-30 14:55:17 +08:00
2018-11-21 14:45:43 +08:00
2018-11-30 14:55:17 +08:00
2018-11-05 15:35:49 +08:00
2018-11-27 09:32:27 +08:00
2018-11-30 14:55:17 +08:00
2018-10-10 13:02:00 +08:00
2018-11-05 15:35:49 +08:00
2018-11-13 16:28:58 +08:00
2018-11-30 14:55:17 +08:00