All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] accel/tcg: fix crash on instruction straddling address-space end
@ 2026-09-16 23:51 Richard Henderson
  2026-09-16 23:51 ` [PATCH v2 1/2] accel/tcg: Allow some address space wraparound during translation Richard Henderson
  2026-09-16 23:51 ` [PATCH v2 2/2] tests/tcg/i386/system: Add regression test for translator_ld wraparound Richard Henderson
  0 siblings, 2 replies; 5+ messages in thread
From: Richard Henderson @ 2026-09-16 23:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: cui.tao

Handle address space wraparound during translation, with help from
the target translator.

Without cooperation of the target translator, unless this is a 64-bit
guest, this will no longer assert but is unlikely to function
correctly as generic code doesn't know the address space width.

Thanks to Tao Cui for a brilliant test case.


r~


Richard Henderson (1):
  accel/tcg: Allow some address space wraparound during translation

Tao Cui (1):
  tests/tcg/i386/system: Add regression test for translator_ld
    wraparound

 include/exec/translator.h          |  3 ++
 accel/tcg/translator.c             | 45 +++++++++++++++++++-----------
 tests/tcg/i386/system/meson.build  |  4 +++
 tests/tcg/i386/system/wraparound.S | 35 +++++++++++++++++++++++
 4 files changed, 70 insertions(+), 17 deletions(-)
 create mode 100644 tests/tcg/i386/system/wraparound.S

-- 
2.53.0



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

end of thread, other threads:[~2026-09-23 13:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-16 23:51 [PATCH v2 0/2] accel/tcg: fix crash on instruction straddling address-space end Richard Henderson
2026-09-16 23:51 ` [PATCH v2 1/2] accel/tcg: Allow some address space wraparound during translation Richard Henderson
2026-09-23 13:13   ` Jim MacArthur
2026-09-16 23:51 ` [PATCH v2 2/2] tests/tcg/i386/system: Add regression test for translator_ld wraparound Richard Henderson
2026-09-23 11:08   ` Jim MacArthur

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.