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 98C68EE4993 for ; Wed, 23 Aug 2023 16:12:36 +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=GJOF5Wk9gPKlYJ1mBTdHouwAhOwshdCWjZvyXDVU4J8=; b=T7WMMw8k+UqQpr 3+90vKHTLE6PK34Q9MrjwUn7spQft/GaFYiyX1m+h+x7vl8qJfQin1bmOEZ5K16mS3ZMSEIBb8lCo UivrvBDvhC/zlXXT0qll+jlbnzj8lExnxC+0OuGp9l68SIlC4ubSPPZwcoNsv1OL3lIoOkeEmsgrV SwtGG9KOEtQvphSA1fPan0NkewXgExNomNw/eB7Ig0txitZd7Ar2b1WKt8JJjexS4mOFp9oHPVaZ4 FqNjBeRfR9awuFmd/T5FtgpL3XAZCgQLaoOQtSptfqtA62vwDOFw2p8CUlkDCUWf+0uLs3OWz0nBi i95xKMfhlISORdA3pH7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qYqSj-00135o-0Z; Wed, 23 Aug 2023 16:12:05 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qYqSg-00134r-1t for linux-arm-kernel@lists.infradead.org; Wed, 23 Aug 2023 16:12:04 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 463B563ED6; Wed, 23 Aug 2023 16:12:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04537C433C8; Wed, 23 Aug 2023 16:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692807120; bh=pNHMDSofAvP8QX/d2Msi3h2uJ91bbmjTCRWGWU/RVIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A7TFU5kwyCBeCDZIsZVe2kTo4ubtSfffDk1Gy2QGeC8f3zJuI+Jg1rdeWOBjledj6 9lXcoK47lDbiRx/0n/lwu7/065jhnCVkVymkJHRVK7FJkvPcsYxgURmJPmUtZxLvT7 tjgTLbPelxBGZfPGI9uMhBiDdaVtvH6ruxbFB28vLCsPbrhdt7AmgbFpDTw0leLDMI pm1cKYnzISHsfFrU09v/nu8QIWekX5ODFbwCilNjrQYI3qh6Tl2KoaSBIoB7pyG+rV aseiaHA0pj0mOWPu2cDuYAGPn+eEScHvUyzYdhUOhDQ4nc0LIUXysvE0dySMtop8w0 qrvWeYRIkNesg== Date: Wed, 23 Aug 2023 18:11:53 +0200 From: Lorenzo Pieralisi To: Frank Li Cc: Zhiqiang.Hou@nxp.com, bhelgaas@google.com, imx@lists.linux.dev, kernel-janitors@vger.kernel.org, kw@linux.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mani@kernel.org, markus.elfring@web.de, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, robh@kernel.org, roy.zang@nxp.com, xiaowei.bao@nxp.com Subject: Re: [PATCH v4 1/2] PCI: layerscape: Add support for Link down notification Message-ID: References: <20230720135834.1977616-1-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230823_091202_690017_F1D342B0 X-CRM114-Status: GOOD ( 22.78 ) 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 Wed, Aug 16, 2023 at 11:53:16AM -0400, Frank Li wrote: > On Mon, Jul 31, 2023 at 11:06:31AM -0400, Frank Li wrote: > > On Thu, Jul 20, 2023 at 09:58:33AM -0400, Frank Li wrote: > > > Add support to pass Link down notification to Endpoint function driver > > > so that the LINK_DOWN event can be processed by the function. > > > > > > Acked-by: Manivannan Sadhasivam > > > Signed-off-by: Frank Li > > > --- > > > > @Lorenzo > > > > Could you please consider pick both patches? > > Manivannan already reviewed and only impact layerscape. > > @lorenzo: > ping I will have a look tomorrow. Lorenzo > > > > Frank > > > > > Change from v2 to v4 > > > - none > > > Change from v1 to v2 > > > > > > drivers/pci/controller/dwc/pci-layerscape-ep.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c > > > index de4c1758a6c3..e0969ff2ddf7 100644 > > > --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c > > > +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c > > > @@ -89,6 +89,7 @@ static irqreturn_t ls_pcie_ep_event_handler(int irq, void *dev_id) > > > dev_dbg(pci->dev, "Link up\n"); > > > } else if (val & PEX_PF0_PME_MES_DR_LDD) { > > > dev_dbg(pci->dev, "Link down\n"); > > > + pci_epc_linkdown(pci->ep.epc); > > > } else if (val & PEX_PF0_PME_MES_DR_HRD) { > > > dev_dbg(pci->dev, "Hot reset\n"); > > > } > > > -- > > > 2.34.1 > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel