Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1670101yba; Fri, 17 May 2019 03:21:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9arHWyCQrIVHk/h8VrC5XVr+YFNtWlwlTcb7480FSMyWk36BY4DJW8JVbhk7lz9t6KtHg X-Received: by 2002:aa7:8a11:: with SMTP id m17mr37605674pfa.122.1558088488519; Fri, 17 May 2019 03:21:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558088488; cv=none; d=google.com; s=arc-20160816; b=qBCbd8KpTPpS689McpDKIh8pDILuNu18zrujG7qEp5i+VjcT76U9hCAr1TMdC5DFdy tKZCzwMkootWMI61WTZVC3zfqMCrtBGHHBpz2tRWb4J4fCW+O9zAh5RK/unXB4f+FnfX wQ3tc1Un2zOC/xKVYz1cmuLPqtlTp5OciNeRqL+lnaVKKxO3T48MFnUk71uzZYzfaW4y ubZTzyOtQ6DtFsFuTCSC04AQX4MtnRsCno0221SuuBIoRIZmwof5VdFBvGFag24dYV9V yTdbiA8hZWOv0FeS16n8VE8cDPIEhVe7ybDVsDxS9r5Xf3NQsqxiyKuR9EiEA/AJO3YQ zhvg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=gx9Z3aqtjkoAR+rM22vxF1Sx/SY0hyjvqv1xxg+q+cU=; b=XDqlKKTJ7pHAQg7LLiAAGDpaHkbm5qvXL0HZhHkVOfihJaK5HNcFbyN8wGzmmD3IFU OPvzmhdkNbYdr25Cim0wo2Nw5skdWwZyhmojZB1F/eiyQgrWMp3AiUUHfOKXVKyMU5AK Cgw5q2A5bU5pY+dMW3oHTqnoq6Do3HcTzHR4EMYgiGTzKoHsMYLAvf0RMbKtOSZdLdbQ yi/8J9XPosBqlYYE8WIaRA3P4zIA5+pceiV23YLt6CY5NapeaYaW/I/hmc4n04FHowZ0 NLqB/kEo5bB/XPfMtMmy8WUvmxu3OF41GD3vr8WtUo44JupRU4tCYwRIBuvXarLLi91Q T4Yw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i38si8113715plb.132.2019.05.17.03.21.13; Fri, 17 May 2019 03:21:28 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728175AbfEQI6z convert rfc822-to-8bit (ORCPT + 99 others); Fri, 17 May 2019 04:58:55 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:43033 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727826AbfEQI6z (ORCPT ); Fri, 17 May 2019 04:58:55 -0400 Received: by mail-qt1-f194.google.com with SMTP id i26so7087045qtr.10; Fri, 17 May 2019 01:58:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lUdOq+gx0nXT1b9GsinnX5s7hPrX6YoGJqW2/FU2LMQ=; b=RpFOr0oULuR1MRqxeLyOGuqnuiWmU7o6cdQmtSQp/pycQhETac42PTjvn6/ofo1spL Daby4SFcb06zg15P6ZQF2Rz6H6NpLXDUgJCa4dj7VLi5MTJwMNUFyeqSFE5CJ92px9Ea 5PI3QaoE+c/QzQipbrGJC88aCXF2V9/7Jf5SxHFZgcuebS4/crD996H4bhSIeAJyH40+ xD54ooqmEtJrjVAMmN/goOX0OYwSLQAh/d2g+vk4/dM6vTYnq69KmcefPCbVyDsN+NFz dlTjl7SbXa4A4pn6bVvV9xoMCBUZOIMWS1FZm9VYQgOqiTEfjEWRbicHlnXyUctHzGBa KE6w== X-Gm-Message-State: APjAAAXzbiusdx1c0HgvWDtVkYxDT+WrPOb4RW53MWOVLFRCHoQcQXPu K3+Uc+JtSwgGx8KNe36Jorai0/woxKU8/Qo3/rw= X-Received: by 2002:ac8:2a05:: with SMTP id k5mr30063052qtk.304.1558083534352; Fri, 17 May 2019 01:58:54 -0700 (PDT) MIME-Version: 1.0 References: <20190515072747.39941-1-xiaowei.bao@nxp.com> <20190515072747.39941-2-xiaowei.bao@nxp.com> In-Reply-To: From: Arnd Bergmann Date: Fri, 17 May 2019 10:58:37 +0200 Message-ID: Subject: Re: [EXT] Re: [PATCH 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes To: Xiaowei Bao Cc: Bjorn Helgaas , Rob Herring , Mark Rutland , Shawn Guo , Leo Li , Kishon , Lorenzo Pieralisi , gregkh , "M.h. Lian" , Mingkai Hu , Roy Zang , Kate Stewart , Philippe Ombredanne , Shawn Lin , linux-pci , DTML , Linux Kernel Mailing List , Linux ARM , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 17, 2019 at 5:21 AM Xiaowei Bao wrote: > -----Original Message----- > From: Arnd Bergmann > On Wed, May 15, 2019 at 9:36 AM Xiaowei Bao wrote: > > Signed-off-by: Xiaowei Bao > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 52 ++++++++++++++++++++++++ > > 1 files changed, 52 insertions(+), 0 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > > index b045812..50b579b 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > > @@ -398,6 +398,58 @@ > > status = "disabled"; > > }; > > > > + pcie@3400000 { > > + compatible = "fsl,ls1028a-pcie"; > > + reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */ > > + 0x80 0x00000000 0x0 0x00002000>; /* configuration space */ > > + reg-names = "regs", "config"; > > + interrupts = , /* PME interrupt */ > > + ; /* aer interrupt */ > > + interrupt-names = "pme", "aer"; > > + #address-cells = <3>; > > + #size-cells = <2>; > > + device_type = "pci"; > > + dma-coherent; > > + num-lanes = <4>; > > + bus-range = <0x0 0xff>; > > + ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000 /* downstream I/O */ > > + 0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */ > > Are you sure there is no support for 64-bit BARs or prefetchable memory? > [Xiaowei Bao] sorry for late reply, Thought that our Layerscape platform has not added prefetchable memory support in DTS, so this platform has not been added, I will submit a separate patch to add prefetchable memory support for all Layerscape platforms. Ok, thanks. > Of course, the prefetchable PCIE device can work in our boards, because the RC will > assign non-prefetchable memory for this device. We reserve 1G no-prefetchable > memory for PCIE device, it is enough for general devices. Sure, many devices work just fine, this is mostly a question of supporting those devices that do require multiple gigabytes, or that need prefetchable memory semantics to get the expected performance. GPUs are the obvious example, but I think there are others (infiniband?). Arnd