Re: [Qemu-devel] [RFC v7 10/16] softmmu: Protect MMIO exclusive range

2016-03-07 Thread alvise rigo
On Thu, Feb 18, 2016 at 5:25 PM, Alex Bennée wrote: > > alvise rigo writes: > >> On Wed, Feb 17, 2016 at 7:55 PM, Alex Bennée wrote: >>> >>> Alvise Rigo writes: >>> As for the RAM case, also the MMIO exclusive ranges have to be protected by other CPU's accesses. In order to do that, w

Re: [Qemu-devel] [RFC v7 10/16] softmmu: Protect MMIO exclusive range

2016-02-18 Thread Alex Bennée
alvise rigo writes: > On Wed, Feb 17, 2016 at 7:55 PM, Alex Bennée wrote: >> >> Alvise Rigo writes: >> >>> As for the RAM case, also the MMIO exclusive ranges have to be protected >>> by other CPU's accesses. In order to do that, we flag the accessed >>> MemoryRegion to mark that an exclusive

Re: [Qemu-devel] [RFC v7 10/16] softmmu: Protect MMIO exclusive range

2016-02-18 Thread alvise rigo
On Wed, Feb 17, 2016 at 7:55 PM, Alex Bennée wrote: > > Alvise Rigo writes: > >> As for the RAM case, also the MMIO exclusive ranges have to be protected >> by other CPU's accesses. In order to do that, we flag the accessed >> MemoryRegion to mark that an exclusive access has been performed and i

Re: [Qemu-devel] [RFC v7 10/16] softmmu: Protect MMIO exclusive range

2016-02-17 Thread Alex Bennée
Alvise Rigo writes: > As for the RAM case, also the MMIO exclusive ranges have to be protected > by other CPU's accesses. In order to do that, we flag the accessed > MemoryRegion to mark that an exclusive access has been performed and is > not concluded yet. > > This flag will force the other CP

[Qemu-devel] [RFC v7 10/16] softmmu: Protect MMIO exclusive range

2016-01-29 Thread Alvise Rigo
As for the RAM case, also the MMIO exclusive ranges have to be protected by other CPU's accesses. In order to do that, we flag the accessed MemoryRegion to mark that an exclusive access has been performed and is not concluded yet. This flag will force the other CPUs to invalidate the exclusive ran