[PATCH 0/3] xHCI dynamic ring expansion patchset

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

 



Hi Sarah,

This is the patchset for xHCI dynamic ring expansion.

When room_on_ring() check fails, try to expand the ring with double segment
numbers. It's achieved by either finding a cached ring or allocating a new
ring with the same number of sgements as the old ring, then link the old ring
to the new ring. It fixes the "ERROR: no room on ring" error unless the
driver askes for a ring with more than 256 segments.

It's tested with an isoc device which requires at least 32 segments.
The patchset is based on AMD isoc link TRB quirk patch.

Thanks,
Andiry

---

Andiry Xu (3):
  xHCI: store ring's last segment and segment numbers
  xHCI: set cycle state when allocate rings
  xHCI: dynamic ring expansion

 drivers/usb/host/xhci-mem.c  |  132 +++++++++++++++++++++++++++++++++++-------
 drivers/usb/host/xhci-ring.c |   38 +++++++++----
 drivers/usb/host/xhci.h      |    5 ++
 3 files changed, 142 insertions(+), 33 deletions(-)

-- 
1.7.4.1


--
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