From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42A903419D for ; Mon, 9 Oct 2023 13:53:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="iG54fYZB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC0C9C433C9; Mon, 9 Oct 2023 13:53:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1696859602; bh=Eld1f+wXYRYkCJfhmaeyyQ5D963XGgnLkjA4IuJQoyA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iG54fYZB/mehc2CktaxH2A2f3v5CnVuZIXnas5AjCf7EdKOBGGYS+FKW2egBHi8Rq LTjPbd/E2riaqsr9nD/85QiD3x/SaeoBBfBnSKZfI+M5M+tSwm4mKBLBnXLfsSsndZ Tx3hqd/u4Fg5ednaMpVQa9RzONxvuxxSeDaXfqnY= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Ben Hutchings Subject: [PATCH 4.19 65/91] Revert "PCI: qcom: Disable write access to read only registers for IP v2.3.3" Date: Mon, 9 Oct 2023 15:06:37 +0200 Message-ID: <20231009130113.754883469@linuxfoundation.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231009130111.518916887@linuxfoundation.org> References: <20231009130111.518916887@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Greg Kroah-Hartman 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 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 @@ -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; }