I am running one example on a72 core.I am facing issue where i am not able to read any control registers , i was trying to read CurrentEL register.As my example is running at EL0 ,so i don't have access to read this reg, so i was trying to call SVC(which we can call from el0).
when i call svc i get errorProcess 577559 (example) terminated SIGILL code=1 fltno=1 ip=00000000004052b0Illegal instruction (core dumped)
my questions are:1. can i call svc and come out clean from svc handler , my el level will be at EL1?2. can i resume my example execution at EL1?