Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-03 Thread Cornelia Huck
On Fri, 3 Jul 2020 15:37:11 +0200 Halil Pasic wrote: > On Wed, 1 Jul 2020 14:06:11 +0200 > Christian Borntraeger wrote: > > > > > > > On 01.07.20 14:01, Cornelia Huck wrote: > > > On Tue, 16 Jun 2020 06:50:33 +0200 > > > Halil Pasic wrote: > > > > > >> The story short: compiler can gene

Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-03 Thread Halil Pasic
On Wed, 1 Jul 2020 14:06:11 +0200 Christian Borntraeger wrote: > > > On 01.07.20 14:01, Cornelia Huck wrote: > > On Tue, 16 Jun 2020 06:50:33 +0200 > > Halil Pasic wrote: > > > >> The story short: compiler can generate code that does two > >> distinct fetches of *ind_addr for old and _old. If

Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-02 Thread Cornelia Huck
On Tue, 16 Jun 2020 06:50:33 +0200 Halil Pasic wrote: > 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_a

Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-01 Thread Cornelia Huck
On Wed, 1 Jul 2020 14:06:11 +0200 Christian Borntraeger wrote: > On 01.07.20 14:01, Cornelia Huck wrote: > > On Tue, 16 Jun 2020 06:50:33 +0200 > > Halil Pasic wrote: > > > >> The story short: compiler can generate code that does two > >> distinct fetches of *ind_addr for old and _old. If tha

Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-01 Thread Christian Borntraeger
On 01.07.20 14:01, Cornelia Huck wrote: > On Tue, 16 Jun 2020 06:50:33 +0200 > Halil Pasic wrote: > >> 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. >> >>

Re: [PATCH 0/2] two atomic_cmpxchg() related fixes

2020-07-01 Thread Cornelia Huck
On Tue, 16 Jun 2020 06:50:33 +0200 Halil Pasic wrote: > 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_a

[PATCH 0/2] two atomic_cmpxchg() related fixes

2020-06-15 Thread Halil Pasic
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