0

In ARMv8 manual, it talks about the route of debug exceptions. However, it seems that the debug exceptions could only be route to EL1 or EL2. Is there any way to route the debug exceptions to EL3?

I am not familiar with EL2 (the hypervisor mode in ARMv7), may I use the EL2 without a real hypervisor? As the debug exceptions could be routed to EL2, can I just implement a simplest EL2 which traps to EL3 while handling the debug exceptions?

artless noise
  • 21,212
  • 6
  • 68
  • 105
  • Why do you want your _firmware_ to have to know about debugging userspace? – Notlikethat Aug 25 '16 at 20:44
  • From a quick scan of the ARM ARM, it doesn't appear possible to deliver a non-secure debug exception to EL3 from _anywhere_, which isn't all that surprising since as above it doesn't make much sense in the first place. – Notlikethat Aug 25 '16 at 21:26
  • Thanks for your reply. I am just trying to debug the system in EL3. I know normally we do this in EL1 or EL2, but the transparency may be great increased if we can do it in EL3. – Zhenyu Ning Aug 26 '16 at 16:49

0 Answers0