Skip to content

s390x/tcg: STFLE fixes

David Hildenbrand qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390x/tcg: Fix max_byte detection for stfletarget/s390x/misc_helper.c+2 -11 reply
2/2s390x/tcg: Store only the necessary amount of doublewords for STFLEtarget/s390x/misc_helper.c+1 -16 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/2] s390x/tcg: STFLE fixes

While testing vector instructions, I ran into various issues with user space binaries compiled with more recent compiler versions like

# gunzip /usr/share/man/man1/hexdump.1.gz
<dhildenb> *** stack smashing detected ***: <unknown> terminated

Turns out:
a) the STFLE instruction in semi-broken on the first invocation
b) the code expects a different STFLE behavior than documented in the PoP

Fix a) and make sure the code works by adjusting b).

David Hildenbrand (2):
s390x/tcg: Fix max_byte detection for stfle
s390x/tcg: Store only the necessary amount of doublewords for STFLE

 target/s390x/misc_helper.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1