Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD

2012-12-18 Thread Wojciech A. Koszek
The following reply was made to PR usb/173666; it has been noted by GNATS. From: "Wojciech A. Koszek" To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-sub...@freebsd.org Subject: Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD Date: W

Re: usb/173666: [USB, LIBUSB] usb_reset() behavior different between GNU/Linux and FreeBSD

2012-12-18 Thread Wojciech A. Koszek
On Sat, Nov 17, 2012 at 01:19:34PM +0100, Hans Petter Selasky wrote: > On Friday 16 November 2012 23:47:29 Wojciech A. Koszek wrote: > > >Number: 173666 > > >Category: usb > > >Synopsis: [USB, LIBUSB] usb_reset() behavior different between > > >GNU/Linux and FreeBSD Confidential

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Warner Losh
On Dec 18, 2012, at 12:44 PM, Hans Petter Selasky wrote: > On Tuesday 18 December 2012 20:12:29 Andrew Turner wrote: >> On Tue, 18 Dec 2012 13:06:44 +0100 >> >> Hans Petter Selasky wrote: >>> Hi Andrew, >>> The BUS_DMA_COHERENT flag does nothing on armv6 as we need the cache enabled

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Warner Losh
On Dec 18, 2012, at 1:22 AM, Hans Petter Selasky wrote: > On Tuesday 18 December 2012 08:49:31 Andrew Turner wrote: >> Hello, >> >> Oleksandr and myself have been looking into why when we enable the >> write-back cache on the PandaBoard there are kernel panics with USB. We >> have tracked it dow

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
On Tuesday 18 December 2012 20:12:29 Andrew Turner wrote: > On Tue, 18 Dec 2012 13:06:44 +0100 > > Hans Petter Selasky wrote: > > Hi Andrew, > > > > > The BUS_DMA_COHERENT flag does nothing on armv6 as we need the cache > > > enabled for atomic operations to work correctly and we would have to >

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Andrew Turner
On Tue, 18 Dec 2012 13:06:44 +0100 Hans Petter Selasky wrote: > Hi Andrew, > > > The BUS_DMA_COHERENT flag does nothing on armv6 as we need the cache > > enabled for atomic operations to work correctly and we would have to > > disable the cache on the entire page. This is acceptable behaviour > >

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
On Tuesday 18 December 2012 12:02:13 Andrew Turner wrote: > On Tue, 18 Dec 2012 09:22:22 +0100 > > Hans Petter Selasky wrote: > > On Tuesday 18 December 2012 08:49:31 Andrew Turner wrote: > > > Hello, > > > > > > Oleksandr and myself have been looking into why when we enable the > > > write-back

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Andrew Turner
On Tue, 18 Dec 2012 09:22:22 +0100 Hans Petter Selasky wrote: > On Tuesday 18 December 2012 08:49:31 Andrew Turner wrote: > > Hello, > > > > Oleksandr and myself have been looking into why when we enable the > > write-back cache on the PandaBoard there are kernel panics with > > USB. We have tra

Re: EHCI on armv6 with Write-Back caches

2012-12-18 Thread Hans Petter Selasky
On Tuesday 18 December 2012 08:49:31 Andrew Turner wrote: > Hello, > > Oleksandr and myself have been looking into why when we enable the > write-back cache on the PandaBoard there are kernel panics with USB. We > have tracked it down to an issue appending the ehci_qh_t to the list at > the end of