Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp442689ybl; Thu, 23 Jan 2020 01:25:58 -0800 (PST) X-Google-Smtp-Source: APXvYqxcRNNNOr1dpipcn2phuK8aAp35jIUdKXnMNd9aHkuu11uNiwH1JdDWU0S9ybDbWf7FxnTG X-Received: by 2002:aca:5f87:: with SMTP id t129mr10103157oib.36.1579771558587; Thu, 23 Jan 2020 01:25:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579771558; cv=none; d=google.com; s=arc-20160816; b=yINVVcflgVbjs8VkaX5v9+7XQT/AfQGz3ktJ0HWOAquDuC60cBExX48J9vdhR0BwQT WplKxd3PCHrBVnEMtaCRD3OrU6s0l9woPQIrxLdlZP1J/6CGYlwqGhBNQyDE8JhBE9tB zZMdmaKQk7VNVWb8K/CHVTmYdTvZ+GIOgkiANudsfSAVM1BnVbm5yIray1WATVPfZJem Kfsez9gpO1EJ6C3Jx9GeKOpJlprp5WA9EM7aCKu78x8oT7f+vUgOo4hdHDkzDJb+2g+X afch66Bm/QdS4MHAFh+idf3lX3wv/hY+CGQWW5QGybAmxO1Tf3z2AkmLnYSTs9tigFsv /+TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=CJkKxyTcSbvf0mPRyw06IElQEGq2bOcaS4s3pVBON7k=; b=fqceWWwjo1Sg71WJs8t3u3MMktGZo8LlANicdgty/sQlBaEygTzZ4ZwPpDl0O/4lU9 SDttOYIczwJnpcrZmSX4TVA7jHRoB8P8eg6zYUTGcJfCjibAScJuSNO1VRAbrKs08ZMA fY9Lfn+POKI6499+whFRw+OpYSbP/xNndYqKmUwbS3OnYBH0me2Tq4+fiW0mWdf6C0p4 nUQqBkFwkdBzVqhKMFskhKuxmyr/LjsA2w4zhZEtv8ffJjb8yh1kVLaY3F7OSGpjmwqZ wLLeyVG0J9FgWFjp03SZ3/FNMSPDheDlBczcRgxooy9hPw0PLvyTnV075w8M6VGLxY4D 2Hbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Xeh0yuoB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si618208oii.114.2020.01.23.01.25.46; Thu, 23 Jan 2020 01:25:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Xeh0yuoB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726761AbgAWJYi (ORCPT + 99 others); Thu, 23 Jan 2020 04:24:38 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:8170 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725785AbgAWJYi (ORCPT ); Thu, 23 Jan 2020 04:24:38 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 23 Jan 2020 01:23:52 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 23 Jan 2020 01:24:37 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 23 Jan 2020 01:24:37 -0800 Received: from [10.25.73.122] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 23 Jan 2020 09:24:33 +0000 Subject: Re: [PATCH V2 0/5] Add support to defer core initialization From: Vidya Sagar To: CC: , , , , , , , , , , , , References: <20200103100736.27627-1-vidyas@nvidia.com> X-Nvconfidentiality: public Message-ID: <680a58ec-5d09-3e3b-2fd6-544c32732818@nvidia.com> Date: Thu, 23 Jan 2020 14:54:30 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1579771432; bh=CJkKxyTcSbvf0mPRyw06IElQEGq2bOcaS4s3pVBON7k=; h=X-PGP-Universal:Subject:From:To:CC:References:X-Nvconfidentiality: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=Xeh0yuoBkA5QXkhqjM1166Nnm/5vcIjw0ly24p4ffLbyEJyUYcEsKhy/h+Vz6a4XO 1AvHAR8pI1Z26vBBLapfq7mMAjDBGn2I0uv4uhFx1XLZZvIUo4kHlYMtgoNzUNvdAa 31K/ZOzGEKS1ykoSPtHhcDkmmBKRE95kUJEa7Ksn/swvZ1bpBxRSoRK3ILxboVGxmK ay6bm7CtVZwhUVtTF6r4W2vzouuie2nC9VseU3g8eR8C1STf9cenfbbvFOwTIjUISG CZioIIux0Cy938Sau1Dthrq6SEvTDAaKbq1J7+iusMfg8mfVo93+iNlKde1494MZua ffUICBmOJLLlw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kishon, Apologies for pinging again. Could you please review this series? Thanks, Vidya Sagar On 1/11/2020 5:18 PM, Vidya Sagar wrote: > Hi Kishon, > Could you please review this series? >=20 > Also, this series depends on the following change of yours > http://patchwork.ozlabs.org/patch/1109884/ > Whats the plan to get this merged? >=20 > Thanks, > Vidya Sagar >=20 > On 1/3/20 3:37 PM, Vidya Sagar wrote: >> EPC/DesignWare core endpoint subsystems assume that the core registers=20 >> are >> available always for SW to initialize. But, that may not be the case=20 >> always. >> For example, Tegra194 hardware has the core running on a clock that is=20 >> derived >> from reference clock that is coming into the endpoint system from host. >> Hence core is made available asynchronously based on when host system=20 >> is going >> for enumeration of devices. To accommodate this kind of hardwares,=20 >> support is >> required to defer the core initialization until the respective=20 >> platform driver >> informs the EPC/DWC endpoint sub-systems that the core is indeed=20 >> available for >> initiaization. This patch series is attempting to add precisely that. >> This series is based on Kishon's patch that adds notification mechanism >> support from EPC to EPF @ http://patchwork.ozlabs.org/patch/1109884/ >> >> Vidya Sagar (5): >> =C2=A0=C2=A0 PCI: endpoint: Add core init notifying feature >> =C2=A0=C2=A0 PCI: dwc: Refactor core initialization code for EP mode >> =C2=A0=C2=A0 PCI: endpoint: Add notification for core init completion >> =C2=A0=C2=A0 PCI: dwc: Add API to notify core initialization completion >> =C2=A0=C2=A0 PCI: pci-epf-test: Add support to defer core initialization >> >> =C2=A0 .../pci/controller/dwc/pcie-designware-ep.c=C2=A0=C2=A0 |=C2=A0 7= 9 +++++++----- >> =C2=A0 drivers/pci/controller/dwc/pcie-designware.h=C2=A0 |=C2=A0 11 ++ >> =C2=A0 drivers/pci/endpoint/functions/pci-epf-test.c | 118 ++++++++++++-= ----- >> =C2=A0 drivers/pci/endpoint/pci-epc-core.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 19 ++- >> =C2=A0 include/linux/pci-epc.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0=C2=A0 2 + >> =C2=A0 include/linux/pci-epf.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0=C2=A0 5 + >> =C2=A0 6 files changed, 164 insertions(+), 70 deletions(-) >>