From 8cd55027f716eccc2f0eb78f3c0b8005e62c634d Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sat, 7 Oct 2023 14:01:19 +0200 Subject: [PATCH] 5.10-stable patches added patches: revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch --- ...to-read-only-registers-for-ip-v2.3.3.patch | 31 +++++++++++++++++++ queue-5.10/series | 1 + 2 files changed, 32 insertions(+) create mode 100644 queue-5.10/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch diff --git a/queue-5.10/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch b/queue-5.10/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch new file mode 100644 index 00000000000..ab8ec0990e9 --- /dev/null +++ b/queue-5.10/revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch @@ -0,0 +1,31 @@ +From 8984914079fc4f0e4db8ef4d9727ab7f612e4109 Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +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 + +This reverts commit 48e11e7c81b91002a120a513312a4de9f5ba7f08 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 +Link: https://lore.kernel.org/r/f23affddab4d8b3cc07508f2d8735d88d823821d.camel@decadent.org.uk +Signed-off-by: Greg Kroah-Hartman +--- + 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 +@@ -771,8 +771,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; + } + diff --git a/queue-5.10/series b/queue-5.10/series index 46710488dd4..856642262a9 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -176,3 +176,4 @@ rbd-decouple-parent-info-read-in-from-updating-rbd_d.patch rbd-take-header_rwsem-in-rbd_dev_refresh-only-when-u.patch block-fix-use-after-free-of-q-q_usage_counter.patch revert-clk-imx-pll14xx-dynamically-configure-pll-for-393216000-361267200hz.patch +revert-pci-qcom-disable-write-access-to-read-only-registers-for-ip-v2.3.3.patch -- 2.47.3