* [PATCH] xhci-pci: Allow host runtime PM as default for Intel Alpine LP
@ 2020-11-23 15:11 Hans de Goede
2020-11-23 15:45 ` Mika Westerberg
0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2020-11-23 15:11 UTC (permalink / raw)
To: Mathias Nyman, Greg Kroah-Hartman
Cc: Hans de Goede, Mika Westerberg, linux-usb
The xhci controller on Alpine Ridge LP keeps the whole thunderbolt
controller awake if the host controller is not allowed to sleep.
This is the case even if no USB devices are connected to the host.
Add the Intel Alpine LP product-id to the list of product-ids
for which we allow runtime PM by default.
Fixes: 2815ef7fe4d4 ("xhci-pci: allow host runtime PM as default for Intel Alpine and Titan Ridge")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
drivers/usb/host/xhci-pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index bf89172c43ca..5f94d7edeb37 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -47,6 +47,7 @@
#define PCI_DEVICE_ID_INTEL_DNV_XHCI 0x19d0
#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI 0x15b5
#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI 0x15b6
+#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI 0x15c1
#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI 0x15db
#define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI 0x15d4
#define PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI 0x15e9
@@ -232,6 +233,7 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
if (pdev->vendor == PCI_VENDOR_ID_INTEL &&
(pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_2C_XHCI ||
pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_XHCI ||
+ pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_LP_XHCI ||
pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_2C_XHCI ||
pdev->device == PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_C_4C_XHCI ||
pdev->device == PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_XHCI ||
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] xhci-pci: Allow host runtime PM as default for Intel Alpine LP
2020-11-23 15:11 [PATCH] xhci-pci: Allow host runtime PM as default for Intel Alpine LP Hans de Goede
@ 2020-11-23 15:45 ` Mika Westerberg
2020-11-23 15:46 ` Mika Westerberg
0 siblings, 1 reply; 3+ messages in thread
From: Mika Westerberg @ 2020-11-23 15:45 UTC (permalink / raw)
To: Hans de Goede; +Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb
Hi Hans,
Few minor comments below :)
On Mon, Nov 23, 2020 at 04:11:40PM +0100, Hans de Goede wrote:
> The xhci controller on Alpine Ridge LP keeps the whole thunderbolt
^^^^ ^^^^^^^^^^^
xHCI Thunderbolt
> controller awake if the host controller is not allowed to sleep.
> This is the case even if no USB devices are connected to the host.
>
> Add the Intel Alpine LP product-id to the list of product-ids
^
Ridge
> for which we allow runtime PM by default.
>
> Fixes: 2815ef7fe4d4 ("xhci-pci: allow host runtime PM as default for Intel Alpine and Titan Ridge")
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] xhci-pci: Allow host runtime PM as default for Intel Alpine LP
2020-11-23 15:45 ` Mika Westerberg
@ 2020-11-23 15:46 ` Mika Westerberg
0 siblings, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2020-11-23 15:46 UTC (permalink / raw)
To: Hans de Goede; +Cc: Mathias Nyman, Greg Kroah-Hartman, linux-usb
Forgot to say, $subject also should say "Alpine Ridge LP".
On Mon, Nov 23, 2020 at 05:45:24PM +0200, Mika Westerberg wrote:
> Hi Hans,
>
> Few minor comments below :)
>
> On Mon, Nov 23, 2020 at 04:11:40PM +0100, Hans de Goede wrote:
> > The xhci controller on Alpine Ridge LP keeps the whole thunderbolt
> ^^^^ ^^^^^^^^^^^
> xHCI Thunderbolt
>
>
> > controller awake if the host controller is not allowed to sleep.
> > This is the case even if no USB devices are connected to the host.
> >
> > Add the Intel Alpine LP product-id to the list of product-ids
> ^
> Ridge
>
> > for which we allow runtime PM by default.
> >
> > Fixes: 2815ef7fe4d4 ("xhci-pci: allow host runtime PM as default for Intel Alpine and Titan Ridge")
> > Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>
> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-23 15:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 15:11 [PATCH] xhci-pci: Allow host runtime PM as default for Intel Alpine LP Hans de Goede
2020-11-23 15:45 ` Mika Westerberg
2020-11-23 15:46 ` Mika Westerberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.