wmb
wmb();
wmb();
wmb();
#define wds_nextmbx(wmb, mbx, mbio) \
if ((wmb) == &(mbx)->mbio[WDS_MBX_SIZE - 1]) \
(wmb) = &(mbx)->mbio[0]; \
(wmb)++;
wmb();
wmb();
wmb();
wmb();
wmb();
wmb(); /* let all previous writes be visible to coherent partners */
wmb();
wmb();
wmb(); /* Make sure this is visible to HW (paranoia?) */
wmb();
wmb();
wmb();
wmb();
wmb(); /* paranoid flush writes out of the WCB before mmio */
wmb(); /* "pairs" with GPU; paranoid kick of internal CPU$ */
wmb();
wmb();
wmb();
wmb();
wmb();
wmb();
wmb();
wmb();
wmb(); /* Make sure callback visible */
wmb(); /* flush modifications to the GGTT (insert_page) */
wmb();
wmb(); /* flush the update to the cache, and beyond */
#define smp_wmb() wmb()
#define mmiowb() wmb()
wmb();
wmb();
wmb();
wmb();
wmb();
wmb();
wmb();