qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH qemu v2 0/2] Bugfix: TCG cross-page overflow for 32 bit guest
@ 2025-04-29 20:14 ~percival_foss
  2025-04-29 16:03 ` [PATCH qemu v2 1/2] accel/tcg: Fixed " ~percival_foss
  2025-04-29 16:12 ` [PATCH qemu v2 2/2] tests/functional: Added cross page overflow test ~percival_foss
  0 siblings, 2 replies; 4+ messages in thread
From: ~percival_foss @ 2025-04-29 20:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Paolo Bonzini

Since v1:
-Updated git commits to have proper signed off by tags/messages

Our company found and fixed a bug in TCG that caused 32 bit guests
running on 64 bit hosts to crash. If a 32 bit host has a page
translation that crosses beyond the last page. This causes a invalid
translation to be added to the translation table causing a crash.

Since this is our first patch we tried following the wiki guidelines and
broke the patch into a fix and test. More info about each is given in
their respective commits. Any feedback is appreciated!

Signed off by: Percival Engineering <foss@percivaleng.com>

Percival Foss (2):
  accel/tcg: Fixed cross-page overflow for 32 bit guest
  tests/functional: Added cross page overflow test

 accel/tcg/cputlb.c                    |  7 +++
 tests/functional/meson.build          |  1 +
 tests/functional/test_ppc_pegasos2.py | 69 +++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)
 create mode 100755 tests/functional/test_ppc_pegasos2.py

-- 
2.45.3


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

end of thread, other threads:[~2025-04-30 19:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 20:14 [PATCH qemu v2 0/2] Bugfix: TCG cross-page overflow for 32 bit guest ~percival_foss
2025-04-29 16:03 ` [PATCH qemu v2 1/2] accel/tcg: Fixed " ~percival_foss
2025-04-30 19:37   ` Richard Henderson
2025-04-29 16:12 ` [PATCH qemu v2 2/2] tests/functional: Added cross page overflow test ~percival_foss

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).