Re: [patch 2.6.29] usb: ehci-sched.c: EHCI SITD scheduling bugfix (resend)

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

 



On Wed, Apr 15, 2009 at 8:48 PM, David Brownell <david-b@xxxxxxxxxxx> wrote:
> On Wednesday 15 April 2009, Dan Streetman wrote:
>> Yep, you are right on that point - so to adhere to spec, the TT
>> scheduler really does need to rebalance the TT schedule to put all the
>> interrupt transfers after isoc transfers.
>
> I'd not call that "rebalancing".  Rebalancing is when the
> arms of the schedule tree shift around.

True enough.

> In this case, all that's required is to make sure insertions
> follow the "ISO first" rule.  Which they should already be
> doing ... if they aren't, things will break.

I believe the issue is that in each uframe, the ordering is correct
(isoc then interrupt) but across uframes, during a single frame, there
is no logic to ensure all the isocs on the fullspeed bus are scheduled
before any of the interrupts.  I do believe that this works in most
cases, it's just in some cases it's possible to misorder the CSPLITs,
as Alan said.  Moving existing interrupts to later uframes may be
necessary.
--
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