nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

arm/armv8-r: init HSCTLR and HACTLR for EL2

Open anchao opened this issue 1 year ago • 0 comments

Summary

arm/armv8-r: init HSCTLR and HACTLR for EL2

  1. init HSCTLR to enable i-cache/d-cache for EL2
  2. init HACTLR to enable all access to implementation defined registers for EL1.
  3. add dsb/isb before switch to EL1 from EL2

Signed-off-by: Jinliang Li [email protected]

Impact

N/A

Testing

Cortex-R52

anchao avatar Aug 16 '24 03:08 anchao