[kvm-unit-tests PATCH v9 19/31] powerpc: Avoid using larx/stcx. in spinlocks when only one CPU is running

Nicholas Piggin npiggin at gmail.com
Wed Jun 5 10:56:24 AEST 2024


On Tue Jun 4, 2024 at 3:27 PM AEST, Thomas Huth wrote:
> On 04/05/2024 14.28, Nicholas Piggin wrote:
> > The test harness uses spinlocks if they are implemented with larx/stcx.
> > it can prevent some test scenarios such as testing migration of a
> > reservation.
>
> I'm having a hard time to understand that patch description. Maybe you could 
> rephrase it / elaborate what's the exact problem here?

Yeah that's wrong, "harness uses spinlocks *which are* implemented with
larx/stcx."

The problem IIRC was only testing migration of reservations, so I should
be explicit about that in the changelog.

You could leave this out for now.

Thanks,
Nick


More information about the Linuxppc-dev mailing list