RE: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax SADASHIVPETIMATH
us.wall...@linaro.org; Praveena NADAHALLY; Rajaram > REGUPATHY; Vikrant BAPAT > Subject: Re: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode > > > > +*/ > > + if (!urb->transfer_buffer) > > + use_sg = true; > > Here you test urb->

RE: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-08 Thread Virupax SADASHIVPETIMATH
NADAHALLY; Rajaram REGUPATHY; Vikrant BAPAT Subject: Re: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode +*/ + if (!urb-transfer_buffer) + use_sg = true; Here you test urb-transfer_buffer. I will make the test as if (!use_sg !urb-transfer_buffer

Re: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-07 Thread Alan Stern
On Tue, 7 Aug 2012, Virupax Sadashivpetimath wrote: > In case of USB bulk transfer, when himem page > is received, the usb_sg_init function sets the > urb transfer buffer to NULL. When such URB > transfer is handled, kernel crashes in PIO mode. > Handle this by mapping the highmem buffer in PIO

Re: [PATCH v2] usb:musb:musb_host: Handle highmem in PIO mode

2012-08-07 Thread Alan Stern
On Tue, 7 Aug 2012, Virupax Sadashivpetimath wrote: In case of USB bulk transfer, when himem page is received, the usb_sg_init function sets the urb transfer buffer to NULL. When such URB transfer is handled, kernel crashes in PIO mode. Handle this by mapping the highmem buffer in PIO mode.