Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp991239lqt; Fri, 7 Jun 2024 05:12:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUaQDlwIEByr3h69hUnlIE0gHFBaV7LLPYl4Ntl/wKLADNbiHEUMUiot9y8kn0GiZYiXROOIq/NHA5tZGDScfN1+OE1DgPdIwdBUrsuEQ== X-Google-Smtp-Source: AGHT+IGLEy1G4fQtY/PhkWUHvaDXDyu9aDwJiW+9bc1mQAUqfon/ImnjSSvWlpeVfZRgmNUZqRo6 X-Received: by 2002:a05:6a20:748d:b0:1ac:de57:b1e3 with SMTP id adf61e73a8af0-1b2dec759a2mr3684690637.0.1717762376695; Fri, 07 Jun 2024 05:12:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717762376; cv=pass; d=google.com; s=arc-20160816; b=MpLVd+Tj1gzljDlmoiOOT5Id4ObDIkKQh8RVrXGQC3loOTNzpgsM2ve9zoFmNaTIjD f5+RoYFsAsWE8nzVCy9HM4fozqpshP4EQRMjnQ2M/IPPOYKpyKJqzfQQ0L53vDwZoMLh XE6HWZy5xMRDRzrWd3DZzTiQcvGKl3ruYrktOSePViG/tuC6bfwYpb6czTseu1JcQMhc LZZPAHouKnrMQeEzAQW+OUzHu0PCF8R4HYe2gcq3gCsedY1l574jROz0DF8xtwZwn6d6 mgHSJX/SX+lXJMzHGW8rnnnH8tWz87a86iDOaQxxhykZtpGG5Slq85C016HFR/gGDcOc 8a+A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k7NnO3DgcXmjQU2TFy5q5V0KcneMOGXb1GGo0qLmGSA=; fh=uAm0fsBhFEWAi2CgnW2+B4fE+xmuQFq2AF0LDcEYx6Y=; b=Jgv8Ejf8uwGl3BfD5PQGPAS8+zhZH5j++B2MaO0f6yMEuheoD03y2zc1puvQeAgsjJ Qm1iXsKKaVZzxQeWV7MA9omWZqyVsxL34VX5MZoXVfI+5ERYd/VC89EjbW+nmI3Ds9Ke xaATpq6DADuUC7aW5oWWcFFz03nt/n2jqfw5vY/9tqPKZYpPrTe4muOLC6K5Pb2eEDZ/ BW1KNehZ3xi/E/CvHik+u+OaBcDJp9tUhbe78TDGSl7QVcs1wKn282VXbc1a1t2VLSKL 4ZaAd/s9Z63iKpJmW2XagpY0zXj8Ht93XMSHmqhtcLP+U1RGA2EYNIYwSjRfvLMtxnat IrxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="W/0Xpx48"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de219795dbsi2480600a12.216.2024.06.07.05.12.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:12:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="W/0Xpx48"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-205985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 3DB18B228AA for ; Fri, 7 Jun 2024 12:07:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A685F190497; Fri, 7 Jun 2024 12:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="W/0Xpx48" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C55318FDD9 for ; Fri, 7 Jun 2024 12:06:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762009; cv=none; b=YJJ4Cnv0DRR3d62U5XVzSe4vfKmvdTpHvv6py/tlGKiCtXTHVLYzcpQYwuAOl7TQ9HknZihhRh+lrqF8c+2Xup9Mvk9xnCi73jX0hBTF+6Y2HcB8dzxilPhdp4QbZoIL22MvJTaJvZT/W6DVAOznVbVucGq0ey1pSyxz37fMZHo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717762009; c=relaxed/simple; bh=Vjv8WjEHAUBLg+R73TC4iHSeKZUV9RKb7PxJ5B8Y/WI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jrKtXwfQqxesl4FzUGvSAAmAHYvdFgPpWbkwjU0h6YAdju/X+0UBwP0gCjkJwBJFj3vcvJ7F2VpB8p4ux4FOQsCsri8eeZCPTZ7v3qpJZa5tdHNkzE+sOOXyGWLrSby+p2mZcMmVqXAaGbkmhj2/HMO9bQs/AjN6YSgSSlq6wmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=W/0Xpx48; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1f4a5344ec7so15789035ad.1 for ; Fri, 07 Jun 2024 05:06:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717762007; x=1718366807; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=k7NnO3DgcXmjQU2TFy5q5V0KcneMOGXb1GGo0qLmGSA=; b=W/0Xpx48QPdOA6lzHNq6eJAcLVw/XqaO4t7XYOO80CfHRoZIXaELHlcA0X62XiRMj4 JfiTYGsPJcvlKzVp/GzS4j7WzGsBq2rG9qGf55HnDnMov2cr91mVmowaoKkSs+0/n5aP nTbD6Bd0G2BbFCgGSnli2pwGZj/AMwH55b2y0S243jMnKMIZCX1pXUlWAXz0iya+C73L IWjb9Cw0EoHqMlKqHBDmee5tHtQGXNzXb4HdCcuu4IdKGGV5ar9klygD6yFGrwkQU0pC I38dE/v/ita5bq3ffMCF/mLmdR5IZRWHlSCK6iW42aQX2ZbWnIJrk367U1GSmpsT/OVZ bvGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717762007; x=1718366807; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=k7NnO3DgcXmjQU2TFy5q5V0KcneMOGXb1GGo0qLmGSA=; b=A5vCyFQvX1X9R6W9OtVtf9+eI9wmkszbg0Ozv11Hyl75kLRVLL0SAesuad3Hg03GRK NnAaSZO2/0zC0z7pnXxWgBU9MrowVcc8tJij3du1QtpPSgub7IkRiD9NrlSWMs3Qf+JK /45a4NUufMzrdxx5CC0nntb5ZdV4IPqDsYQ2Nxa2vwJfrSd16fWJSFPvnTaBKP5oU7bO hz41nWLbTl4Hgshj4Zp4SENA0NroIssazK1XM919Vu+7FGKAVV26D85ttT6thJOYKi7w nW/IUKqmXyCu2ZTcK36H0xdn9Lefl4BlEH4mFPqDNrXniDZRyLzgNDc5HLyZ2dFDrUMn 9Htg== X-Forwarded-Encrypted: i=1; AJvYcCUSSARW2eQFRdh4Clz8Bqbos8CXPwLKyIKc+WZcVlIWNnPMdvio7neOxJP1nL9TNfztmTKQPATsoeJ+FmDuSce9SsYH1ZsVB/JOzLGw X-Gm-Message-State: AOJu0YwradmYpgNU1p47cjRaqoaawuhDhS4r8A0F4MlVsZxT0Y3u/aN7 gR/sWd2et5nn/X0X9cnTQGVYKzYukYpA1hQlaOtdo6TJB1YwNPWFuej+IasTSQ== X-Received: by 2002:a17:902:e84e:b0:1f6:7f8f:65ac with SMTP id d9443c01a7336-1f6b8f075b0mr80949715ad.26.1717762006991; Fri, 07 Jun 2024 05:06:46 -0700 (PDT) Received: from thinkpad ([120.56.207.43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd761ac8sm32756425ad.54.2024.06.07.05.06.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 05:06:46 -0700 (PDT) Date: Fri, 7 Jun 2024 17:36:36 +0530 From: Manivannan Sadhasivam To: Niklas Cassel 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, Bjorn Helgaas Subject: Re: [PATCH 0/5] PCI: endpoint: Add EPC 'deinit' event and dw_pcie_ep_linkdown() API Message-ID: <20240607120636.GA4122@thinkpad> References: <20240606-pci-deinit-v1-0-4395534520dc@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Jun 07, 2024 at 11:31:28AM +0200, Niklas Cassel wrote: > On Thu, Jun 06, 2024 at 12:56:33PM +0530, Manivannan Sadhasivam wrote: > > Hi, > > > > This series includes patches that were left over from previous series [1] for > > making the host reboot handling robust in endpoint framework. > > > > When the above mentioned series got merged to pci/endpoint, we got a bug report > > from LKP bot [2] and due to that the offending patches were dropped. > > > > This series addressed the issue reported by the bot by adding the stub APIs in > > include/pci/pci-epc.h and also removed the unused dwc wrapper as concluded in > > [3]. > > > > Testing > > ======= > > > > This series is tested on Qcom SM8450 based development board with 2 SM8450 SoCs > > connected over PCIe. > > > > - Mani > > > > [1] https://lore.kernel.org/linux-pci/20240430-pci-epf-rework-v4-0-22832d0d456f@linaro.org/ > > [2] https://lore.kernel.org/linux-pci/202405130815.BwBrIepL-lkp@intel.com/ > > [3] https://lore.kernel.org/linux-pci/20240529141614.GA3293@thinkpad/ > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > Manivannan Sadhasivam (5): > > PCI: dwc: ep: Remove dw_pcie_ep_init_notify() wrapper > > PCI: endpoint: Introduce 'epc_deinit' event and notify the EPF drivers > > PCI: dwc: ep: Add a generic dw_pcie_ep_linkdown() API to handle Link Down event > > PCI: qcom-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event > > PCI: layerscape-ep: Use the generic dw_pcie_ep_linkdown() API to handle Link Down event > > > > 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 | 4 +- > > drivers/pci/controller/dwc/pcie-artpec6.c | 2 +- > > drivers/pci/controller/dwc/pcie-designware-ep.c | 116 +++++++++++++--------- > > drivers/pci/controller/dwc/pcie-designware-plat.c | 2 +- > > drivers/pci/controller/dwc/pcie-designware.h | 10 +- > > drivers/pci/controller/dwc/pcie-keembay.c | 2 +- > > drivers/pci/controller/dwc/pcie-qcom-ep.c | 5 +- > > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 2 +- > > drivers/pci/controller/dwc/pcie-tegra194.c | 3 +- > > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 2 +- > > drivers/pci/endpoint/functions/pci-epf-mhi.c | 19 ++++ > > drivers/pci/endpoint/functions/pci-epf-test.c | 17 +++- > > drivers/pci/endpoint/pci-epc-core.c | 25 +++++ > > include/linux/pci-epc.h | 13 +++ > > include/linux/pci-epf.h | 2 + > > 18 files changed, 162 insertions(+), 68 deletions(-) > > --- > > base-commit: 7d96527bc16e46545739c6fe0ab6e4c915e9910e > > change-id: 20240606-pci-deinit-2e6cdf1bd69f > > > > Best regards, > > -- > > Manivannan Sadhasivam > > > > Considering certain dependency patches have been merged to > pci/endpoint and other dependency patches have been merged to > pci/controller/dwc, perhaps it is best if you split this series: > > Series 1 based on pci/endpoint: with patch 1/5 and 2/5. > Series 2 based on pci/controller/dwc: with patch 5/5. > Thanks Niklas! I didn't check the 'dwc' branch, so ended up posting patches 3/5 and 4/5 again. Bjorn, if you are OK with this series, I can go ahead and apply patches 1/5 and 2/5 to 'pci/endpoint' and bank on Krzysztof to handle 5/5. - Mani -- மணிவண்ணன் சதாசிவம்