The Qemu flash range is marked as 'system ram' in EFI runtime memmap but it is actually an IO address. The patch series updates the EFI runtime memmap to add this range as Memory Mapped IO address.
Changes since v3: - minor changes to address Laszlo's review feedback. Changes since v2: - added cover letter and extend CC list to add all OvmfPkg maintainers/reviewers. Changes since v1: - split the OvmfPkg single patch into three patches based on Laszlo's feedback. a) mark memory as MMIO for non SEV case b) do not adding EFI runtime mapping for SMM build c) clear C-bit when SEV is active for non SMM builds only Cc: Ard Biesheuvel <[email protected]> Cc: Anthony Perard <[email protected]> Cc: Julien Grall <[email protected]> Cc: Justen Jordan L <[email protected]> Cc: Laszlo Ersek <[email protected]> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh <[email protected]> Complete tree is available: url: https://github.com/codomania/edk2.git branch: qemu-flash-mmio-v4 Brijesh Singh (3): OvmfPkg/QemuFlashFvbServicesRuntimeDxe: mark Flash memory range as MMIO OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Do not expose MMIO in SMM build OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Restore C-bit when SEV is active .../FvbServicesRuntimeDxe.inf | 1 + .../FwBlockService.c | 38 +----------- .../FwBlockService.h | 7 +++ .../FwBlockServiceDxe.c | 67 ++++++++++++++++++++++ .../FwBlockServiceSmm.c | 13 +++++ 5 files changed, 89 insertions(+), 37 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

