From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C939C27C53 for ; Fri, 7 Jun 2024 09:22:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7/UpoZpdr6jmiRYgCDPKqwrnNssI3+3Io77WPrj1J/I=; b=AlVq0RWLuHrnoC Qpq7DWVM4IT7cKhjlLBwyHPMpFLypq8feyF/mIqieSqcTD8IPhwOJHwsgX8cwH4vowVYsr8NDySnt Wmobj6Nj29Ep7g8ruroOKHyjxi67fPco1MA063omOfHNSH1pM3/rfFM3+Pg8+/+W48d2MHFRg8v97 3l6YOteY67R1l7cijM4hoKcalpaeOqXQZfV4hEE7fd9d1us5HCKASiY9H3A218z9PV6UkrWWo5p5S 2gW0FluqIEFtmqqHNtqSW3mypGyPZpz5Qryop9iY2axbux/eNPqT2Mhy8u/oe3w2O2BlU5aEHqTKf K9MJ2CM5ADkXaHV0z8jQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFVnl-0000000DHz3-0eb4; Fri, 07 Jun 2024 09:22:25 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFVnh-0000000DHvu-131O for linux-arm-kernel@lists.infradead.org; Fri, 07 Jun 2024 09:22:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 31058CE1CF5; Fri, 7 Jun 2024 09:22:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEBACC32786; Fri, 7 Jun 2024 09:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717752138; bh=i87Nc6pwMyOziR5UsyM3i5Jx7xdBUnjr6/ThfnlGrVQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N0K3tGbOG/KlWvHC/ZEtFlYqv3Nb5yevw2PW0nItTW6wfEYD+fL0Uytt5tzqebPJm 6a0fESmeZBYbIFmpZtH0PobfZq9VKeCGEI1vUSzLFHWev8XyEzJwd1+9HhGHRem9JC Zc7G23Pk+TCQFw0COQem39+1Mpevm3+HXgWZuDk3l4OoBnUqY4fQ18oa6reGth02CP VDznnmzmbTu9Dt9xxylw9oYAvmQnQY9qCnNzoVVWRPJyQuB7qMEltbnCgOLvfYMJ07 Q0bvzFTTCh3Kork9WnKl9VJWG1EKWOuBEqJXCd1922kkSLk5EpMbndeisk7U5rB5UW a76JBfNY9vaDw== Date: Fri, 7 Jun 2024 11:22:07 +0200 From: Niklas Cassel To: Manivannan Sadhasivam Cc: Vignesh Raghavendra , Siddharth Vadapalli , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Minghuan Lian , Mingkai Hu , Roy Zang , Jesper Nilsson , Jingoo Han , Srikanth Thokala , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@axis.com, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, mhi@lists.linux.dev Subject: Re: [PATCH 4/5] PCI: qcom-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event Message-ID: References: <20240606-pci-deinit-v1-0-4395534520dc@linaro.org> <20240606-pci-deinit-v1-4-4395534520dc@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240606-pci-deinit-v1-4-4395534520dc@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240607_022221_753304_C2A90774 X-CRM114-Status: GOOD ( 17.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jun 06, 2024 at 12:56:37PM +0530, Manivannan Sadhasivam wrote: > Now that the API is available, let's make use of it. It also handles the > reinitialization of DWC non-sticky registers in addition to sending the > notification to EPF drivers. > > Reviewed-by: Niklas Cassel > Signed-off-by: Manivannan Sadhasivam > --- > drivers/pci/controller/dwc/pcie-qcom-ep.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c > index 2324e56c9bfc..02a2a871a91f 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c > +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c > @@ -641,7 +641,7 @@ static irqreturn_t qcom_pcie_ep_global_irq_thread(int irq, void *data) > if (FIELD_GET(PARF_INT_ALL_LINK_DOWN, status)) { > dev_dbg(dev, "Received Linkdown event\n"); > pcie_ep->link_status = QCOM_PCIE_EP_LINK_DOWN; > - pci_epc_linkdown(pci->ep.epc); > + dw_pcie_ep_linkdown(&pci->ep); > } else if (FIELD_GET(PARF_INT_ALL_BME, status)) { > dev_dbg(dev, "Received Bus Master Enable event\n"); > pcie_ep->link_status = QCOM_PCIE_EP_LINK_ENABLED; > > -- > 2.25.1 > Like Siddharth reported, this patch is already in pci/next. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel