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 X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7FC6C04AB4 for ; Fri, 17 May 2019 09:00:23 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0E35D20833 for ; Fri, 17 May 2019 09:00:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E35D20833 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arndb.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4552LX3LjSzDqV2 for ; Fri, 17 May 2019 19:00:20 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=209.85.160.196; helo=mail-qt1-f196.google.com; envelope-from=arndbergmann@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=arndb.de Received: from mail-qt1-f196.google.com (mail-qt1-f196.google.com [209.85.160.196]) (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 4552Jx2YdGzDqRJ for ; Fri, 17 May 2019 18:58:57 +1000 (AEST) Received: by mail-qt1-f196.google.com with SMTP id f24so7094820qtk.11 for ; Fri, 17 May 2019 01:58:56 -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=oxAPqQk7T5Egxoz9CoOAfMimC4u8rFc+hqPXCmlLoFjD0P/gmH4d7sX+bsvQ0qYlhy G23BeiojtJup8dMH0hwyaiKXNfSlgyFvQnpGVXpefvhn2UCv5Ot/ZXwRm4i7f4jgVjLs SHrMXC8sVNDO6xyyzPQ2DlXo4Z7uF6/l0NBDcGAkhQzxBZdMIdgd0mlSCnl8Br6zE5zF e+2+BMU5xRsP7tk7TYhi8bmxS/PWBAINMp5n0DPc3+M3mxaLAkJhyKhp/rHSH/dYSLs/ Ps3so/XMxjMgXMvIwnTts/3ZgzSTHK7p74wCPVoSvfrcPOJWfQobr5ee7yG0tu6Gbk2+ zl9A== X-Gm-Message-State: APjAAAWvRHADu2j5doJB67+RU4RwsjkbbZ3Kup/pyHrHYaJ6u860L7I+ Ygo3fnpttNpNoCRmh8v/CjWnJyTQW41t+of5aQQ= X-Google-Smtp-Source: APXvYqwNxbxFr/vzS1RXQZDBTDKL/hVCvagOotGDm724YF5ym/q8RL/him/sN27hB8O1MZtVcEFf95bHEOo3m0FhXo8= 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Mark Rutland , Roy Zang , Lorenzo Pieralisi , DTML , gregkh , Kate Stewart , linuxppc-dev , linux-pci , Linux Kernel Mailing List , Kishon , "M.h. Lian" , Rob Herring , Linux ARM , Philippe Ombredanne , Bjorn Helgaas , Leo Li , Shawn Guo , Shawn Lin , Mingkai Hu Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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/arm6= 4/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 =3D "disabled"; > > }; > > > > + pcie@3400000 { > > + compatible =3D "fsl,ls1028a-pcie"; > > + reg =3D <0x00 0x03400000 0x0 0x00100000 /* co= ntroller registers */ > > + 0x80 0x00000000 0x0 0x00002000>; /* conf= iguration space */ > > + reg-names =3D "regs", "config"; > > + interrupts =3D , /* PME interrupt */ > > + ;= /* aer interrupt */ > > + interrupt-names =3D "pme", "aer"; > > + #address-cells =3D <3>; > > + #size-cells =3D <2>; > > + device_type =3D "pci"; > > + dma-coherent; > > + num-lanes =3D <4>; > > + bus-range =3D <0x0 0xff>; > > + ranges =3D <0x81000000 0x0 0x00000000 0x80 0x00= 010000 0x0 0x00010000 /* downstream I/O */ > > + 0x82000000 0x0 0x40000000 0x80 0x4000= 0000 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 suppo= rt for all Layerscape platforms. Ok, thanks. > Of course, the prefetchable PCIE device can work in our boards, because t= he RC will > assign non-prefetchable memory for this device. We reserve 1G no-prefetch= able > 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 memor= y semantics to get the expected performance. GPUs are the obvious example, but I think there are others (infiniband?). Arnd