Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1661101rwd; Mon, 15 May 2023 00:51:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4P0e8oBDe6l9n9irhhU+BKoF+hxHgt5JZ9DCPkK97xGqcfFg9NhKi7WkaU1OY01WiguuDK X-Received: by 2002:a05:6a21:920d:b0:f8:ea21:7c37 with SMTP id tl13-20020a056a21920d00b000f8ea217c37mr38524780pzb.20.1684137105688; Mon, 15 May 2023 00:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684137105; cv=none; d=google.com; s=arc-20160816; b=OLv3svUr+BjnXyFyJTheT4mHTC2FdHLaGCKGblro2QuqTOBe0poTae1oAgvT0xRHnZ /FGcHqwPLk0b4ETlm9grkMiTs9O+ru7X13nAIH1RnWnbufmyj/MWnwTnlCszf6m1R2HQ zbIrvh/Xhj1VCu6YD+g/BjJo/mH2XUhTikjXfMDJY+RnXsF+Jr0SdR2SCRh2KuYEL+x1 7PQ7zEpQbRHWCXXIDgRu/pyrPejiQfUMLTOQFRa5jR8N+spOOowzNDRFn7AJH61puH4s gkcLnfSB4gbrke4f0Fan7BX2ZAYYq/nh9BI9DRNYo71shd8AvUpL/RZU7XxbIeCu5S1b EKxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0gyeqp9VttGyT/0qVktmIIvYMABcH1kew4H4av4Ivqk=; b=W5ZvBB/2Cbe5uLvY0CaVaB7SLbdKbmJeFQKd8C/M9l6IlTmMILWXWaey74Xkbez6Nh ERX5w5oVu8Vie6n9iageXC3FTnExQj5/+Nh7A7k0HH/JjHW74PyGFtJJ6kIFKR1eN6/J h0ZDEFVdi5I1o7WL1wEdsYt2YedKzY60JuVMsxPc7Q5c6H7e9TQznZmCCuv5jy/C8ksl yJKtCJ3Zm1HHVYEKlNIBWF7fBCNsqGHVD11dsSjISZxV2V7s/8DJvmVcpMe3olw61/N/ KkcwpXo2AMTkZAUYFFS/OMtebsee/lzZEIdY6aDbB5AL43MqW/0oCJ4bGv6JE0837Mqg La2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h6urAEPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020a63b941000000b0053009feb3b9si9694871pgo.523.2023.05.15.00.51.33; Mon, 15 May 2023 00:51:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h6urAEPE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239126AbjEOHlk (ORCPT + 99 others); Mon, 15 May 2023 03:41:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239244AbjEOHla (ORCPT ); Mon, 15 May 2023 03:41:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 782F9E68; Mon, 15 May 2023 00:41:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 02A9A6204A; Mon, 15 May 2023 07:41:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D0A7C433D2; Mon, 15 May 2023 07:41:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684136469; bh=coPC/xP183UKAwmHxwBtquprO2N10ctzGUBzcdmXAM4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=h6urAEPEZelDXGrD7FRT0JK28g0vChhSby4zRtIRHu2eulP1bjvbsm7oPQSovY8cn BIJyqYwQkk3f/A7a/cSnl1ZmdBO6rWMRAbKL7TDy9lFW4MT0rssalIC+OqgcRv/YR8 IgeljowxZPswPKQKLDTz0U2fD2xrZhufr4rKzBcOy+91Gg3SFXcvZMRBU0z5P5KpJU 2OHAlWV+QWVmyt4PtdPxninx5rw57IzHGL/M3bdtTs8zWhvhdWVZDuk+AAsfd9uNE1 TSW7AxpN62TKgRqb1NDBh2670USucZN/eygzQxWHjs/2SFs1SLcW4WZdXtDtvPS8+m BKeahNl+tTvig== Date: Mon, 15 May 2023 13:10:58 +0530 From: Manivannan Sadhasivam To: Manivannan Sadhasivam Cc: Vidya Sagar , jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, bhelgaas@google.com, Sergey.Semin@baikalelectronics.ru, dmitry.baryshkov@linaro.org, linmq006@gmail.com, ffclaire1224@gmail.com, thierry.reding@gmail.com, jonathanh@nvidia.com, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, kthota@nvidia.com, mmaddireddy@nvidia.com, sagar.tv@gmail.com Subject: Re: [PATCH V5 0/3] PCI: designware-ep: Fix DBI access before core init Message-ID: <20230515074058.GC30758@thinkpad> References: <20221013175712.7539-1-vidyas@nvidia.com> <20230214130329.GC4981@thinkpad> <20230307151839.GE5599@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230307151839.GE5599@thinkpad> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2023 at 08:48:39PM +0530, Manivannan Sadhasivam wrote: > On Tue, Feb 14, 2023 at 07:27:54PM +0530, Vidya Sagar wrote: > > > > > > On 2/14/2023 6:33 PM, Manivannan Sadhasivam wrote: > > > External email: Use caution opening links or attachments > > > > > > > > > On Thu, Oct 13, 2022 at 11:27:09PM +0530, Vidya Sagar wrote: > > > > This series attempts to fix the issue with core register (Ex:- DBI) accesses > > > > causing system hang issues in platforms where there is a dependency on the > > > > availability of PCIe Reference clock from the host for their core > > > > initialization. > > > > This series is verified on Tegra194 & Tegra234 platforms. > > > > > > > > Manivannan, could you please verify on qcom platforms? > > > > > > > > > > Vidya, any plan to respin this series? The EPC rework series is now merged for > > > v6.3. > > > > Yes. I'll send an updated series soon. > > Currently, I'm observing some regression with linux-next on Tegra platform > > for endpoint mode. I'll post the patches as soon as that is resolved. > > > > Ping! > Ping again. - Mani > Thanks, > Mani > > > Thanks, > > Vidya Sagar > > > > > > > > Thanks, > > > Mani > > > > > > > V5: > > > > * Addressed review comments from Bjorn > > > > * Changed dw_pcie_ep_init_complete() to dw_pcie_ep_init_late() > > > > * Skipped memory allocation if done already. This is to avoid freeing and then > > > > allocating again during PERST# toggles from the host. > > > > > > > > V4: > > > > * Addressed review comments from Bjorn and Manivannan > > > > * Added .ep_init_late() ops > > > > * Added patches to refactor code in qcom and tegra platforms > > > > > > > > Vidya Sagar (3): > > > > PCI: designware-ep: Fix DBI access before core init > > > > PCI: qcom-ep: Refactor EP initialization completion > > > > PCI: tegra194: Refactor EP initialization completion > > > > > > > > .../pci/controller/dwc/pcie-designware-ep.c | 125 +++++++++++------- > > > > drivers/pci/controller/dwc/pcie-designware.h | 10 +- > > > > drivers/pci/controller/dwc/pcie-qcom-ep.c | 27 ++-- > > > > drivers/pci/controller/dwc/pcie-tegra194.c | 4 +- > > > > 4 files changed, 97 insertions(+), 69 deletions(-) > > > > > > > > -- > > > > 2.17.1 > > > > > > > > > > -- > > > மணிவண்ணன் சதாசிவம் > > -- > மணிவண்ணன் சதாசிவம் -- மணிவண்ணன் சதாசிவம்