[PATCH v2 0/4] usb: host: xhci: cleanups and couple fixes

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

 



Hi Mathias,

These four patches help with two minor details in XHCI and also
implement a couple cleanups.

Patch 1 reduces the amount of memory used by our virt_device array by
discovering from the HW how many slots we can support.

Patch 2 makes COMP_STOP work when a Stop Endpoint command is issued
while we're still in SETUP stage. Note how I have also converted
on_data_stage and all the pointer mathing to more robust TRB type
matching.

Patch 3 just changes all pre-increments to post-increments.

Patch 4 removes a #if 0 from dbg code so we also print out XHCI's
revision when debugging.

Tested (albeit lightly with USB storage and keyboard + rootfs on another
USB storage) with a SKL box. Patches on top of today's next/master

Felipe Balbi (4):
  usb: host: xhci: dynamically allocate devs array
  usb: host: xhci: handle COMP_STOP from SETUP phase too
  usb: host: xhci: change pre-increments to post-increments
  usb: host: xhci: print HCIVERSION on debug

 drivers/usb/host/xhci-dbg.c  | 22 ++++++++++------------
 drivers/usb/host/xhci-hub.c  |  2 +-
 drivers/usb/host/xhci-mem.c  | 10 +++++-----
 drivers/usb/host/xhci-ring.c | 32 +++++++++++++++++++-------------
 drivers/usb/host/xhci.c      | 33 ++++++++++++++++++++++-----------
 drivers/usb/host/xhci.h      |  2 +-
 6 files changed, 58 insertions(+), 43 deletions(-)

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