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

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

diff --git a/queue-5.4/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch b/queue-5.4/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch
new file mode 100644 (file)
index 0000000..62bb9e5
--- /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 35c95eda7b6d9883d1cc9bb1f89d454baa140ebc 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
+@@ -807,8 +807,6 @@ static int qcom_pcie_get_resources_2_4_0
+                       return PTR_ERR(res->phy_ahb_reset);
+       }
+-      dw_pcie_dbi_ro_wr_dis(pci);
+-
+       return 0;
+ }
index e7fb127a7507af2ae2d1b71d0978eb299305706f..70927a15d84de83e1f004a7b6500fd51c1923530 100644 (file)
@@ -88,3 +88,4 @@ rbd-move-rbd_dev_refresh-definition.patch
 rbd-decouple-header-read-in-from-updating-rbd_dev-he.patch
 rbd-decouple-parent-info-read-in-from-updating-rbd_d.patch
 rbd-take-header_rwsem-in-rbd_dev_refresh-only-when-u.patch
+revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch