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?
This topic has been locked.
2 replies Latest Post - 2010-06-16T02:39:29Z by jvalenzu
Pinned topic Lock Line Reservation Lost Event
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-06-16T02:39:29Z at 2010-06-16T02:39:29Z by jvalenzu
jadamcze 060000NGAR219 PostsACCEPTED ANSWER
Re: Lock Line Reservation Lost Event2010-06-16T00:12:42Z in response to jvalenzuFWIW, 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 PostsACCEPTED ANSWER
Re: Lock Line Reservation Lost Event2010-06-16T02:39:29Z in response to jadamczeThanks for the response. That was certainly my reading of it, but I'm hoping to resolve a small disagreement on the point with a definitive answer. I guess I could test it empirically.