Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp914838lqt; Fri, 7 Jun 2024 02:32:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqsSuSaoZI/TUwhR/gH8On29eQ1MEtaWzRcuck37M4F5uKMohqdLShbFXJjuduPALkZ/+jBQe4MM0mHQtfIwUkOLgcwcpu+syJyXlMsA== X-Google-Smtp-Source: AGHT+IGMLEIzTI0eYPcYDa/WR0HyxEuP4RzmtrnLcuJdnDUtPEDg2dzOwQPOC+8wlPzv/It0898X X-Received: by 2002:a17:90a:ab88:b0:2bd:d42b:22dc with SMTP id 98e67ed59e1d1-2c2bcc5d648mr1961159a91.43.1717752727001; Fri, 07 Jun 2024 02:32:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717752726; cv=pass; d=google.com; s=arc-20160816; b=MeA0wn6TC9r0yMFCwPqKZigFKLu6C0AiCzzJ6KWCOfNVopVOsVvZf571GM4FzDdSHq uOusyfoZJj8p5bKglCIshAvfj4sAw67e0ExPRsAvri9au+8lDVRFseOyR9jRBbBjHsfx E2TNPuN4vYFr5ck//eoThJ6RUwXvFsbNdwyvGzxyoBNhmPAiRgxKnO8a/bWbf4Bczz/U P8xs1jUh2J6QMBgzSmn9UnJ0LLP0e0kwXP7U+mHnyzxh568u9SAUyUyq6zpgKdanoW1f 1wSpjEtNiVdJUtm5tpzjdclmREbxv2vJ6PbWTNHiCxVTPZ/3dumPOxr5kZmCMxIYrrHH dHUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Tm4sTaCW2veaEN/wPpQmjJxET707EpAO3e8QODD7/VE=; fh=MuBPNdEb2jTvl1qWrwKqC+8MOmOvDPF7MrcgmgbCn80=; b=xALnMaiFZNLVezl6XutCK7MfTI7cfN0L/ixG1xeAvOi6IhX+LuRpimdKC4BB+Q1uJ+ 0xB65ADvGXjkh/5pL/Aexy4vjg2YWCyOTWwGLPh0jo3bxk3tFt5jqnV/tfM6F6rRpJix gstX04yGd+sG/Qoqt+HBBR5ZHMUIDyMa66ww9FYVJE85zeaodhxUJy4yjLPnWIRUdGgG QwF/SDtQQftnQ7cxV3HU8WZ3CfKY08jI/pjehXcCNnJaukSVcPTVH80K2N85mIDIe9hO VOr/xuB9FIxOA+fOtkbFgjHBH219sTnga72wkpKuWfDmx9T57TIxoJZrN4W6WAVLyzTy GM/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YvgS8d5/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-205734-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c29c4af883si864460a91.184.2024.06.07.02.32.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 02:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205734-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="YvgS8d5/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-205734-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205734-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AD8CE2808FE for ; Fri, 7 Jun 2024 09:31:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE87615B995; Fri, 7 Jun 2024 09:31:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YvgS8d5/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DC9AD15A4B0; Fri, 7 Jun 2024 09:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717752700; cv=none; b=lLarsrHcOLWLmwWRq64AlF2TfTuqL/HCNeVw2UsunZvwq+JNP8NvME9y+RFrZ0rBvSWJoYXiL7LxrhHDLj+NgzrA5vt/2St343yNB33WaZoOKQE+GTN67foB1zgmCB35WiR+AZvIGRlq4jagIoFa733UBo/G3kjQj9uYclSPhzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717752700; c=relaxed/simple; bh=rhqvtgLdAjJDetwu1HLnQ9oLmOzc4vfXBUwHh6e/WhU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qCkfezev8K4nGA56N6RvcrL9PaDLDYaXKcsRUB172F/rGQY/CeK4TQOu3JWuDPyjaW7K8ccUMxhFc1AKNtB3WGg58XUBpwbhBjigjsHc327PEwPVTLx43KPFZqHPpkU3VNO4UXKeTLBCqCrFBMBRegC1Z8xZG2WqdhAG/cuoEkc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YvgS8d5/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D64AC2BBFC; Fri, 7 Jun 2024 09:31:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717752699; bh=rhqvtgLdAjJDetwu1HLnQ9oLmOzc4vfXBUwHh6e/WhU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YvgS8d5/r8o92wmID2/l03gbU9QAWi7CUT0IEKy/7vK4blclQl++O0siD+W1pPIRG /s9Z0+oaUX8bOt6GmBL5GhYuGexbsFKFZsuXnRguzAumckCsBKgglkzab0VySUz0tP 4/EqJQD5Z6OVOQeETexIJPP/WkAcfu8yg30yYDDU1xFm6BvPkQ4Oud+e5SIiJw4jTd 0lD1ADHlCHs7c04IQZIMzrXLNniJTMxbSR4JO+3aL4oTsTCsP9fT1TOfYQrPANoAUL fPprirrsaqFRhHwkKVzNeVkm1xgc/DvgYPVHJ77wqpDhdnaLG0j0wSLMv3CnTJ7yfb ZRogfCZ0zHcWA== Date: Fri, 7 Jun 2024 11:31:28 +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, Bjorn Helgaas Subject: Re: [PATCH 0/5] PCI: endpoint: Add EPC 'deinit' event and dw_pcie_ep_linkdown() API Message-ID: 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=us-ascii Content-Disposition: inline In-Reply-To: <20240606-pci-deinit-v1-0-4395534520dc@linaro.org> 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. Just a friendly suggestion to make Bjorn's life easier (and grease the path of your patch) ;) [0] Kind regards, Niklas [0]: https://lore.kernel.org/linux-pci/20171026223701.GA25649@bhelgaas-glaptop.roam.corp.google.com/ (I still have this in my bookmarks :P)