audk/OvmfPkg/Sec
Tom Lendacky e2db781f0c OvmfPkg/Sec: Enable cache early to speed up booting
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2198

Currently, the OVMF code relies on the hypervisor to enable the cache
support on the processor in order to improve the boot speed. However,
with SEV-ES, the hypervisor is not allowed to change the CR0 register
to enable caching.

Update the OVMF Sec support to enable caching in order to improve the
boot speed when running as an SEV-ES guest.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
2020-08-17 02:46:39 +00:00
..
Ia32 OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
X64 OvmfPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:19 -07:00
SecMain.c OvmfPkg/Sec: Enable cache early to speed up booting 2020-08-17 02:46:39 +00:00
SecMain.inf OvmfPkg/Sec: Add #VC exception handling for Sec phase 2020-08-17 02:46:39 +00:00