Home
last modified time | relevance | path

Searched hist:b57724806143e36ae17be7e33e5792863c5c026c (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/arm/board/fvp/
H A Dfvp_common.cb57724806143e36ae17be7e33e5792863c5c026c Thu Feb 13 13:14:34 UTC 2025 AlexeiFedorov <Alexei.Fedorov@arm.com> fix(rme): map DEVICE0_BASE as EL3_PAS

To pass SMMUv3 Realm Page 0 address to RMM
in Boot Manifest, BL31 needs to read SMMU_ROOT_IDR0
register. BL31 at EL3 runs in Root mode, but
CoreSight and peripherals at DEVICE0_BASE
(0x2000_0000) including SMMUv3 at 0x2B40_0000 are
mapped as MT_SECURE which results in RAZ access
to all SMMUv3 registers after enabling MMU.
This patch changes MT_SECURE mapping to EL3_PAS
resulting in MT_SECURE (ENABLE_RME = 0), and
MT_ROOT (ENABLE_RME = 1).

Change-Id: I3d9ae7c86e4836dd6722fa64116a14d8c8aed8da
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>