Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
How do i force these two instruction execution in the program order?
MSR PMCR_EL0, X1STR X0, [X2]
Can an ISB instruction, inserted between these 2 instruction help in ordering? DMB and DSB wouldnt help, i guess
Hi nizam.ahmed,
This is correct, you need to insert an ISB between the two instructions.See Instruction barriers for an introduction and section "Synchronization requirements for AArch64 System registers" in the Arm Architecture Reference Manual for A-profile architecture for complete documentation.
Best regards,
Vincent.