Skip to content

usb and xhci fixes for usb-linus

Mathias Nyman linux-usb stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xhci-pci: set the dma max_seg_sizedrivers/usb/host/xhci-pci.c+2 -00 replies
2/7usb: xhci: Check endpoint is valid before dereferencing itdrivers/usb/host/xhci-ring.c+4 -16 replies
3/7xhci: Fix null pointer dereference when host diesdrivers/usb/host/xhci.c+5 -00 replies
4/7xhci: Add update_hub_device override for PCI xHCI hostsdrivers/usb/host/xhci-pci.c drivers/usb/host/xhci.c drivers/usb/host/xhci.h+17 -10 replies
5/7xhci: Add a flag to disable USB3 lpm on a xhci root port level.drivers/usb/host/xhci.c drivers/usb/host/xhci.h+9 -00 replies
6/7usb: acpi: add helper to check port lpm capability using acpi _DSMdrivers/usb/core/usb-acpi.c include/linux/usb.h+68 -00 replies
7/7xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tablesdrivers/usb/host/xhci-pci.c+34 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchRon Lee
1/7
2/7
3/7
4/7
5/7
6/7T-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] usb and xhci fixes for usb-linus

Hi Greg

A few fixes for usb-linus.

Biggest change is checking from ACPI tables if OS needs to disable USB3 U1/U2 LPM states for a port, even if both the host and device supports LPM.
This can be the case if the system uses a USB3 U1/U2 incapable retimer for a port.

This touches usb-acpi code in usb core.

Thanks
-Mathias

Jimmy Hu (1):
usb: xhci: Check endpoint is valid before dereferencing it

Mathias Nyman (5):
xhci: Fix null pointer dereference when host dies
xhci: Add update_hub_device override for PCI xHCI hosts
xhci: Add a flag to disable USB3 lpm on a xhci root port level.
usb: acpi: add helper to check port lpm capability using acpi _DSM
xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables

Ricardo Ribalda (1):
xhci-pci: set the dma max_seg_size

 drivers/usb/core/usb-acpi.c  | 65 ++++++++++++++++++++++++++++++++++++
 drivers/usb/host/xhci-pci.c  | 45 +++++++++++++++++++++++++
 drivers/usb/host/xhci-ring.c |  5 ++-
 drivers/usb/host/xhci.c      | 18 +++++++++-
 drivers/usb/host/xhci.h      |  5 +++
 include/linux/usb.h          |  3 ++
 6 files changed, 139 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.1