Re: [PATCH v2 4/6] spapr/xive: Enforce load-after-store ordering

2020-10-06 Thread Greg Kurz
On Mon, 5 Oct 2020 18:51:45 +0200 Cédric Le Goater wrote: > The XIVE_ESB_SET_PQ_10 load operation is used to disable temporarily > an interrupt source. If StoreEOI is active, a source could be left > enabled if the load and store operations come out of order. > > QEMU makes use of this offset to

[PATCH v2 4/6] spapr/xive: Enforce load-after-store ordering

2020-10-05 Thread Cédric Le Goater
The XIVE_ESB_SET_PQ_10 load operation is used to disable temporarily an interrupt source. If StoreEOI is active, a source could be left enabled if the load and store operations come out of order. QEMU makes use of this offset to quiesce the sources before a migration. Enforce the load-after-store