For example, RMM does not trap TID2 registers so that realm could directly read clidr_el1. However, at least in normal vm, this register is emulated by hypervisor and is hard-coded by kvmtool or qemu. Wrong value of clidr_el1 may cause guest getting wrong cpu cache information.
Are there any specific reasons that RMM decides only trapping those in sysreg_handlers?
For example, RMM does not trap TID2 registers so that realm could directly read clidr_el1. However, at least in normal vm, this register is emulated by hypervisor and is hard-coded by kvmtool or qemu. Wrong value of clidr_el1 may cause guest getting wrong cpu cache information.
Are there any specific reasons that RMM decides only trapping those in
sysreg_handlers?