Hi ,
Appending corrections to my query :
As I understand , there are separate page tables in MMU for EL2 and EL3 . If a memory region is mapped as secure memory (MT_SECURE , MT_MEMORY, MT_RW) in bl31 code which runs in EL3 and the same memory region is mapped again with same attributes (MT_SECURE , MT_MEMORY, MT_RW ) in bl33 code which runs at EL2 , will bl33 code (which runs at El2) be able to read and write to EL3 secure memory region ?
Regards Amit
-----Original Message----- From: Nagal, Amit Sent: Thursday, April 11, 2024 9:39 PM To: tf-a@lists.trustedfirmware.org Subject: el3 secure memory access from lower exception levels.
Hi ,
As I understand , there are separate page tables in MMU for EL2 and EL3 . If a memory region is mapped as secure memory (MT_SECURE , MT_MEMORY, MT_RW) in bl31 code which runs in EL3 , and the same memory region is mapped again with same attributes (MT_SECURE , MT_MEMORY, MT_RW ) in EL2 , will EL2 be able to read and write to EL3 secure memory region ?
Regards Amit