From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E87FC27C5F for ; Mon, 10 Jun 2024 06:54:24 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GrdtDsmQ; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4VyMwt29lbz3c6n for ; Mon, 10 Jun 2024 16:54:22 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=GrdtDsmQ; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::531; helo=mail-pg1-x531.google.com; envelope-from=manivannan.sadhasivam@linaro.org; receiver=lists.ozlabs.org) Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4VyMw44zF2z3bX3 for ; Mon, 10 Jun 2024 16:53:38 +1000 (AEST) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-656d8b346d2so2777736a12.2 for ; Sun, 09 Jun 2024 23:53:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718002415; x=1718607215; darn=lists.ozlabs.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=GrdtDsmQxD0K6BQksbPbv+tu/sfrfETU/c9p2h38qY83TVJlK24IVylZlq3gLLLlSW mQe2oRhIXeY+6yIuC+0VihGgU+vKgt9LCCxLSa4P1KsoHrgxNdYFivQDcqLNcTrg5aP7 IW0qUy7C8unthcFONt7nyERqqBhpNfQgy5TIvcg8mxzHWmRie+jztPN26yTJLZdSS/Ti 685dQ/0koaemXvuxLBFrRQFRdVK/BKBA1hdxXE1+HD8eNxO6lt+xnzdoJcB9Uxtash7N Ksis7a2hrqFANVJcCQkk4jqj0OSokLGosxE1iHZxP5G6inEUB4oZR8wF0xPVtb3kHRFB l9lQ== 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=wsZ16quJAs5zUoquvoy9gwIZFkf3skozjz9TBH+tc/0kzRFEk92p3R1S5l+ww0GEdV 0ahbvMxiYZKcdDQ0j60q2foZUwzMGGF8DDa2URoKdH0K3RCVNwiM6HVx5+Ty/VoqbIu6 ngjKk81JEBfSk8jz3Yr4FMSH38PjR7ycv0gFCMXhXi4je6nPKo0YmQaVHpkVRUlZ0S/S xdH2vVqc+9NZNAgWLg+SKzLJqD8DvpoI5uu9DhMPmtCDIENv3zqw6bXURI7oHOLYRcun Vzey9hYXsCyEVyREzlDjtozxn4tKY3hGIsRl6pMemVLm2XUfKptt6XqVQszc+ztGlwK9 kdjA== X-Forwarded-Encrypted: i=1; AJvYcCUjxMOBbTkXLZMiVyndVwwIpEqtYLqBNYtm2EaYrk/F80lw1ZWHoqdbCw4mTUArLJVm1jt3O7wrf6qcqHf7yMy75ONG2EdE1325tYeHLA== X-Gm-Message-State: AOJu0YwVeDy49C9k2t3RbzChT4D74vK6e+0MS4NXUJN3w2Y/fskhyrlm +bHKzjUpZKXhO0R7Eg7oQgDo5/kZCpD0VgkRMqvBbuDq5kxTnzIYq89/vEMqbA== X-Google-Smtp-Source: AGHT+IGiQnfID/w2ovEqOtXmdaUmHolv4W8npj5rXP4hlu3K/zYS4n6pz5nKcO0YwT4Ao+fhHzZlGg== 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 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> 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> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: imx@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com, mhi@lists.linux.dev, linux-renesas-soc@vger.kernel.org, Niklas Cassel , Bjorn Helgaas , linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 > -- மணிவண்ணன் சதாசிவம்