Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp182291lqp; Sun, 9 Jun 2024 23:53:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMluKx8OnVnfHMZ/Ts8f/ZG8ZNzWzROsPXtN9MfcWvT6JH6xKJ7uUmeO1ZXqn4J15wtMyZnrH7m456YhdIEZt265xWVWV/8+FZpP0l4w== X-Google-Smtp-Source: AGHT+IE68ORAGu9dd4G4UdNKoxIu3k1ndoNO53WrvO740r/RMPy0HuUXU09IXX9mPU8ipJ7keawx X-Received: by 2002:a05:6214:3c85:b0:6af:c64c:d1ae with SMTP id 6a1803df08f44-6b059bceec2mr105357456d6.15.1718002428245; Sun, 09 Jun 2024 23:53:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718002428; cv=pass; d=google.com; s=arc-20160816; b=wQZYJlgDh8xdf2p0J7+vG60V924XH89Pe5VZ9AAGrQYonhsHjQ4TK8OWZfli1zGBlh 5q5q2c6ECCrKH5U/jNXkuhSNcXx/Q8uscm0fwi4VZm8bVBMtDUEows7BZnuM1UO+qzBf fVKOBcRDbrQT2YNx1BEleldKg6WHiBOSntMTdSA6NdsFxFoCkqCsTkTHiqDnrsHSrra5 aUdAxiIi/I9pzwuTA79aiPYvCE6FcMm0IVyGbn3Bk8LYJV/Y1F4BTwq4jqVvJ3W1eINp miPp9MnlmjUVzOuxICgWolXqUsd11R6ZhmLUZj+Xxq9bXwcfpsk2QoNZudSdp4ie2qzf 6rrw== 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=Q79+Rla3cX6Hmnq2eCF4cwSxfS8g2qeMA5niTT4AJrk=; fh=ZvAMXlCdSDfQDKt2iu0dc0TXtWz+fAvealzJcBHpi9g=; b=Diz/6s2XSXZPV5wgVjWdks5ekyYPAn7HrNfEMaUKUJgFuioWvamzVGhgJrEQmvn/k2 /J2yAOL0z0Il308pr4gPmo2zLgtwsCnvpjcf29mlm4xAdhdW6sPYRt0Qoz/UYYyWK803 jEnSny3+p3Qy0srf52ZEMN9A/gr1WdWQUd31GpRapG519KHDRPjbbmgXd2U4isgzHNss yGoWDew7iX0S9sTK4TlXUH/TzCPRq/E0RsbwrGOteFrDc0FzNnCgtWBsbvRwDJOGpAKB WoMkKIVf2bHgwgziRqqPeK2PgTiXZ1XksycKkgghygTuMAt8IYKBm4gayiRoV1qxA9Hh Ug+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qPj5C8aw; 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-207744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b04fa42bdesi108618546d6.547.2024.06.09.23.53.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 23:53:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qPj5C8aw; 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-207744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207744-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E51451C2104E for ; Mon, 10 Jun 2024 06:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B99761CD18; Mon, 10 Jun 2024 06:53:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qPj5C8aw" Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (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 5493AD2E5 for ; Mon, 10 Jun 2024 06:53:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718002416; cv=none; b=JnjrrfW//0oYKMdyIopoHREAKPMYx87MRT9n2/zh12LiAUVBjSkIKOhjTwApt7Ka3nqoM9OsCUt4fMM4Y6kneWRY3cadL1gGDCJh/XR1WZqtokbdYDqCgOSNRU3XY03FgP9kAXcD4uFP0t1UH/soeIDb1Ch2I3W8sEAGT9mxtBI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718002416; c=relaxed/simple; bh=mRZh5+OagwrYksdm05IvR/+1yNl8KYHz8Qj7URz+FVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JHS621mBCCcarUjfVwf8B76Dhqz8pHjPTNksVes4m0fHE2yLnBfZtuBntduLVIuURaM5kHjyf0Jfp2NLla0peILWHzhS8hBEMvlO+U730aVSN2Bbn3QzityWI5MJAOtzEt1Zw6wLdLYMQzYLHoaRMdReXqW0r1sg8mCmtbdUfO8= 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=qPj5C8aw; arc=none smtp.client-ip=209.85.215.169 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-pg1-f169.google.com with SMTP id 41be03b00d2f7-6e40d54e4a3so1723295a12.0 for ; Sun, 09 Jun 2024 23:53:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718002415; x=1718607215; 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=Q79+Rla3cX6Hmnq2eCF4cwSxfS8g2qeMA5niTT4AJrk=; b=qPj5C8awILJqh3c/ngE7eXKXeYZ0SQOicLTFq5jZzuiL9aHGzEYvh25QB2h713dsMt 3c+MYas5fDMuGrH8mO4sx57ojueo6ftuPopnJa8wRmTz/AM8UYoXfiKFHSX5FXJbANil FXb2sSUzmTcDjagabFJSpcd5Sf6WY1j3W5R9gjYUHCNy7BL30CnnEcV8NFyanyR2uSUr s6qJy1tSl33o4XhZyubNBuquojl/ZVvDXJCp+1zIsYAwS8gjZi9sQv0ENu8wSMRglpwD pPYl6Kd2rlSRWDZPNjBVzziIsusmJ9rwKqw4ylTnOAzRRRRUP7wdfPSva9Qt1AESroYZ Mh4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718002415; x=1718607215; 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=Q79+Rla3cX6Hmnq2eCF4cwSxfS8g2qeMA5niTT4AJrk=; b=Byxrr0c12/8M9e7urC3QAaxcfAU1tqdbU+XaSzkrOlEieOwU/q4wOOwYZ/Au1rC7Jt Ysk3aDMXSbhJeBoddF+7WX5uJvFSTGzdtkFB/EZN0UR/JYJbjILduuQYV5fOAsaqGnO6 PIcwA8Chd0FBytF0CVrcoiJm/Hctu/F7bj0H3TrXVSbj+ZbmhRP/JL9M75YQvDxjUsUD 9Lzo4e+q7+lrso/26fY1a0JfMtKqAWJfopAQzCEpH3pWnLPTUyJ0UxF3Z2trPm/E2FAI BjKGCEkIMWG1umfpNIK1/1YnSzcKH8OlrSOEMB6zbZpTgqw/IZ5UStDbACldeNm2iajd kj9w== X-Forwarded-Encrypted: i=1; AJvYcCX+7gCodPMHspMJQRCjK8aGi+QMXpN52U2WJv/ihRftQNXMotU4ReQf8teOmVSBv3+bvau1ERJ60TMGnv9b4UdcIAIHIaUzQWnBeSBR X-Gm-Message-State: AOJu0YzJ/JY5XzxITBDD7JuB7B3gpW86VR6CCgBFqt+jXf151qiN5PnK gvtTf6ayH/As1qYNS6q2yfN8R7yUTHyDA7hwDV/jzHQfp/NXPVnE4h1TZnYvSQ== X-Received: by 2002:a17:90b:b12:b0:2c2:c3fb:b13c with SMTP id 98e67ed59e1d1-2c2c3fbb277mr5727406a91.44.1718002414578; Sun, 09 Jun 2024 23:53:34 -0700 (PDT) Received: from thinkpad ([220.158.156.236]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c3094cfe3dsm1355898a91.15.2024.06.09.23.53.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 23:53:34 -0700 (PDT) Date: Mon, 10 Jun 2024 12:23:24 +0530 From: Manivannan Sadhasivam To: 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 Cc: 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 0/5] PCI: endpoint: Add EPC 'deinit' event and dw_pcie_ep_linkdown() API Message-ID: <20240610065324.GA7660@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: <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 > Applied patch 2/5 to pci/endpoint! Krzysztof, please apply patches 1/5 and 5/5 to controller/dwc (patches 3/5 and 4/5 are already applied by you). - 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 > -- மணிவண்ணன் சதாசிவம்