Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-04 Thread Alex Bennée
alvise rigo writes: > On Mon, Aug 3, 2015 at 6:06 PM, Alex Bennée wrote: > >> >> alvise rigo writes: >> >> > On Mon, Aug 3, 2015 at 12:30 PM, Alex Bennée >> wrote: >> >> >> >> alvise rigo writes: >> >> >> >>> Hi Alex, >> >>> >> >>> Nice set of tests, they are proving to be helpful. >> >>> On

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-03 Thread alvise rigo
On Mon, Aug 3, 2015 at 6:06 PM, Alex Bennée wrote: > > alvise rigo writes: > > > On Mon, Aug 3, 2015 at 12:30 PM, Alex Bennée > wrote: > >> > >> alvise rigo writes: > >> > >>> Hi Alex, > >>> > >>> Nice set of tests, they are proving to be helpful. > >>> One question below. > >>> > > >>> > >>>

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-03 Thread Alex Bennée
alvise rigo writes: > On Mon, Aug 3, 2015 at 12:30 PM, Alex Bennée wrote: >> >> alvise rigo writes: >> >>> Hi Alex, >>> >>> Nice set of tests, they are proving to be helpful. >>> One question below. >>> >>> >>> Why are we calling these last two instructions with the 'eq' suffix? >>> Shouldn't

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-03 Thread alvise rigo
On Mon, Aug 3, 2015 at 12:30 PM, Alex Bennée wrote: > > alvise rigo writes: > >> Hi Alex, >> >> Nice set of tests, they are proving to be helpful. >> One question below. >> >> On Fri, Jul 31, 2015 at 5:54 PM, Alex Bennée wrote: >>> From: Alex Bennée >>> >>> This test has been written mainly to

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-03 Thread Alex Bennée
alvise rigo writes: > Hi Alex, > > Nice set of tests, they are proving to be helpful. > One question below. > > On Fri, Jul 31, 2015 at 5:54 PM, Alex Bennée wrote: >> From: Alex Bennée >> >> This test has been written mainly to stress multi-threaded TCG behaviour >> but will demonstrate failur

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-08-03 Thread alvise rigo
Hi Alex, Nice set of tests, they are proving to be helpful. One question below. On Fri, Jul 31, 2015 at 5:54 PM, Alex Bennée wrote: > From: Alex Bennée > > This test has been written mainly to stress multi-threaded TCG behaviour > but will demonstrate failure by default on real hardware. The te

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-07-31 Thread Andrew Jones
On Fri, Jul 31, 2015 at 04:54:01PM +0100, Alex Bennée wrote: > From: Alex Bennée > > This test has been written mainly to stress multi-threaded TCG behaviour > but will demonstrate failure by default on real hardware. The test takes > the following parameters: > > - "lock" use GCC's locking se

[Qemu-devel] [kvm-unit-tests PATCH v5 11/11] new: arm/barrier-test for memory barriers

2015-07-31 Thread Alex Bennée
From: Alex Bennée This test has been written mainly to stress multi-threaded TCG behaviour but will demonstrate failure by default on real hardware. The test takes the following parameters: - "lock" use GCC's locking semantics - "excl" use load/store exclusive semantics - "acqrel" use acqu