]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 12:00:59 +0000 (14:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Oct 2023 12:00:59 +0000 (14:00 +0200)
added patches:
revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch

queue-4.19/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch b/queue-4.19/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch
new file mode 100644 (file)
index 0000000..73ee65b
--- /dev/null
@@ -0,0 +1,31 @@
+From 8984914079fc4f0e4db8ef4d9727ab7f612e4109 Mon Sep 17 00:00:00 2001
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Date: Sat, 7 Oct 2023 13:57:34 +0200
+Subject: Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3"
+
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+This reverts commit 3a4ecf4c9d793d0ecd07fc49cd76a2e24652d3b7 which is
+commit a33d700e8eea76c62120cb3dbf5e01328f18319a upstream.
+
+It was applied to the incorrect function as the original function the
+commit changed is not in this kernel branch.
+
+Reported-by: Ben Hutchings <ben@decadent.org.uk>
+Link: https://lore.kernel.org/r/f23affddab4d8b3cc07508f2d8735d88d823821d.camel@decadent.org.uk
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/pci/controller/dwc/pcie-qcom.c |    2 --
+ 1 file changed, 2 deletions(-)
+
+--- a/drivers/pci/controller/dwc/pcie-qcom.c
++++ b/drivers/pci/controller/dwc/pcie-qcom.c
+@@ -758,8 +758,6 @@ static int qcom_pcie_get_resources_2_4_0
+       if (IS_ERR(res->phy_ahb_reset))
+               return PTR_ERR(res->phy_ahb_reset);
+-      dw_pcie_dbi_ro_wr_dis(pci);
+-
+       return 0;
+ }
index b89099e88d126df711175a3cc900e6c8bcdde38c..0b06fc6cc6d1469c96a73e30c8e223d9a378ecf9 100644 (file)
@@ -68,3 +68,4 @@ ext4-fix-rec_len-verify-error.patch
 ata-libata-disallow-dev-initiated-lpm-transitions-to-unsupported-states.patch
 revert-drivers-core-use-sysfs_emit-and-sysfs_emit_at-for-show-device-...-functions.patch
 media-dvb-symbol-fixup-for-dvb_attach-again.patch
+revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch