]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Sep 2022 07:49:08 +0000 (09:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Sep 2022 07:49:08 +0000 (09:49 +0200)
added patches:
usb-dwc3-pci-allow-elkhart-lake-to-utilize-dsm-method-for-pm-functionality.patch

queue-4.19/series
queue-4.19/usb-dwc3-pci-allow-elkhart-lake-to-utilize-dsm-method-for-pm-functionality.patch [new file with mode: 0644]

index 794f5e6deddbe798fde0fd0f46106a208f8841bf..b65b05fcfeba36383cf9f4a5805548d4393fa39c 100644 (file)
@@ -55,3 +55,4 @@ drm-amd-display-limit-user-regamma-to-a-valid-value.patch
 drm-rockchip-fix-return-type-of-cdn_dp_connector_mod.patch
 workqueue-don-t-skip-lockdep-work-dependency-in-canc.patch
 ext4-make-directory-inode-spreading-reflect-flexbg-size.patch
+usb-dwc3-pci-allow-elkhart-lake-to-utilize-dsm-method-for-pm-functionality.patch
diff --git a/queue-4.19/usb-dwc3-pci-allow-elkhart-lake-to-utilize-dsm-method-for-pm-functionality.patch b/queue-4.19/usb-dwc3-pci-allow-elkhart-lake-to-utilize-dsm-method-for-pm-functionality.patch
new file mode 100644 (file)
index 0000000..ec5a1f2
--- /dev/null
@@ -0,0 +1,39 @@
+From a609ce2a13360d639b384b6ca783b38c1247f2db Mon Sep 17 00:00:00 2001
+From: Raymond Tan <raymond.tan@intel.com>
+Date: Fri, 21 Aug 2020 16:11:01 +0300
+Subject: usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
+
+From: Raymond Tan <raymond.tan@intel.com>
+
+commit a609ce2a13360d639b384b6ca783b38c1247f2db upstream.
+
+Similar to some other IA platforms, Elkhart Lake too depends on the
+PMU register write to request transition of Dx power state.
+
+Thus, we add the PCI_DEVICE_ID_INTEL_EHLLP to the list of devices that
+shall execute the ACPI _DSM method during D0/D3 sequence.
+
+[heikki.krogerus@linux.intel.com: included Fixes tag]
+
+Fixes: dbb0569de852 ("usb: dwc3: pci: Add Support for Intel Elkhart Lake Devices")
+Cc: stable@vger.kernel.org
+Signed-off-by: Raymond Tan <raymond.tan@intel.com>
+Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
+Signed-off-by: Felipe Balbi <balbi@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/usb/dwc3/dwc3-pci.c |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/drivers/usb/dwc3/dwc3-pci.c
++++ b/drivers/usb/dwc3/dwc3-pci.c
+@@ -149,7 +149,8 @@ static int dwc3_pci_quirks(struct dwc3_p
+       if (pdev->vendor == PCI_VENDOR_ID_INTEL) {
+               if (pdev->device == PCI_DEVICE_ID_INTEL_BXT ||
+-                              pdev->device == PCI_DEVICE_ID_INTEL_BXT_M) {
++                  pdev->device == PCI_DEVICE_ID_INTEL_BXT_M ||
++                  pdev->device == PCI_DEVICE_ID_INTEL_EHLLP) {
+                       guid_parse(PCI_INTEL_BXT_DSM_GUID, &dwc->guid);
+                       dwc->has_dsm_for_pm = true;
+               }