Skip to content

two atomic_cmpxchg() related fixes

Halil Pasic qemu-devel 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 19 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2virtio-ccw: fix virtio_set_ind_atomichw/s390x/virtio-ccw.c+10 -812 replies
2/2s390x/pci: fix set_ind_atomichw/s390x/s390-pci-bus.c+9 -71 reply

Reviews trailers per patch

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

PatchChristian Borntraeger
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 [PATCH 0/2] two atomic_cmpxchg() related fixes

The story short: compiler can generate code that does two distinct fetches of *ind_addr for old and _old. If that happens we can not figure out if we had the desired xchg or not.

Halil Pasic (2):
virtio-ccw: fix virtio_set_ind_atomic
s390x/pci: fix set_ind_atomic

 hw/s390x/s390-pci-bus.c | 16 +++++++++-------
 hw/s390x/virtio-ccw.c   | 18 ++++++++++--------
 2 files changed, 19 insertions(+), 15 deletions(-)

base-commit: 7d3660e79830a069f1848bb4fa1cdf8f666424fb

Signature · 1 line
2.17.1