Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-23 Thread Laszlo Ersek
On 08/22/19 22:44, Jordan Justen wrote: > On 2019-08-22 06:46:07, Laszlo Ersek wrote: >> On 08/21/19 23:51, Jordan Justen wrote: >>> On 2019-08-21 07:21:25, Laszlo Ersek wrote: On 08/19/19 23:35, Lendacky, Thomas wrote: > From: Tom Lendacky > > + // > + // Enable caching

Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-22 Thread Jordan Justen
On 2019-08-22 06:46:07, Laszlo Ersek wrote: > On 08/21/19 23:51, Jordan Justen wrote: > > On 2019-08-21 07:21:25, Laszlo Ersek wrote: > >> On 08/19/19 23:35, Lendacky, Thomas wrote: > >>> From: Tom Lendacky > >>> > >>> + // > >>> + // Enable caching > >>> + // > >>> + AsmEnableCache (); > >>>

Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-22 Thread Laszlo Ersek
On 08/21/19 23:51, Jordan Justen wrote: > On 2019-08-21 07:21:25, Laszlo Ersek wrote: >> On 08/19/19 23:35, Lendacky, Thomas wrote: >>> From: Tom Lendacky >>> >>> Currently, the OVMF code relies on the hypervisor to enable the cache >>> support on the processor in order to improve the boot speed.

Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-21 Thread Jordan Justen
On 2019-08-21 07:21:25, Laszlo Ersek wrote: > On 08/19/19 23:35, Lendacky, Thomas wrote: > > From: Tom Lendacky > > > > 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

Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-21 Thread Lendacky, Thomas
On 8/21/19 9:21 AM, Laszlo Ersek wrote: > On 08/19/19 23:35, Lendacky, Thomas wrote: >> From: Tom Lendacky >> >> 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

Re: [edk2-devel] [RFC PATCH 01/28] OvmfPkg/Sec: Enable cache early to speed up booting

2019-08-21 Thread Laszlo Ersek
On 08/19/19 23:35, Lendacky, Thomas wrote: > From: Tom Lendacky > > 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