I want to trap the non-secure access of several system registers (TTBR0_EL2, VTTBR_EL2, HCR_EL2, etc.) to EL3. However, when I look up the ARMv8-A reference manual, I cannot find some useful information. It seems that the ARMv8-A only supports trapping the access of EL1 TTBR registers to EL2 (with HCR_EL2), but not for EL3.
How can I do it?
Those EL2 registers are used for virtualization, it is unrelated to security. so architecture does not provide trapping them to EL3. Is there a reason why software would like to do this?