]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VmgExitLib: Set the SwScratch valid bit for MMIO events
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 6 Nov 2020 17:53:08 +0000 (11:53 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Nov 2020 19:07:55 +0000 (19:07 +0000)
commit12a0c11e81c42f780955082c6f916ac1c94b64fe
treea703561f4de3aacf9012b731706e3226193f7be0
parent8d9698ecf82a82ded2ce5d5e13d958d8e1c532a1
OvmfPkg/VmgExitLib: Set the SwScratch valid bit for MMIO events

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3008

All fields that are set in the GHCB should have their associated bit in
the GHCB ValidBitmap field set. Add support to set the bit for the scratch
area field (SwScratch).

Fixes: c45f678a1ea2080344e125dc55b14e4b9f98483d
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <45ccb63c2dadd834e2c47bf10c9e59c6766d7eb6.1604685192.git.thomas.lendacky@amd.com>
OvmfPkg/Library/VmgExitLib/VmgExitVcHandler.c