Re: testing without the translation cache

2024-01-09 Thread Richard Henderson

On 1/9/24 09:34, Brian Cain wrote:

Alex,

A very long time ago QEMU supported disabling the translation cache via “-translation 
no-cache”.  That option was deliberately removed.  We are looking into a hexagon-specific 
failure when there’s a TB lookup miss from a cpu_loop_exit_restore().   I’d like to test 
our fix for this failure and was wondering if there’s any mechanism to disable the cache.  
There’s a “-accel tcg,tb-size=0” – but this won’t accomplish what I’m looking to do – will 
it?  If not, is there another way to disable the cache?


There is no way to disable the cache, only to make it small so that it 
overflows often.


r~




testing without the translation cache

2024-01-08 Thread Brian Cain
Alex,

A very long time ago QEMU supported disabling the translation cache via 
"-translation no-cache".  That option was deliberately removed.  We are looking 
into a hexagon-specific failure when there's a TB lookup miss from a 
cpu_loop_exit_restore().I'd like to test our fix for this failure and was 
wondering if there's any mechanism to disable the cache.  There's a "-accel 
tcg,tb-size=0" - but this won't accomplish what I'm looking to do - will it?  
If not, is there another way to disable the cache?

-Brian