From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f49.google.com (mail-qv1-f49.google.com [209.85.219.49]) (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 8F11BC2C8 for ; Mon, 4 Mar 2024 06:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709533605; cv=none; b=ObFKlrnV42UBpxa8uIgSzlMfBnFj4U+1tGxQbJosBfqT1LViYKyV9a86d5KoSavBm3TgZJry2glZBbaz3IWaiIR72H2xL+wUhxxIrxIWmdtY6opMmxj9+Q/7cNG5k/7RwhNNZSWh3z99JhoOdnc8z72PDffXN+i675v/MeT+uNs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709533605; c=relaxed/simple; bh=xyQs9VtsBlLZ4Ylk//6q1rePA4Ild7tMp8ripotGz9g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mdmCI49bEyGMP0HSh1jB3xuzCs8sinFWxZdCcNeViWmirkayu+ew+b/5NUlVB1YViD+DSdRuziaf6CqQtac2PDMNjFoUJCOENVhKpXl/Dcn27rXdkTvtZl1G81sRMXuEADhKmt3LXwrywXdRCW/s4H8/EZ3pWwL1Z2itZVhfSzQ= 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=lQXfRR3v; arc=none smtp.client-ip=209.85.219.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lQXfRR3v" Received: by mail-qv1-f49.google.com with SMTP id 6a1803df08f44-68facd7ea4aso32838866d6.0 for ; Sun, 03 Mar 2024 22:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709533601; x=1710138401; 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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=lQXfRR3vwoCfhYH01W4GqhxsLu0h0/CC8JMTV7I0oR1PlbNngSfr/jbr7YiHy0MGhY P7fkBBwFxpgs5pm8PvL1WmnzSr2vEDpWmqZozS9LwoQYiB5DMcNmClldKb3KFzGIEYzX MZtFQ08YCyjift+H4yOZnP55S94WUJxgKcbTwgNlbmEZN7cEsOsAMcR3zWSRUhTp+6/+ kAE4wWQL6Bdtm8SZ8KgnQXEhtcvT9D2nIcwRNGnx+OUZQh9YnbJoagR59jaDw/NINolG VGySz5htpOQp1U0ApMSQE4iKhi124Lt1iH2mj3M372fcY/mxv6mCoxLYlQ10lmbjRvy3 85Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709533601; x=1710138401; 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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=U0kFpEHFRetoNm78m0MG4hqp5KY2h3OPzBWtB2N9uWHD1JXeoba3Hr8u3RUmFIq81O ZBu4vBhldFRPN1VH/6L0K+5hERFquGNCP6wJglf11EU2fo0rTw5iiclBiiOO/4sjtyZK 9iLUg6659w2WgNXovHRud7SXLejyhOpqzVCEkMn7sHUo55oR39YygMBvGPn2tMaHo+FL BvyibIzPG8eBkzEWREAuG2VUABK8obMh4HZVxk/o8Xk1pC9OUsT6GVkdv8ZGj03nShMS vPW6e3qIyUX+X33kGza5DLT+iUD6AyY6uvaFFpqGJJ3peRrp+yrux4alqJG09Sv6Rxya M5TQ== X-Forwarded-Encrypted: i=1; AJvYcCWYH6M8g7SHX+752Bu8Y7QNXJaifHO3yG+P3cTmFXZWwLwOrbqYFXR6AvAQ9xAEXB8QQO9ssrlOVXAboBsIH88SOOW0t3elogHlVItKNg== X-Gm-Message-State: AOJu0Yw2ANvxfHpzflvo27CVWLsMHXsFB7vA9jneIkHWp+A+Q8FaQwTt zqPSUMjrHDxrM2sPNlsJ0kPISvur3aiVG1DFT6fSPprQy4FPPXciAp6d19Dnnw== X-Google-Smtp-Source: AGHT+IGh16i8bKazRcKjIf+8mD1oHLxasc4gBXAtPUXGYbbq10g//g9iQu5psYwYR67+pyj7tPVbIg== X-Received: by 2002:a05:6214:9aa:b0:690:6e8d:5f8f with SMTP id du10-20020a05621409aa00b006906e8d5f8fmr4779413qvb.7.1709533601528; Sun, 03 Mar 2024 22:26:41 -0800 (PST) Received: from thinkpad ([117.207.30.163]) by smtp.gmail.com with ESMTPSA id mm9-20020a0562145e8900b00690732feaadsm939670qvb.125.2024.03.03.22.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 22:26:41 -0800 (PST) Date: Mon, 4 Mar 2024 11:56:25 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Cc: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kishon Vijay Abraham I , Vidya Sagar , Vignesh Raghavendra , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v8 07/10] PCI: dwc: ep: Remove "core_init_notifier" flag Message-ID: <20240304062625.GG2647@thinkpad> References: <20240224-pci-dbi-rework-v8-0-64c7fd0cfe64@linaro.org> <20240224-pci-dbi-rework-v8-7-64c7fd0cfe64@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@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 Thu, Feb 29, 2024 at 12:23:16PM +0100, Niklas Cassel wrote: > Hello Mani, > > On Sat, Feb 24, 2024 at 12:24:13PM +0530, Manivannan Sadhasivam wrote: > > "core_init_notifier" flag is set by the glue drivers requiring refclk from > > the host to complete the DWC core initialization. Also, those drivers will > > send a notification to the EPF drivers once the initialization is fully > > completed using the pci_epc_init_notify() API. Only then, the EPF drivers > > will start functioning. > > > > For the rest of the drivers generating refclk locally, EPF drivers will > > start functioning post binding with them. EPF drivers rely on the > > 'core_init_notifier' flag to differentiate between the drivers. > > Unfortunately, this creates two different flows for the EPF drivers. > > > > So to avoid that, let's get rid of the "core_init_notifier" flag and follow > > a single initialization flow for the EPF drivers. This is done by calling > > the dw_pcie_ep_init_notify() from all glue drivers after the completion of > > dw_pcie_ep_init_registers() API. This will allow all the glue drivers to > > send the notification to the EPF drivers once the initialization is fully > > completed. > > > > Only difference here is that, the drivers requiring refclk from host will > > send the notification once refclk is received, while others will send it > > during probe time itself. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > 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-designware-plat.c | 2 ++ > > drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 - > > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 2 ++ > > drivers/pci/controller/dwc/pcie-tegra194.c | 1 - > > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 2 ++ > > drivers/pci/endpoint/functions/pci-epf-test.c | 18 +++++------------- > > include/linux/pci-epc.h | 3 --- > > pcie-artpec6.c:static const struct dw_pcie_ep_ops pcie_ep_ops = { > pcie-keembay.c:static const struct dw_pcie_ep_ops keembay_pcie_ep_ops = { > > Where is the love for these drivers? ;) > Ah, my grep skills got exposed :( Will fix them. - Mani -- மணிவண்ணன் சதாசிவம் 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 6A957C48BF6 for ; Mon, 4 Mar 2024 06:27:31 +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=H1BuvmMd; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4Tp7z60c3Gz3dVj for ; Mon, 4 Mar 2024 17:27:30 +1100 (AEDT) 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=H1BuvmMd; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linaro.org (client-ip=2607:f8b0:4864:20::f2e; helo=mail-qv1-xf2e.google.com; envelope-from=manivannan.sadhasivam@linaro.org; receiver=lists.ozlabs.org) Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (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 4Tp7yJ0t42z3bXk for ; Mon, 4 Mar 2024 17:26:47 +1100 (AEDT) Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-68f5cdca7a3so38204616d6.1 for ; Sun, 03 Mar 2024 22:26:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709533601; x=1710138401; 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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=H1BuvmMdrGwGwfNhwWWnuRxlfrH08flcVnoxcO9xifOi1NqUQHETwZ5YBKkKAnTVBH J55u4o8/ycoBLYuCqsQSIID01Kvr44k63NtX/KBbiBN6CoRCofWFCg6mkYiTxcuSmIF2 uBx7Yh55fCdPHB9aqAVb0B+1ARpdIZx0IVl3bCt2OEBeV4RMcBPrgriMQt3Tbo31sIqA dfTcKgxG4SduBbIN8Co5t/YlPYfHOJNKWRPT0ssUYgm6zEc08+oat3sa1B4XTKHG2khr leY8ahPojucrdaYUWljjTn9X+HrfDBFFhFVmqmL8N/YnRCo8KFUJIJcjbx/a9w5TfPsx q2TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709533601; x=1710138401; 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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=ox2cFG42onds0lYfo0R7WTIHU/wimdSbYORfTsAppnpz5SASvUwFx72FMdSApuGZZz U4EceEjHF5ABvFHKT/aJ0rBG5dwu2ZP8tvRvsvrlYzNLjxOYSnQP3gJjPqVNC1dGk1mx a+lJR9z4+F7Rda6rKN+d54Y02uE880XEanVlZZ9OzSwbWhgj40SZbF2L2DLVQ0ZaN/ZV f4KhLKnSq7Wgm0AmCLL47B20ROFfzGTqyQ6HQLoXBVCb9AS0hsM4+/Egx22t9uEO2OVo 6Xa4XOxXexaoXIx62jRpu66HBncMp2PSxWzGPQqpBkbYtxEXtMlpVEYiFtgXFiefuTPe YO3Q== X-Forwarded-Encrypted: i=1; AJvYcCUwOQJfbMZxsBFdIyIwizbqTdLktq3xCRfJ1DyS34EgMG91ZyGbpFaBo+3sTN1DLfbO9YHa0UnY+KngBebaXJxjckEdax3UU4qi0W/raA== X-Gm-Message-State: AOJu0YxbLEun980qeR4OoThToRr/aJkO0+7iDKgFzjVTFrNPA5ZLjPkn 7Kiv6IhuM9OrO9C+CM2KyLLOuxLNYLpUbz7+dAl0DgQQ+IOueg6VJioBnDIlnw== X-Google-Smtp-Source: AGHT+IGh16i8bKazRcKjIf+8mD1oHLxasc4gBXAtPUXGYbbq10g//g9iQu5psYwYR67+pyj7tPVbIg== X-Received: by 2002:a05:6214:9aa:b0:690:6e8d:5f8f with SMTP id du10-20020a05621409aa00b006906e8d5f8fmr4779413qvb.7.1709533601528; Sun, 03 Mar 2024 22:26:41 -0800 (PST) Received: from thinkpad ([117.207.30.163]) by smtp.gmail.com with ESMTPSA id mm9-20020a0562145e8900b00690732feaadsm939670qvb.125.2024.03.03.22.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 22:26:41 -0800 (PST) Date: Mon, 4 Mar 2024 11:56:25 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Subject: Re: [PATCH v8 07/10] PCI: dwc: ep: Remove "core_init_notifier" flag Message-ID: <20240304062625.GG2647@thinkpad> References: <20240224-pci-dbi-rework-v8-0-64c7fd0cfe64@linaro.org> <20240224-pci-dbi-rework-v8-7-64c7fd0cfe64@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Vignesh Raghavendra , Kunihiko Hayashi , linux-pci@vger.kernel.org, Lorenzo Pieralisi , Minghuan Lian , Thierry Reding , Kishon Vijay Abraham I , Fabio Estevam , Marek Vasut , Kishon Vijay Abraham I , Rob Herring , linux-tegra@vger.kernel.org, Jonathan Hunter , NXP Linux Team , Richard Zhu , linux-arm-msm@vger.kernel.org, Sascha Hauer , linuxppc-dev@lists.ozlabs.org, Bjorn Helgaas , linux-omap@vger.kernel.org, Mingkai Hu , linux-arm-kernel@lists.infradead.org, Roy Zang , Jingoo Han , Yoshihiro Shimoda , linux- kernel@vger.kernel.org, Vidya Sagar , linux-renesas-soc@vger.kernel.org, Masami Hiramatsu , Pengutronix Kernel Team , Gustavo Pimentel , Shawn Guo , Lucas Stach Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Thu, Feb 29, 2024 at 12:23:16PM +0100, Niklas Cassel wrote: > Hello Mani, > > On Sat, Feb 24, 2024 at 12:24:13PM +0530, Manivannan Sadhasivam wrote: > > "core_init_notifier" flag is set by the glue drivers requiring refclk from > > the host to complete the DWC core initialization. Also, those drivers will > > send a notification to the EPF drivers once the initialization is fully > > completed using the pci_epc_init_notify() API. Only then, the EPF drivers > > will start functioning. > > > > For the rest of the drivers generating refclk locally, EPF drivers will > > start functioning post binding with them. EPF drivers rely on the > > 'core_init_notifier' flag to differentiate between the drivers. > > Unfortunately, this creates two different flows for the EPF drivers. > > > > So to avoid that, let's get rid of the "core_init_notifier" flag and follow > > a single initialization flow for the EPF drivers. This is done by calling > > the dw_pcie_ep_init_notify() from all glue drivers after the completion of > > dw_pcie_ep_init_registers() API. This will allow all the glue drivers to > > send the notification to the EPF drivers once the initialization is fully > > completed. > > > > Only difference here is that, the drivers requiring refclk from host will > > send the notification once refclk is received, while others will send it > > during probe time itself. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > 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-designware-plat.c | 2 ++ > > drivers/pci/controller/dwc/pcie-qcom-ep.c | 1 - > > drivers/pci/controller/dwc/pcie-rcar-gen4.c | 2 ++ > > drivers/pci/controller/dwc/pcie-tegra194.c | 1 - > > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 2 ++ > > drivers/pci/endpoint/functions/pci-epf-test.c | 18 +++++------------- > > include/linux/pci-epc.h | 3 --- > > pcie-artpec6.c:static const struct dw_pcie_ep_ops pcie_ep_ops = { > pcie-keembay.c:static const struct dw_pcie_ep_ops keembay_pcie_ep_ops = { > > Where is the love for these drivers? ;) > Ah, my grep skills got exposed :( Will fix them. - Mani -- மணிவண்ணன் சதாசிவம் 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 53854C48BF6 for ; Mon, 4 Mar 2024 06:27:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gcJRf6jVURxakSYPtpI3jV6ewsXbg4kT70TJ8gWM4B8=; b=Xm7m5juEX8joYv qwRVZMH4JKOFp3j96WFYvSgaPfS6yu2j98wenIMah+LthUy/hylglvnF8EimmLYhAoxys8dQmJjNP fsHPFN3oKHgZ/gf7To8XYU6jy0/NakpR95qvmj6CNMiL/l+qod7y+GmyybUu/aoCyRZsjyvFkTXmh iLHkgyqHd0rZFc6gZ0jl+GW5A0lkzSOtLqRykk12ehVcEOb/85emM1bNcQ15Xm7aVrhqavo0xPLqD JswKR+BT+92z5iZAca7pWNjI4ahBsUyRmfMPoJIS4vfq3M/FB9TBcHSOki7R8jLHs8XU8MmlS2nnN Ob/OBbgAxVovqH/irPVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rh1mg-00000007mpI-2UbB; Mon, 04 Mar 2024 06:26:46 +0000 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rh1md-00000007mor-1Kul for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2024 06:26:44 +0000 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-68ee2c0a237so31297946d6.1 for ; Sun, 03 Mar 2024 22:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709533601; x=1710138401; darn=lists.infradead.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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=BD4TwSbpCjIunF3sB1KyZJPPiZhzUTM+uqSXPwyIdu82hKDoFBcFx84WAcWqu7tsoM t38tPZAR/5xPsbzQ3v1f/4Td6moeIz8KxcTt8dfZjDpdXWJenHYpQpySgakJI+4/7twN yaLovNs/mTamGWATIQuIPmh8cyCpnySAQJQdbuP67ElkZUiQeQqM/xHmzuJ+GbG/I4PC l16ST5tJfCOd0/4ztkJvGZNJArxcLh8AsKeivPnICEQtpKlUXEEIxSOSiE9RnDwgIH0J PlVOF4v7aeLU+P/gXQpRo1SncvvGGpcm8FLg4J46A4TU5iIUIC9R8boZtGYUwgdURP6J hOiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709533601; x=1710138401; 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=f6SxR2LLsQ+g6a8hA+U1gdEFbl1WMiIH+9Qs8EKoBKQ=; b=CyoYhDM8cFw5sjtCAyHd6wsUW6oD7gdekg+74i/DVpEAfg/9h//HYNziRFsFx0iBGR flkcL9ebHR6coCoKmmvA4+wSvz3P/D9dgSfzkdZ+6N5al8BQ1g/TdRmUKDWm2ch0JLjD 4Nn3YdzG7TvPoAZVh2LWDLVya46rUb7m3L+cB9mOOhKLOdUFfpUYAM+1DgwlT9KQkAk0 aRJugg8dARBSJn+/9OhDxTyU1DkwPHgK00NbkdUI3gq8aeAT/2uldBrBjw7WWejK+pLN 0uCEJHI2kqC/woBX5OZkzeHPH5LxJmvAZN9Nku0XBquGe77k2HGZPHK+37ZY7cUmPI93 sPxg== X-Forwarded-Encrypted: i=1; AJvYcCVU/OQkJriKWmcnOMbFQokUkI6y2iyOAU0POH6VaW7s74nh2IFnxwDtZbESh2jAuvSRBkSMd4C1UGZA7yWP+9igXBxuQPaq/eH763qiyJcI87ZMI3A= X-Gm-Message-State: AOJu0Yy0twA1Hl34QHH2J4OsAx6pnlvoejSqmh+GpBJ0E9XidGJITDRf sgTswt7V8T67vaWp0ysJO9JV/IvPtk0DuskbJa1s8713ebOfNug4BfgWwCLFlg== X-Google-Smtp-Source: AGHT+IGh16i8bKazRcKjIf+8mD1oHLxasc4gBXAtPUXGYbbq10g//g9iQu5psYwYR67+pyj7tPVbIg== X-Received: by 2002:a05:6214:9aa:b0:690:6e8d:5f8f with SMTP id du10-20020a05621409aa00b006906e8d5f8fmr4779413qvb.7.1709533601528; Sun, 03 Mar 2024 22:26:41 -0800 (PST) Received: from thinkpad ([117.207.30.163]) by smtp.gmail.com with ESMTPSA id mm9-20020a0562145e8900b00690732feaadsm939670qvb.125.2024.03.03.22.26.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 22:26:41 -0800 (PST) Date: Mon, 4 Mar 2024 11:56:25 +0530 From: Manivannan Sadhasivam To: Niklas Cassel Cc: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kishon Vijay Abraham I , Vidya Sagar , Vignesh Raghavendra , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v8 07/10] PCI: dwc: ep: Remove "core_init_notifier" flag Message-ID: <20240304062625.GG2647@thinkpad> References: <20240224-pci-dbi-rework-v8-0-64c7fd0cfe64@linaro.org> <20240224-pci-dbi-rework-v8-7-64c7fd0cfe64@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240303_222643_385800_54A713BD X-CRM114-Status: GOOD ( 21.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org T24gVGh1LCBGZWIgMjksIDIwMjQgYXQgMTI6MjM6MTZQTSArMDEwMCwgTmlrbGFzIENhc3NlbCB3 cm90ZToKPiBIZWxsbyBNYW5pLAo+IAo+IE9uIFNhdCwgRmViIDI0LCAyMDI0IGF0IDEyOjI0OjEz UE0gKzA1MzAsIE1hbml2YW5uYW4gU2FkaGFzaXZhbSB3cm90ZToKPiA+ICJjb3JlX2luaXRfbm90 aWZpZXIiIGZsYWcgaXMgc2V0IGJ5IHRoZSBnbHVlIGRyaXZlcnMgcmVxdWlyaW5nIHJlZmNsayBm cm9tCj4gPiB0aGUgaG9zdCB0byBjb21wbGV0ZSB0aGUgRFdDIGNvcmUgaW5pdGlhbGl6YXRpb24u IEFsc28sIHRob3NlIGRyaXZlcnMgd2lsbAo+ID4gc2VuZCBhIG5vdGlmaWNhdGlvbiB0byB0aGUg RVBGIGR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