Received: by 10.213.65.68 with SMTP id h4csp3516055imn; Tue, 3 Apr 2018 06:23:58 -0700 (PDT) X-Google-Smtp-Source: AIpwx49qORP4u7Vtet4qmkgdDt8u+N7LqLlLCFTV20vicubGslLLtyBc1HSKKaQX4xC3w7Iz/Y8y X-Received: by 2002:a17:902:6085:: with SMTP id s5-v6mr14177917plj.307.1522761838771; Tue, 03 Apr 2018 06:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522761838; cv=none; d=google.com; s=arc-20160816; b=mVuhCN8KNF5f9nStMTh51YGrDNDAyljpcqc1FpDukh7l97clQoCg3iX0wln/uewAJv UgS/h9CtQnrpINvynEVsK+0o3Z5De2OB0eaQFqMHC6JLPQrk4y24ejpQRZ8CvPowvc4s YXFFnWC/8Bb6o86HAk2hNrdwjRsMovwi/FxoEs1PP+zCYC89H9J1dnsJjcYBKMmir30O DU6EWTGpUS4BCsc03rMlesD+q6A24nVeeE0xcwtiqI2XlEqc7MAz3I+seMrJWTXQsHgX 57vkvzWFLlyP9+lYhlaZGg63Ca3B8xRNe8lHIKIDtqW032AP5g8JlmYJlZnAIDbfKvSQ mphQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Px4dWIFWYr5NvNjZyuAFRylr0/86fcZVE5CODrVhoiU=; b=J0UkXYYfqnTlkrArbD1BQ4uS/XUuB9r/R7zV+wkr6cIbHxAeC9lBXQJEUcj678H5NF 9yERva3pH3g5SyAHbpTPPVmncwh4gBXk4fV9vIT9Mc3keO4EXz2tobcOmuf3gBxAbEq+ pIBv2YVe4R7qgr6cBDcJ2H+fZvH5OzVfsjlL+oYgl00ka+dR9CNBqwZBU18CyhOhFyz5 ySDYkta+wSpxy7//4xDSQ+3ok3uTS5SkaznabxnOuYogvtkpDPf5GyrY5U1frQqUQ/P2 Tl8e5D2MBnVchmBTRNIKxQ0OH2lMvMgfpt2Y5zmEKjyuF+MCwfxX0hHtx1nWIXlgANy1 iExQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si491312pla.505.2018.04.03.06.23.44; Tue, 03 Apr 2018 06:23:58 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932327AbeDCNVk (ORCPT + 99 others); Tue, 3 Apr 2018 09:21:40 -0400 Received: from smtprelay.synopsys.com ([198.182.47.9]:57664 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932292AbeDCNVj (ORCPT ); Tue, 3 Apr 2018 09:21:39 -0400 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 9ED9524E1F2F; Tue, 3 Apr 2018 06:21:38 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 86D303E13; Tue, 3 Apr 2018 06:21:38 -0700 (PDT) Received: from pt02.synopsys.com (pt02.synopsys.com [10.107.23.240]) by mailhost.synopsys.com (Postfix) with ESMTP id 3D75D3E10; Tue, 3 Apr 2018 06:21:38 -0700 (PDT) Received: from [127.0.0.1] (gustavo-e7480.internal.synopsys.com [10.107.25.102]) by pt02.synopsys.com (Postfix) with ESMTP id 909A38393; Tue, 3 Apr 2018 14:21:37 +0100 (WEST) Subject: Re: [PATCH 3/8] bindings: PCI: designware: Add support for the EP in designware driver To: Kishon Vijay Abraham I , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , "Joao.Pinto@synopsys.com" , "jingoohan1@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" Cc: "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" References: <405911c8-fffc-5bd7-76c5-f7aabde3b7bc@ti.com> <87ba8936-e870-f52b-2ff1-0aea90d0a25c@synopsys.com> From: Gustavo Pimentel Message-ID: <331e32c4-a39b-b5a6-6fbd-6eef7ca4b27c@synopsys.com> Date: Tue, 3 Apr 2018 14:20:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kishon, On 03/04/2018 11:55, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 03 April 2018 04:13 PM, Gustavo Pimentel wrote: >> Hi Kishon, >> >> On 02/04/2018 06:35, Kishon Vijay Abraham I wrote: >>> >>> >>> On Wednesday 28 March 2018 05:08 PM, Gustavo Pimentel wrote: >>>> Signed-off-by: Gustavo Pimentel >>> >>> Please add a commit message. >> >> Ok. I'll add. Thanks for noticing it. >> >>>> --- >>>> Documentation/devicetree/bindings/pci/designware-pcie.txt | 13 +++++++++++++ >>>> 1 file changed, 13 insertions(+) >>>> >>>> diff --git a/Documentation/devicetree/bindings/pci/designware-pcie.txt b/Documentation/devicetree/bindings/pci/designware-pcie.txt >>>> index 6300762..4bb2e08 100644 >>>> --- a/Documentation/devicetree/bindings/pci/designware-pcie.txt >>>> +++ b/Documentation/devicetree/bindings/pci/designware-pcie.txt >>>> @@ -3,6 +3,7 @@ >>>> Required properties: >>>> - compatible: >>>> "snps,dw-pcie" for RC mode; >>>> + "snps,dw-pcie-ep" for EP mode; >>>> - reg: Should contain the configuration address space. >>>> - reg-names: Must be "config" for the PCIe configuration space. >>>> (The old way of getting the configuration address space from "ranges" >>>> @@ -56,3 +57,15 @@ Example configuration: >>>> #interrupt-cells = <1>; >>>> num-lanes = <1>; >>>> }; >>>> +or >>>> + pcie_ep: pcie_ep@dfc00000 { >>>> + compatible = "snps,dw-pcie-ep"; >>>> + reg = <0xdfc00000 0x0001000>, /* IP registers 1 */ >>>> + <0xdfc01000 0x0001000>, /* IP registers 2 */ >>> >>> Doesn't this have iATU unroll space? >> >> I don't think EP has it, but I'm no expert on this matter. Can you provide me >> some example of having iATU unroll space mapping would be useful in EP scope? > > I'm not sure. I thought if the dwc3 core version is 4.80, then it'll have a > separate ATU space irrespective of RC mode or EP mode. As replied on patch 1, let's leave out any reference of iATU unroll to avoid any confusion. Agree? > > Thanks > Kishon > Regards, Gustavo