Skip to content
Commit 44104e28 authored by Sami Mujawar's avatar Sami Mujawar
Browse files

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's avatarSami Mujawar <sami.mujawar@arm.com>
parent 75c82d2a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment