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
  • Hi Martin,

    I found the cause of the Bus error which is the wrong value of TCR_T0SZ in TCR_EL2 register.

    I am not very clear after reading the ARMv8 spec as how to choose TCR_T0SZ value ?

    Can any one please explain based on Levels and granular size (e.g. 4K, 16K and 64K) what should be the value for TCR_T0SZ ?

    Thanks,

Reply
  • Hi Martin,

    I found the cause of the Bus error which is the wrong value of TCR_T0SZ in TCR_EL2 register.

    I am not very clear after reading the ARMv8 spec as how to choose TCR_T0SZ value ?

    Can any one please explain based on Levels and granular size (e.g. 4K, 16K and 64K) what should be the value for TCR_T0SZ ?

    Thanks,

Children
More questions in this forum