Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

xhci: Allow RPM on the USB controller (1022:43f7) by default

Enable runtime PM by default for older AMD 1022:43f7 xHCI 1.1 host as it
is proven to work.
Driver enables runtime PM by default for newer xHCI 1.2 host.

Link: https://lore.kernel.org/all/12335218.O9o76ZdvQC@natalenko.name/
Cc: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20240304054327.2564500-1-Basavaraj.Natikar@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Basavaraj Natikar and committed by
Greg Kroah-Hartman
28cbed49 e9b4197e

+4 -1
+4 -1
drivers/usb/host/xhci-pci.c
··· 307 307 xhci->quirks |= XHCI_RESET_ON_RESUME; 308 308 } 309 309 310 - if (pdev->vendor == PCI_VENDOR_ID_AMD) 310 + if (pdev->vendor == PCI_VENDOR_ID_AMD) { 311 311 xhci->quirks |= XHCI_TRUST_TX_LENGTH; 312 + if (pdev->device == 0x43f7) 313 + xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; 314 + } 312 315 313 316 if ((pdev->vendor == PCI_VENDOR_ID_AMD) && 314 317 ((pdev->device == PCI_DEVICE_ID_AMD_PROMONTORYA_4) ||