Re: [PATCH v4] usb: core: setup dma_pfn_offset for USB devices and, interfaces

2016-09-13 Thread Alan Stern
On Tue, 13 Sep 2016, Arnd Bergmann wrote: > On Tuesday, September 13, 2016 11:16:03 AM CEST Roger Quadros wrote: > > If dma_pfn_offset is not inherited correctly from the host controller, > > it might result in sub-optimal configuration as bounce > > buffer limit might be set to less than optimal

Re: [PATCH v4] usb: core: setup dma_pfn_offset for USB devices and, interfaces

2016-09-13 Thread Arnd Bergmann
On Tuesday, September 13, 2016 11:16:03 AM CEST Roger Quadros wrote: > If dma_pfn_offset is not inherited correctly from the host controller, > it might result in sub-optimal configuration as bounce > buffer limit might be set to less than optimal level. > > Consider the mass storage device case.

[PATCH v4] usb: core: setup dma_pfn_offset for USB devices and, interfaces

2016-09-13 Thread Roger Quadros
If dma_pfn_offset is not inherited correctly from the host controller, it might result in sub-optimal configuration as bounce buffer limit might be set to less than optimal level. Consider the mass storage device case. USB storage driver creates a scsi host for the mass storage interface in driver