From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum To: linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] [Patch] for UHCI driver (from kernel 2.6.6). Date: Sat, 19 Jun 2004 08:53:26 +0200 Cc: Alan Stern , Benjamin Herrenschmidt , Sven Luther , Alan Cox , Nicolas DET , linuxppc-dev list References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Message-Id: <200406190853.32745.oliver@neukum.org> Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Am Freitag, 18. Juni 2004 23:41 schrieb Alan Stern: > > barriers. Actually, it's worse, you need a full mb() to order them, > > which is why lately, we made ppc64 writeX() do full sync's ... that sucks > > but it's near to impossible to get an abstract IO API that would cover > > our needs here and still make other archs happy it seems... > > I recently changed a few mb() calls to wmb(), because they only protected > data the CPU was writing to be read by the device.  Do you think changing > all the wmb()'s back to mb()'s would make a difference? Are these issues documented somewhere? Regards Oliver ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/