We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am facing "Bus error on memory operation" while executing below instruction while invalidating and flushing the TLB.
I am not able to understand what is the reason for "Bus error" as it is a TLB operation instruction ? Also what Bus error signify ?
Also similar error is coming while I try to invalidate instruction cache.
/* Invalidate and flush the TLB */
"tlbi alle2 \n\t" \
Thanks,
Forgot to mention....
This begs the question of what happens if you set T0SZ to 0, which would make the address space larger than the allowed maximum. From the ARM ARM:
The minimum TxSZ value is 16. If TxSZ is programmed to a value smaller than 16 then it is IMPLEMENTATION DEFINED whether: • The implementation behaves as if the field were programmed to 16 for all purposes other than reading back the value of the field. • Any use of the TxSZ value generates a stage 1 Level 0 Translation fault.
The minimum TxSZ value is 16. If TxSZ is programmed to a value smaller than 16 then it is IMPLEMENTATION DEFINED whether:
• The implementation behaves as if the field were programmed to 16 for all purposes other than reading back the value of the field.
• Any use of the TxSZ value generates a stage 1 Level 0 Translation fault.