Re: net2280: is use_dma_chaining obsolete?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Now that I open the pandora box....

Is there any reason to have use_dma, use_msi, enable_suspend and
full_speed as parameters? I might as well remove them.

Regards!

On Tue, Nov 25, 2014 at 6:10 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@xxxxxxxxx> wrote:
> Hello
>
> On Tue, Nov 25, 2014 at 6:05 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Tue, 25 Nov 2014, Ricardo Ribalda Delgado wrote:
>>
>>> Hello Alan
>>>
>>> Could you test if the parameter dma_chaining works on your board with
>>> the current kernel?
>>>
>>> #on the target
>>> modprobe net2280 use_dma_chaining=1 #(it it is already loaded, rmmod)
>>> dd if=/dev/zero of=/tmp/mem bs=256M count=1
>>> modprobe g_mass_storage file=/tmp/mem
>>>
>>> #on the host
>>> #Check if /dev/sdX has apperared
>>> dd if=/dev/sdX of=/dev/null
>>
>> It doesn't even come close to working.  The system grinds to a halt
>> when the UDC fails to send the third bulk-out packet.  The first two
>> packets get sent okay.
>
> Exactly the same that I am experiencing. I am preparing a patch that
> removes the option, does some dma cleanout and then add support for
> sg.
>
> I might ask you to test it in the future :)
>
> Thanks for your help!
>
>>
>> Alan Stern
>>
>
>
>
> --
> Ricardo Ribalda



-- 
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux