Cell Broadband Engine Architecture v1.02 describes the circumstances where a Lock Line Reservation Lost Event occurs (9.12.10):
The reservation is lost when another processor or device modifies one or more bytes in the reservation granule. The reservation can also be lost if privileged software writes the Flush bit in the MFC Atomic Flush register (MFC_Atomic_Flush[F] is set to ‘1’).
My question is, in order to effect this change from the PPU, is it necessary for lwarx/stwcx to be used, or will any normal store instruction suffice?
jadamcze 060000NGAR219 Posts
Re: Lock Line Reservation Lost Event2010-06-16T00:12:42ZThis is the accepted answer. This is the accepted answer.FWIW, and probably known to you, the CellBE Programming Handbook has : "If another processor element or device modifies the data in the reserved lock-line, the reservation will be lost and the event will be raised if it is enabled."
Doesn't appear to be qualified anywhere as depending on lwarx/stwcx use.
jvalenzu 270000WVR52 Posts
Re: Lock Line Reservation Lost Event2010-06-16T02:39:29ZThis is the accepted answer. This is the accepted answer.
- jadamcze 060000NGAR