ArmVirtPkg: RMM 1.0-rel0 - Exclude MMIO config of Realm Devices
Realm Devices are protected devices and are not emulated by
the VMM. The protection attribute for the MMIO regions
covered by these devices must not be set as Unprotected IPA.
Therefore, call the ArmCcaLib ArmCcaMemRangeIsProtectedMmio()
helper function passing in the MMIO base address and range,
to check if the address range is marked as RIPAS_DEV (which
indicates a Realm Device).
The ArmCcaConfigureMmio() then excludes the MMIO address
range for the Realm Devices from being configured as
Unprotected IPA.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by:
Sami Mujawar <sami.mujawar@arm.com>
Loading
Please register or sign in to comment