Re: [edk2] [PATCH v2 2/2] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active

2018-03-01 Thread Brijesh Singh
On 02/28/2018 01:41 PM, Laszlo Ersek wrote: On 02/28/18 17:14, Brijesh Singh wrote: Commit:24e4ad7 (OvmfPkg: Add AmdSevDxe driver) added a driver which runs early in DXE phase and clears the C-bit from all MMIO regions (including Qemu Flash). (1) This appears incorrect / inexact; AmdSevDxe

Re: [edk2] [PATCH v2 2/2] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active

2018-02-28 Thread Laszlo Ersek
On 02/28/18 17:14, Brijesh Singh wrote: > Commit:24e4ad7 (OvmfPkg: Add AmdSevDxe driver) added a driver which runs > early in DXE phase and clears the C-bit from all MMIO regions (including > Qemu Flash). (1) This appears incorrect / inexact; AmdSevDxe is dispatched from APRIORI DXE before the

[edk2] [PATCH v2 2/2] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active

2018-02-28 Thread Brijesh Singh
Commit:24e4ad7 (OvmfPkg: Add AmdSevDxe driver) added a driver which runs early in DXE phase and clears the C-bit from all MMIO regions (including Qemu Flash). When SMM is enabled, we build two sets of page tables; first page table is used when executing code in non SMM mode (SMM-less-pgtable) and