qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] target/i386: fix hang when using slow path for ptw_setl
@ 2024-10-25 17:58 Pierrick Bouvier
  2024-10-25 17:58 ` [PATCH v3 1/2] " Pierrick Bouvier
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pierrick Bouvier @ 2024-10-25 17:58 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Richard Henderson, Paolo Bonzini,
	Pierrick Bouvier

Most of the details are available in first patch. Second one is there to ensure
we'll have a useful error message if start_exclusive is called from cpu_exec
again.

I'm a bit puzzled that we never triggered this hang before. Is there something
wrong with the potential slow path for ptw_setl, or is it simply very uncommon?

v2:
- get current cpu from local variable instead of current_cpu global var.
- change condition to check cpu is running as current_cpu will never be NULL.

Pierrick Bouvier (2):
  target/i386: fix hang when using slow path for ptw_setl
  cpu: ensure we don't call start_exclusive from cpu_exec

 cpu-common.c                         | 3 +++
 target/i386/tcg/sysemu/excp_helper.c | 5 +++++
 2 files changed, 8 insertions(+)

-- 
2.39.5



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

end of thread, other threads:[~2024-11-18  2:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 17:58 [PATCH v3 0/2] target/i386: fix hang when using slow path for ptw_setl Pierrick Bouvier
2024-10-25 17:58 ` [PATCH v3 1/2] " Pierrick Bouvier
2024-10-29 15:47   ` Richard Henderson
2024-11-17  3:49   ` Michael Tokarev
2024-11-18  2:54     ` Pierrick Bouvier
2024-10-25 17:58 ` [PATCH v3 2/2] cpu: ensure we don't call start_exclusive from cpu_exec Pierrick Bouvier
2024-10-26  4:54   ` Philippe Mathieu-Daudé
2024-11-04 22:25 ` [PATCH v3 0/2] target/i386: fix hang when using slow path for ptw_setl Pierrick Bouvier
2024-11-12 15:47 ` 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).