This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bus error while executing ARMv8 TLB instruction

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,

Parents
  • 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.

Reply
  • 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.

Children
No data