qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* testing without the translation cache
@ 2024-01-08 22:34 Brian Cain
  2024-01-09 10:10 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Cain @ 2024-01-08 22:34 UTC (permalink / raw)
  To: Alex Bennée
  Cc: Sid Manning, qemu-devel@nongnu.org, richard.henderson@linaro.org,
	Matheus Bernardino (QUIC)

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2256 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: testing without the translation cache
  2024-01-08 22:34 testing without the translation cache Brian Cain
@ 2024-01-09 10:10 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2024-01-09 10:10 UTC (permalink / raw)
  To: Brian Cain, Alex Bennée
  Cc: Sid Manning, qemu-devel@nongnu.org, Matheus Bernardino (QUIC)

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~



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-09 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-08 22:34 testing without the translation cache Brian Cain
2024-01-09 10:10 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).