Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-19 Thread Greg KH
On Mon, May 12, 2014 at 06:01:02PM +0300, Mathias Nyman wrote: > On 05/08/2014 07:21 PM, Dan Williams wrote: > > On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman > > wrote: > >> From: Dan Williams > >> > >> Save someone else the debug cycles of figuring out why a driver's > >> transfer request is

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-19 Thread Greg KH
On Mon, May 12, 2014 at 06:01:02PM +0300, Mathias Nyman wrote: On 05/08/2014 07:21 PM, Dan Williams wrote: On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-12 Thread Mathias Nyman
On 05/08/2014 07:21 PM, Dan Williams wrote: On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman wrote: From: Dan Williams Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come from GFP

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-12 Thread Mathias Nyman
On 05/08/2014 07:21 PM, Dan Williams wrote: On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:47 AM, Joe Perches wrote: > On Thu, 2014-05-08 at 19:25 +0300, Mathias Nyman wrote: >> Save someone else the debug cycles of figuring out why a driver's >> transfer request is failing or causing undefined system behavior. >> Buffers submitted for dma must come from GFP

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Joe Perches
On Thu, 2014-05-08 at 19:25 +0300, Mathias Nyman wrote: > Save someone else the debug cycles of figuring out why a driver's > transfer request is failing or causing undefined system behavior. > Buffers submitted for dma must come from GFP allocated / DMA-able > memory. > > Return -EAGAIN matching

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:22 AM, David Laight wrote: > From: Mathias Nyman >> From: Dan Williams >> >> Save someone else the debug cycles of figuring out why a driver's >> transfer request is failing or causing undefined system behavior. >> Buffers submitted for dma must come from GFP allocated /

RE: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread David Laight
From: Mathias Nyman > From: Dan Williams > > Save someone else the debug cycles of figuring out why a driver's > transfer request is failing or causing undefined system behavior. > Buffers submitted for dma must come from GFP allocated / DMA-able > memory. > > Return -EAGAIN matching the return

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman wrote: > From: Dan Williams > > Save someone else the debug cycles of figuring out why a driver's > transfer request is failing or causing undefined system behavior. > Buffers submitted for dma must come from GFP allocated / DMA-able > memory. > >

[PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Mathias Nyman
From: Dan Williams Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come from GFP allocated / DMA-able memory. Return -EAGAIN matching the return value for dma_mapping_error()

[PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Mathias Nyman
From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come from GFP allocated / DMA-able memory. Return -EAGAIN matching the return value for

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:25 AM, Mathias Nyman mathias.ny...@linux.intel.com wrote: From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must

RE: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread David Laight
From: Mathias Nyman From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come from GFP allocated / DMA-able memory. Return -EAGAIN

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:22 AM, David Laight david.lai...@aculab.com wrote: From: Mathias Nyman From: Dan Williams dan.j.willi...@intel.com Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Joe Perches
On Thu, 2014-05-08 at 19:25 +0300, Mathias Nyman wrote: Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come from GFP allocated / DMA-able memory. Return -EAGAIN matching the

Re: [PATCH 03/10] usb: catch attempts to submit urbs with a vmalloc'd transfer buffer

2014-05-08 Thread Dan Williams
On Thu, May 8, 2014 at 9:47 AM, Joe Perches j...@perches.com wrote: On Thu, 2014-05-08 at 19:25 +0300, Mathias Nyman wrote: Save someone else the debug cycles of figuring out why a driver's transfer request is failing or causing undefined system behavior. Buffers submitted for dma must come