Re: [PATCH] usb: dwc3: Fix assignment of EP transfer resources

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

 



Hi,

John Youn <John.Youn@xxxxxxxxxxxx> writes:
> On 2/10/2016 1:07 PM, Felipe Balbi wrote:
>> John Youn <John.Youn@xxxxxxxxxxxx> writes:
>>>>> Basically assign all the resources in advance.
>>>>
>>>> I thought about that, but wouldn't this, essentially, enable all
>>>> endpoints unconditionally ? This could, potentially, increase power
>>>> consumption on some systems, right ? This could also cause "spurious"
>>>> interrupts if a bogus host tries to move data on an endpoint which
>>>> hasn't been enabled yet.
>>>
>>> No, I mean to just assign resources withouth configuring or enabling
>>> the endpoint. I have tested this approach and it works. But I still
>> 
>> oh ok. 
>> 
>>> need to verify that it won't conflict with anything, such as streams.
>> 
>> yeah, we would probably have an issue with streams. IIRC, we allocate
>> one transfer resource per stream, right ?
>
> Ends up that is not a concern. Streams always use a single resource
> per endpoint, not stream.

hey, that's great. So what's the idea ? static resource assignment on
endpoint initialization ?

-- 
balbi

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux