Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5788106rwp; Mon, 17 Jul 2023 09:24:18 -0700 (PDT) X-Google-Smtp-Source: APBJJlEJztc7jspXIvBTTZjMR1j8PqLaGIgagprj28uyhBgA15pin79PZhiA0l7WyqLFHJl7TIiy X-Received: by 2002:a17:902:e989:b0:1b8:95fc:d19 with SMTP id f9-20020a170902e98900b001b895fc0d19mr75675plb.52.1689611058328; Mon, 17 Jul 2023 09:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689611058; cv=none; d=google.com; s=arc-20160816; b=pufSA93XCAeXSpeB2qtTxYbLtfES4bx8VcppRIEs+9ANRvQNidm4Hk1RlML4bMLhgZ pHQTj3Y6YLiTfH1R02jkKim8Ro7Lhgv9YSOZ8PELadQippcaDg5Kt7cEKcax6EYHNnSY JxnPBtp8eUlH/kB+VgrvDAwlG2I4mExZih8kEAYriAKAOvTs/4urLIVURngFRsUVOv9U CpwtSeETFWBqUqk3zq8XVBiSUsiHKiBa3NQ1X6yVq6Uaj+7P80ncCtUaYYS7fioidr9I 5+5snYHWjfujj8zNG2hHb55V9yVhlqoNZDK6bvA+hzWjdQtn8lA0ZhinN7q9ItH4JnhH VVHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KXRSn4U31xLOs+aWlgZ3BF6y9opFCPohZTFUxWtbOf8=; fh=ER0hl+FgAL2GynTj5//s9R7pPcKKycXMN+GKoec8nyc=; b=vHpu8gt3PZf8VVr5j37EGgZG3KOompMakxe3ncmnLr2I9Mi+ebBifmbWoq7uPZ9/6B gPx21GXdeRJpzmfr6GoITrEVdgeZFb/Wy80Q8eMNs292OS40zRTlw0gOri1ANgf/y08H UEgpy0Sz8b1jd3wS7LN9HkxWUh47ovuT2ydC4fNilKeUcy1B1ZACJSqdqWz6yJ0NMmFJ 2l4KQEYmSY50Bx3rtsk1fsdHbHTH+j7KUIaYJtL9XRUqzGwibvc6wGQB2hOleUOObOT2 s8kr+wqWLCtCkYU7+9nN+udgwFNuOlzztU38EMOz3w6m0uun2E2BlxtJodXCobBkVykT SBng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k+enAg08; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a17090340c900b001b23d721059si77932pld.317.2023.07.17.09.24.06; Mon, 17 Jul 2023 09:24:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k+enAg08; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231769AbjGQPuv (ORCPT + 99 others); Mon, 17 Jul 2023 11:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230058AbjGQPut (ORCPT ); Mon, 17 Jul 2023 11:50:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3675F138; Mon, 17 Jul 2023 08:50:48 -0700 (PDT) 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 C26EA6104F; Mon, 17 Jul 2023 15:50:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6617DC433C8; Mon, 17 Jul 2023 15:50:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689609047; bh=+rMoQPDyuHjq34bQZY45CDuMev7tzbig9uy0a4n0uAw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k+enAg08ANzgoCr4LR3Ab9k3J4+WeA7DRNZQ5HJ6XuN3YdWRCKI8Zrf71W4HzdL83 p9NkJt3P3LSG1wyDibJ94Ss0OmIrNrqogQxOc425nlbeInbTjV9EqZmdU4vNNpkr9G TAadskU4rxd1pSSDP8czEazIIlHAXfk/je5oPAlhFqzvZQW+wh2nBuP6x07vShAgYP bYNed0NNPfal4e3Ka1odzXCX42u6dMAthjS3tKlMx2hmyo/KRFysB9XGsqbge7q2Ud F8vjoGh/vcQNWwnqtyk/wqyOjoyshqzs+Jv62krNAqyT6nW3yl5kF/YcuKpyGLKrHy cmxNljSBY1KUA== Date: Mon, 17 Jul 2023 21:20:31 +0530 From: Manivannan Sadhasivam To: Frank Li Cc: Minghuan Lian , Mingkai Hu , Roy Zang , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , "open list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , "open list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , "moderated list:PCI DRIVER FOR FREESCALE LAYERSCAPE" , open list , imx@lists.linux.dev Subject: Re: [PATCH 1/2] PCI: layerscape: Add support for Link down notification Message-ID: <20230717155031.GA35455@thinkpad> References: <20230615164113.2270698-1-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230615164113.2270698-1-Frank.Li@nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 15, 2023 at 12:41:11PM -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. > > Signed-off-by: Frank Li One nit below. With that, Acked-by: Manivannan Sadhasivam > --- > 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..4e4fdd1dfea7 100644 > --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c > +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c > @@ -88,6 +88,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) { > + pci_epc_linkdown(pci->ep.epc); It'd be good to move this call after dev_dbg(). - Mani > dev_dbg(pci->dev, "Link down\n"); > } else if (val & PEX_PF0_PME_MES_DR_HRD) { > dev_dbg(pci->dev, "Hot reset\n"); > -- > 2.34.1 > -- மணிவண்ணன் சதாசிவம்