I have a use case in monitor mode (EL3), I had to do "Issue CPP RCTX to all valid contexts followed by DSB SY."Please suggest the how to write assembly code for the above.
In monitor mode (EL3), you need to issue a CPP RCTX to all valid contexts to ensure proper context handling. After that, use a DSB SY to make sure all these operations complete before moving on. This ensures system consistency during context restore.