Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp647433lqt; Thu, 6 Jun 2024 14:08:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMQl9g2CrQnBNmm1wsdTPLHezyFrUpzQjXqml4n1ABpGt+mOV//B9e2UCQgMCB3XpuLTyDH+dqqBAC0g0OXN+nThxAGcGxklXKTcJL5g== X-Google-Smtp-Source: AGHT+IGrmM88UfsDXZFHVBX8ii70b5my6zoJ48yADThU+b46wwOy7Rtw1MlgUxxu7TPoiYTSYdVb X-Received: by 2002:a17:906:2f89:b0:a66:e009:eb53 with SMTP id a640c23a62f3a-a6cd5613d45mr55774866b.13.1717708122565; Thu, 06 Jun 2024 14:08:42 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dba2esi104145966b.330.2024.06.06.14.08.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 14:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=oUEVBbCz; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-205029-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205029-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 18DB71F2437C for ; Thu, 6 Jun 2024 21:08:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E55E1BDEF; Thu, 6 Jun 2024 21:08:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="oUEVBbCz" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2079.outbound.protection.outlook.com [40.107.105.79]) (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 0EE22482E9; Thu, 6 Jun 2024 21:08:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.79 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717708110; cv=fail; b=SdvUSXxlgo2K63FBs0xJmAm3UE4KOV6RQzf0KzpArP6Zxckkco+2sGuaSC1DPSsNX6YrE+JrrzOU7Xjco1TtsM7mHTm3DkNa9ePjkclPyf8sAjb7CemyE3d0/hWGgdvsLI54Ytbsqs2/3eRgHpB+sqKB5awA5PHG5tzdNrM43is= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717708110; c=relaxed/simple; bh=vQWrh/UD8Z6d775rhUAYJ74o98HPub2I9YA5zFLdVqw=; h=Date:From:To:Cc:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=HOKbbX0Wryv5NLtcLneMWsZHqOviKa/Mu8vLipbU/eGYJOJJciuFwcF7arzhpg6WXuGhrCkxnC1KuSrv2sZzZBHKAAfV+Yt9tR9UQq1cr4a+viz4n92ofpEFL9MYhnV9CHxzl+SXMr3AVg6w7/RBpuE6f/SBJBC5AIUPxuMnFXU= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=oUEVBbCz; arc=fail smtp.client-ip=40.107.105.79 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kto19UZ43U+WUDF4Mq0YduH4hgJ535PaW70zvF9baqrAaB8mllNDiyG4Yceo3dirAt1ChNErzG6ikUhdW0Ut9GQ7ww6Z7a2LSQfb0PPYsBTDWJm2U6xQDvpqgySkgCsN+xQPZUMw+DeVDoolxOM/D/Z6ZW//j10MmAkO3ZrPmPwPW0UlEzg+ypahdE2b2arF5DDB6OrCliYQh5Fg5R7dId89Qcotwt1WIAk25ZCsjF8BvuHzKbNE14X6BX9ag9DvMD+xi/13MJOZnRs9phPmIOxDD+3ImbHWiTtQC15SFO6UeV7u2v5f07Xe4dwkH7h5T+efJwgf5U1aME56SEZnKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RS8ppJdVLQhrDqPtrigWBnclXjVsMSL2ukpQoSTMuec=; b=W6xWZuV5Srk9yTRBoxtbW3Fb9r3O4cDO2Jj4fNrmGcIHwke+eTNPZ+qVLjp1jEwSERZRm1mXeZ26OCeEE3zDTxKkh/jSn+lVYQayDA8LoHT3vwhIz5LcClLjwqV7U0gpohL/sSS78snyLRroU8y+i6hSPSUqFBJZiaNEn8CW9OnfAg5UchAtK3iLS0RvWgjtvtByo0N5e3ooxprZ5yPBLNOJBUHAIGG8twSDe7LM0bLPZHzFPjR3Ehk/t+caGSy+hSEVeYBB4R1D0k7jxylnAR+ePOHcUj9XSAWdTAv3lRrGES7B9mcke8QYcDVZ1uw6Da6DTKqaNLjhQBCGVyb5Bw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RS8ppJdVLQhrDqPtrigWBnclXjVsMSL2ukpQoSTMuec=; b=oUEVBbCzXhQFc5gMcYVbw3QgUhc1f9H/S+H/vuA2mt3hp6EBZuYhOwH7bFBpCvMYecZjYrjcl4+Jy7xKQ4IuTqNi0UatTnja1ZxPMcMwQ8xHESQMMseqScLrC6cHuR3IlgAr8sfOp3lc6FEexYlLyBrTWjp0bWvslFKGHlMdCoY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PA1PR04MB10208.eurprd04.prod.outlook.com (2603:10a6:102:454::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.33; Thu, 6 Jun 2024 21:08:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7633.021; Thu, 6 Jun 2024 21:08:24 +0000 Date: Thu, 6 Jun 2024 17:08:11 -0400 From: Frank Li 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, Niklas Cassel , Bjorn Helgaas Subject: Re: [PATCH 1/5] PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper Message-ID: References: <20240606-pci-deinit-v1-0-4395534520dc@linaro.org> <20240606-pci-deinit-v1-1-4395534520dc@linaro.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240606-pci-deinit-v1-1-4395534520dc@linaro.org> X-ClientProxiedBy: BYAPR05CA0081.namprd05.prod.outlook.com (2603:10b6:a03:e0::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA1PR04MB10208:EE_ X-MS-Office365-Filtering-Correlation-Id: 57b188bb-ae03-4173-6833-08dc866ccd86 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|7416005|52116005|376005|1800799015|38350700005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?Cmp9kucf6joiw40WJjqx/DWOofgKQ8wuoVNX5FIBCM6jLCgTUwM1iWRhhXVV?= =?us-ascii?Q?mUG4T5lD4VyiboC9aAB+yLuj3nASw5FlFjqsglefQK2BEPRzdMIYDlu0A6cB?= =?us-ascii?Q?56u2e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jv?= =?us-ascii?Q?/XNo9/xsMeHLTyhubEtwgYeEC0018Y3d286FHts8wXL/13S4X5cdHwci+Hd1?= =?us-ascii?Q?BCxk14QZDJNq9N7ht9+ZbnRXRduXybmO0eaEfKiuQcBnzVshp7edKN1FjTCy?= =?us-ascii?Q?phuzNUIH8WF5YMLZ3iCmi3RN2Yzf+EU+YjJxklUAJHNoo6FOYpeco6QpHmdv?= =?us-ascii?Q?e5Pb+LlIuGIttDWka7m+EjuBy5z7g+rQHJtlKaQHdSnh6WAC+a4Xrb9Nndv8?= =?us-ascii?Q?N+CPP5P+9tgYEkLU8UC7xtdsQgDvOMruh0/89srgGSVIul6b+wtf1pDk1zyl?= =?us-ascii?Q?Lu7ziatrrYcl1Th49NnRuL3kHbRi1Zp3YIan1OvbRBrvHFsmVaTEGbHwxa/i?= =?us-ascii?Q?tD7sY8Y=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(7416005)(52116005)(376005)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?gO+aqO65ljzF9JhriNTewCs2lCm1zkQIiqPf8UQzjuIcDruY+nvirlsy9erP?= =?us-ascii?Q?8rKtDBzV2hZYGcM9NxGAm7HZ5MkefJ4VuLLZjsPZeqWMwgwzW7UJA2mP9Qk/?= =?us-ascii?Q?Z8RGpngyOuigbSFZac8et+fUxSNtYgTPnxVeKTQsp0TG2FefE4CVE/wwnmGg?= =?us-ascii?Q?zNUaQ7X4mCDfyz8zVh5cFsAGh7mNTx2mlo0JlzVRaEyRkTujv+mpLWJh4cxa?= =?us-ascii?Q?Ji8Lg4QCMrMPppDiOJ+5+1qw4z5UVDhIkjiuHaNcYFbZJc+N4MS6GuDg1uB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TAOEWeYVnDqpUI4VTqIGv1+mClTYQLY9?= =?us-ascii?Q?ArG6vWZYRBiPaTpxKm4g+FXazsIeurzB7IGN0UYth9dDQ353vwMrOdbVD6l4?= =?us-ascii?Q?zT99rhsARnQCx1z/h89/14h62In9UaljX9aqqscwGMlF7NBoeWXvR0QVV+El?= =?us-ascii?Q?IZvoFfXrOGeG53eIvuqK7duY0Dz9lA33aTzRRu6Ey25hBg4oBOSnloGmIAWx?= =?us-ascii?Q?uHMo/9shoswEqG31el5hb6y+fdGRf0zLI0TZjTY9fVAiUA1Tr030i8xmiffz?= =?us-ascii?Q?UHxNfGZUtf4/T6bqBFhen9iy0X0Fvu/P2XL5FGOY6GAMtIMStFhZbPFTwojc?= =?us-ascii?Q?g/XQa9UBC2mY6TWKkvsMUUA17KAOWQfL9iiMM0SURKBrT5xvEaK+w3a28Nue?= =?us-ascii?Q?OMB/SO67CBY+5maDUU2jG3TkieDR4dGw64ICmBvl?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57b188bb-ae03-4173-6833-08dc866ccd86 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2024 21:08:24.4682 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bDTq7qRU3pMpwxMqjXkkuzHwRKY/OTUQRpwCsQon00Uz/7Fjb8y4AC6jYjUHgVvcwsBf58XyUV4LsrO524ZYFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA1PR04MB10208 On Thu, Jun 06, 2024 at 12:56:34PM +0530, Manivannan Sadhasivam wrote: > Currently dw_pcie_ep_init_notify() wrapper just calls pci_epc_init_notify() > directly. So this wrapper provides no benefit to the glue drivers. > > So let's remove it and call pci_epc_init_notify() directly from glue > drivers. > > Suggested-by: Bjorn Helgaas > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Frank Li > --- > drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- > drivers/pci/controller/dwc/pci-imx6.c | 2 +- > drivers/pci/controller/dwc/pci-keystone.c | 2 +- > drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 +- > drivers/pci/controller/dwc/pcie-artpec6.c | 2 +- > drivers/pci/controller/dwc/pcie-designware-ep.c | 12 ------------ > drivers/pci/controller/dwc/pcie-designware-plat.c | 2 +- > drivers/pci/controller/dwc/pcie-designware.h | 5 ----- > drivers/pci/controller/dwc/pcie-keembay.c | 2 +- > drivers/pci/controller/dwc/pcie-qcom-ep.c | 2 +- > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 2 +- > drivers/pci/controller/dwc/pcie-tegra194.c | 2 +- > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 2 +- > 13 files changed, 11 insertions(+), 28 deletions(-) > > diff --git a/drivers/pci/controller/dwc/pci-dra7xx.c b/drivers/pci/controller/dwc/pci-dra7xx.c > index d2d17d37d3e0..e491d0ff3962 100644 > --- a/drivers/pci/controller/dwc/pci-dra7xx.c > +++ b/drivers/pci/controller/dwc/pci-dra7xx.c > @@ -474,7 +474,7 @@ static int dra7xx_add_pcie_ep(struct dra7xx_pcie *dra7xx, > return ret; > } > > - dw_pcie_ep_init_notify(ep); > + pci_epc_init_notify(ep->epc); > > return 0; > } > diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c > index 917c69edee1d..a876b8e6e741 100644 > --- a/drivers/pci/controller/dwc/pci-imx6.c > +++ b/drivers/pci/controller/dwc/pci-imx6.c > @@ -1131,7 +1131,7 @@ static int imx6_add_pcie_ep(struct imx6_pcie *imx6_pcie, > return ret; > } > > - dw_pcie_ep_init_notify(ep); > + pci_epc_init_notify(ep->epc); > > /* Start LTSSM. */ > imx6_pcie_ltssm_enable(dev); > diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c > index d3a7d14ee685..ca1054f5c79a 100644 > --- a/drivers/pci/controller/dwc/pci-keystone.c > +++ b/drivers/pci/controller/dwc/pci-keystone.c > @@ -1293,7 +1293,7 @@ static int ks_pcie_probe(struct platform_device *pdev) > goto err_ep_init; > } > > - dw_pcie_ep_init_notify(&pci->ep); > + pci_epc_init_notify(pci->ep.epc); > > break; > default: > diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c > index 7dde6d5fa4d8..35bb481564c7 100644 > --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c > +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c > @@ -286,7 +286,7 @@ static int __init ls_pcie_ep_probe(struct platform_device *pdev) > return ret; > } > > - dw_pcie_ep_init_notify(&pci->ep); > + pci_epc_init_notify(pci->ep.epc); > > return ls_pcie_ep_interrupt_init(pcie, pdev); > } > diff --git a/drivers/pci/controller/dwc/pcie-artpec6.c b/drivers/pci/controller/dwc/pcie-artpec6.c > index a4630b92489b..dc8dd7f27b78 100644 > --- a/drivers/pci/controller/dwc/pcie-artpec6.c > +++ b/drivers/pci/controller/dwc/pcie-artpec6.c > @@ -452,7 +452,7 @@ static int artpec6_pcie_probe(struct platform_device *pdev) > return ret; > } > > - dw_pcie_ep_init_notify(&pci->ep); > + pci_epc_init_notify(pci->ep.epc); > > break; > default: > diff --git a/drivers/pci/controller/dwc/pcie-designware-ep.c b/drivers/pci/controller/dwc/pcie-designware-ep.c > index 47391d7d3a73..2e69f81baf99 100644 > --- a/drivers/pci/controller/dwc/pcie-designware-ep.c > +++ b/drivers/pci/controller/dwc/pcie-designware-ep.c > @@ -27,18 +27,6 @@ void dw_pcie_ep_linkup(struct dw_pcie_ep *ep) > } > EXPORT_SYMBOL_GPL(dw_pcie_ep_linkup); > > -/** > - * dw_pcie_ep_init_notify - Notify EPF drivers about EPC initialization complete > - * @ep: DWC EP device > - */ > -void dw_pcie_ep_init_notify(struct dw_pcie_ep *ep) > -{ > - struct pci_epc *epc = ep->epc; > - > - pci_epc_init_notify(epc); > -} > -EXPORT_SYMBOL_GPL(dw_pcie_ep_init_notify); > - > /** > * dw_pcie_ep_get_func_from_ep - Get the struct dw_pcie_ep_func corresponding to > * the endpoint function > diff --git a/drivers/pci/controller/dwc/pcie-designware-plat.c b/drivers/pci/controller/dwc/pcie-designware-plat.c > index 8490c5d6ff9f..771b9d9be077 100644 > --- a/drivers/pci/controller/dwc/pcie-designware-plat.c > +++ b/drivers/pci/controller/dwc/pcie-designware-plat.c > @@ -154,7 +154,7 @@ static int dw_plat_pcie_probe(struct platform_device *pdev) > dw_pcie_ep_deinit(&pci->ep); > } > > - dw_pcie_ep_init_notify(&pci->ep); > + pci_epc_init_notify(pci->ep.epc); > > break; > default: > diff --git a/drivers/pci/controller/dwc/pcie-designware.h b/drivers/pci/controller/dwc/pcie-designware.h > index f8e5431a207b..49ae845a3662 100644 > --- a/drivers/pci/controller/dwc/pcie-designware.h > +++ b/drivers/pci/controller/dwc/pcie-designware.h > @@ -670,7 +670,6 @@ static inline void __iomem *dw_pcie_own_conf_map_bus(struct pci_bus *bus, > void dw_pcie_ep_linkup(struct dw_pcie_ep *ep); > int dw_pcie_ep_init(struct dw_pcie_ep *ep); > int dw_pcie_ep_init_registers(struct dw_pcie_ep *ep); > -void dw_pcie_ep_init_notify(struct dw_pcie_ep *ep); > void dw_pcie_ep_deinit(struct dw_pcie_ep *ep); > void dw_pcie_ep_cleanup(struct dw_pcie_ep *ep); > int dw_pcie_ep_raise_intx_irq(struct dw_pcie_ep *ep, u8 func_no); > @@ -698,10 +697,6 @@ static inline int dw_pcie_ep_init_registers(struct dw_pcie_ep *ep) > return 0; > } > > -static inline void dw_pcie_ep_init_notify(struct dw_pcie_ep *ep) > -{ > -} > - > static inline void dw_pcie_ep_deinit(struct dw_pcie_ep *ep) > { > } > diff --git a/drivers/pci/controller/dwc/pcie-keembay.c b/drivers/pci/controller/dwc/pcie-keembay.c > index 98bbc83182b4..278205db60a2 100644 > --- a/drivers/pci/controller/dwc/pcie-keembay.c > +++ b/drivers/pci/controller/dwc/pcie-keembay.c > @@ -442,7 +442,7 @@ static int keembay_pcie_probe(struct platform_device *pdev) > return ret; > } > > - dw_pcie_ep_init_notify(&pci->ep); > + pci_epc_init_notify(pci->ep.epc); > > break; > default: > diff --git a/drivers/pci/controller/dwc/pcie-qcom-ep.c b/drivers/pci/controller/dwc/pcie-qcom-ep.c > index 1ecf602c225a..4d2d7457dcb3 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom-ep.c > +++ b/drivers/pci/controller/dwc/pcie-qcom-ep.c > @@ -482,7 +482,7 @@ static int qcom_pcie_perst_deassert(struct dw_pcie *pci) > val &= ~PARF_MSTR_AXI_CLK_EN; > writel_relaxed(val, pcie_ep->parf + PARF_MHI_CLOCK_RESET_CTRL); > > - dw_pcie_ep_init_notify(&pcie_ep->pci.ep); > + pci_epc_init_notify(pcie_ep->pci.ep.epc); > > /* Enable LTSSM */ > val = readl_relaxed(pcie_ep->parf + PARF_LTSSM); > diff --git a/drivers/pci/controller/dwc/pcie-rcar-gen4.c b/drivers/pci/controller/dwc/pcie-rcar-gen4.c > index cfeccc2f9ee1..237a6a8818de 100644 > --- a/drivers/pci/controller/dwc/pcie-rcar-gen4.c > +++ b/drivers/pci/controller/dwc/pcie-rcar-gen4.c > @@ -437,7 +437,7 @@ static int rcar_gen4_add_dw_pcie_ep(struct rcar_gen4_pcie *rcar) > rcar_gen4_pcie_ep_deinit(rcar); > } > > - dw_pcie_ep_init_notify(ep); > + pci_epc_init_notify(ep->epc); > > return ret; > } > diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c > index 93f5433c5c55..432ed9d9a463 100644 > --- a/drivers/pci/controller/dwc/pcie-tegra194.c > +++ b/drivers/pci/controller/dwc/pcie-tegra194.c > @@ -1903,7 +1903,7 @@ static void pex_ep_event_pex_rst_deassert(struct tegra_pcie_dw *pcie) > goto fail_init_complete; > } > > - dw_pcie_ep_init_notify(ep); > + pci_epc_init_notify(ep->epc); > > /* Program the private control to allow sending LTR upstream */ > if (pcie->of_data->has_ltr_req_fix) { > diff --git a/drivers/pci/controller/dwc/pcie-uniphier-ep.c b/drivers/pci/controller/dwc/pcie-uniphier-ep.c > index a2b844268e28..d6e73811216e 100644 > --- a/drivers/pci/controller/dwc/pcie-uniphier-ep.c > +++ b/drivers/pci/controller/dwc/pcie-uniphier-ep.c > @@ -410,7 +410,7 @@ static int uniphier_pcie_ep_probe(struct platform_device *pdev) > return ret; > } > > - dw_pcie_ep_init_notify(&priv->pci.ep); > + pci_epc_init_notify(priv->pci.ep.epc); > > return 0; > } > > -- > 2.25.1 >