mbox series

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

Message ID 20230116142216.1141605-1-mathias.nyman@linux.intel.com
Headers show
Series usb and xhci fixes for usb-linus | expand

Message

Mathias Nyman Jan. 16, 2023, 2:22 p.m. UTC
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(-)