ARM A53 and initial MMU mapping for EL0/1/2/3 ?

Joakim Tjernlund
2022-02-08T22:05:12Z

Trying to figure out how I should map the MMU for normal RAM so it acessible
from all ELx security states.
So far I have this mem_map:

/* memory mapped RAM. 32MB */
.virt = 0x60000000UL,
.phys = 0x60000000UL,
.size = 0x02000000UL,
.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_INNER_SHARE

but starting to doubt that is correct, can someone suggest what to put in the .attrs field?

Jocke