Emulator Issues #6234
Cortex-A15 TLBI errata causes Fastmem issues.
As per these two issues:
There is a TLB errata on Cortex-A15 (r0p0..r3p2) that is hit quite frequently by our JIT implementation.
This is why in the ARMEmitter, I'm checking if it is a Linux build and if so, flush the entire cache instead of the singular part. I hadn't tested on my ODROID-X to see if the issue was there as well.
For now, setting the entire cache to get wiped each time tends to be stable enough, unless the fastmem implementation is enabled.
I'll need to add a check in to the ArmCPUDetect for hardware revision to see if it is within the range of CPU revisions since I don't want to deal with different devices that may or may not have the errata fix built in.
Then add a function/value for a check of bHasBuggyTLB which will enable full cache wiping and disable fastmem implementation.
This in turn requires me to add the CPU option for enabling and disabling fastmem at runtime.