audk/OvmfPkg/IoMmuDxe
Tom Lendacky 97c3f5b8d2 OvmfPkg/IoMmuDxe: Provide an implementation for SetAttribute
A recent change to the PciIoMap() function now propagates the return code
from the IoMmu protocol SetAttribute() operation. The implementation of
this operation in OvmfPkg/IoMmuDxe/CcIoMmu.c returns EFI_UNSUPPORTED,
resulting in a failure to boot the guest.

Provide an implementation for SetAttribute() that validates the IoMmu
access method being requested against the IoMmu mapping operation.

Suggested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <c0f9e95f557b601a045da015c1a97201e8aec2ab.1706634932.git.thomas.lendacky@amd.com>
Tested-by: Min Xu <min.m.xu@intel.com>
Reviewed-by: Min Xu <min.m.xu@intel.com>
2024-01-31 13:08:29 +00:00
..
CcIoMmu.c OvmfPkg/IoMmuDxe: Provide an implementation for SetAttribute 2024-01-31 13:08:29 +00:00
CcIoMmu.h OvmfPkg/IoMmuDxe: Rename AmdSevIoMmu to CcIoMmu 2022-12-18 02:14:31 +00:00
IoMmuBuffer.c OvmfPkg/IoMmuDxe: don't rely on TPLs to manage concurrency 2023-09-02 14:52:28 +00:00
IoMmuDxe.c OvmfPkg/IoMmuDxe: Rename AmdSevIoMmu to CcIoMmu 2022-12-18 02:14:31 +00:00
IoMmuDxe.inf OvmfPkg/IoMmuDxe: don't rely on TPLs to manage concurrency 2023-09-02 14:52:28 +00:00
IoMmuInternal.h OvmfPkg/IoMmuDxe: Reserve shared memory region for DMA operation 2022-12-18 02:14:31 +00:00