RE: Possible bug in xhci-ring.c

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

 



From: Julius Werner
...
> Also, really the only reason later kernels work for that controller is
> because we don't handle the case where a TD wraps all the way around a
> whole multi-segment ring back to the same segment.

That is allowed because it would then be impossible to add another
ring segment.

FWIW segments are never added to the 'event' ring (very difficult to do)
so it could be changed to be a single segment.
There is a lot of 'common' code for event and command rings that has
separate conditionals for the two cases (so isn't common).
Splitting that code would make the driver easier to read (and faster).

	David

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





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

  Powered by Linux