Re: [PATCH 3/5] xhci: Add rmb() between reading event validity & event data access.

2011-03-25 Thread Segher Boessenkool
> On weakly-ordered systems, the reading of an event's content must occur > after reading the event's validity. Put a comment on the rmb() saying what it orders? Segher ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.o

[PATCH 3/5] xhci: Add rmb() between reading event validity & event data access.

2011-03-25 Thread Matt Evans
On weakly-ordered systems, the reading of an event's content must occur after reading the event's validity. Signed-off-by: Matt Evans --- drivers/usb/host/xhci-ring.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ri