Topic
  • 2 replies
  • Latest Post - ‏2010-06-16T02:39:29Z by jvalenzu
jvalenzu
jvalenzu
2 Posts

Pinned topic Lock Line Reservation Lost Event

‏2010-06-12T00:01:59Z |
Howdy;

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?
Updated on 2010-06-16T02:39:29Z at 2010-06-16T02:39:29Z by jvalenzu
  • jadamcze
    jadamcze
    219 Posts

    Re: Lock Line Reservation Lost Event

    ‏2010-06-16T00:12:42Z  
    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
    jvalenzu
    2 Posts

    Re: Lock Line Reservation Lost Event

    ‏2010-06-16T02:39:29Z  
    • jadamcze
    • ‏2010-06-16T00:12:42Z
    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.
    Thanks 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.