Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-06 Thread kbuild test robot
Hi Johan, [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v4.13-rc3 next-20170804] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Johan Hovold
On Thu, Aug 03, 2017 at 04:49:24PM +0200, Johan Hovold wrote: > On Thu, Aug 03, 2017 at 04:23:08PM +0200, Johan Hovold wrote: > > On Thu, Aug 03, 2017 at 10:04:21AM -0400, Alan Stern wrote: > > > On Thu, 3 Aug 2017, Johan Hovold wrote: > > > > > > > USB devices use the DMA mask and offset of the

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Johan Hovold
On Thu, Aug 03, 2017 at 03:48:06PM +0100, Robin Murphy wrote: > On 03/08/17 15:23, Johan Hovold wrote: > > On Thu, Aug 03, 2017 at 10:04:21AM -0400, Alan Stern wrote: > >> On Thu, 3 Aug 2017, Johan Hovold wrote: > >>> diff --git a/include/linux/usb.h b/include/linux/usb.h > >>> index

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Johan Hovold
On Thu, Aug 03, 2017 at 04:23:08PM +0200, Johan Hovold wrote: > On Thu, Aug 03, 2017 at 10:04:21AM -0400, Alan Stern wrote: > > On Thu, 3 Aug 2017, Johan Hovold wrote: > > > > > USB devices use the DMA mask and offset of the controller, which have > > > already been setup when a device is probed.

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Robin Murphy
On 03/08/17 15:23, Johan Hovold wrote: > On Thu, Aug 03, 2017 at 10:04:21AM -0400, Alan Stern wrote: >> On Thu, 3 Aug 2017, Johan Hovold wrote: >> >>> USB devices use the DMA mask and offset of the controller, which have >>> already been setup when a device is probed. Note that modifying the >>>

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Johan Hovold
On Thu, Aug 03, 2017 at 10:04:21AM -0400, Alan Stern wrote: > On Thu, 3 Aug 2017, Johan Hovold wrote: > > > USB devices use the DMA mask and offset of the controller, which have > > already been setup when a device is probed. Note that modifying the > > DMA mask of a USB device would change the

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Alan Stern
On Thu, 3 Aug 2017, Johan Hovold wrote: > USB devices use the DMA mask and offset of the controller, which have > already been setup when a device is probed. Note that modifying the > DMA mask of a USB device would change the mask for the controller (and > all devices on the bus) as the mask is

Re: [PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Robin Murphy
On 03/08/17 14:14, Johan Hovold wrote: > USB devices use the DMA mask and offset of the controller, which have > already been setup when a device is probed. Note that modifying the > DMA mask of a USB device would change the mask for the controller (and > all devices on the bus) as the mask is

[PATCH v2] dma-mapping: skip USB devices when configuring DMA during probe

2017-08-03 Thread Johan Hovold
USB devices use the DMA mask and offset of the controller, which have already been setup when a device is probed. Note that modifying the DMA mask of a USB device would change the mask for the controller (and all devices on the bus) as the mask is literally shared. Since commit 2bf698671205