Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp290445yba; Wed, 15 May 2019 01:08:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzn84xW9/Ckb8l+aBhGD2R2jw+5GX5EFOxGexSetmilEbj5OYTBAr6GWD3JBcx7jeXcUbyM X-Received: by 2002:a17:902:e683:: with SMTP id cn3mr19741972plb.86.1557907702471; Wed, 15 May 2019 01:08:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557907702; cv=none; d=google.com; s=arc-20160816; b=s6N1JM+7dysmYPrWYmERE+ilsnzS3tkVtH6kFB5lW318HZODfx/Z/5q6iaC8/QyBrK YCBxFwT+uCHe4RKOOHznIu6SqJYPrpgBC49yP+sSB9CZG2IyObH5y9185yxdsS9Ome+k CIiwbskAox7Sbimfqd9BZbrjCQhRshqIQtQmi8oqh+FVfFo9jq2Cv/NcPbTUll9Cx5+l 4cZLVz5OU9YYXhWLeR7kOI6ajiPJlTRyaj+ivKhdejDGhdkNS42ZMO3evC9QE2uWico4 SmCeC4/CU5GhmTez10BzfJ9md8Vg7mzWu+h9wjKd+haAPH7fUWwVSXrs6MxSlwExlKV3 kjrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=Q+ccq2l1YBXRacKh6NL0gv9RFQ3XL6hLCYeRFYOlzPA=; b=tUDmhHPZEgZyc+PBaARMTxaTBfhX4vW9Pvi+9IL590jr5XcB8CD7+GNmBomURtKlEM 5P3LL9eT8UDDBAej9taZk2NtJVvHl73lHSxny8sw3rWq+01L64jzZHylWUfuRCWa42Cf cbqBZICCFsujbwgg6VJtmq07w1/6GsqbOkyVwTFsqyok0xDVKo/+mMKdM0kHlUBmvgFD JyFWjPpT1GnBewaKEutzeioScGVUx4ZQm+0/oZqgpoLU/J7iCN2swYACjpCACnB+4fZd UHYpUtqyVu+B/1xaYtS7A4g9nQm/x0VSle+4bMQn7cVVdqdHwOacC3SxojXs3VnJTvsP TRtw== 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 67si1144175plf.382.2019.05.15.01.08.07; Wed, 15 May 2019 01:08:22 -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 S1726486AbfEOIFi (ORCPT + 99 others); Wed, 15 May 2019 04:05:38 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:39781 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbfEOIFh (ORCPT ); Wed, 15 May 2019 04:05:37 -0400 Received: by mail-qk1-f195.google.com with SMTP id z128so931249qkb.6; Wed, 15 May 2019 01:05:36 -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; bh=Q+ccq2l1YBXRacKh6NL0gv9RFQ3XL6hLCYeRFYOlzPA=; b=UkS/ONOvFGrWAFYD7mnzpauai+AHYBQQNKgOY6g1o8HWGrHG/GAxTmksYfT4sWpuCv iUn6l9lORkUYBNkn2uPo5Yq8LnHw+Mbm2Ynpi4SELKCj/YyTlAoVa3wWlg1vN2IBQ+29 4zqKXtDQES5LnLIfV1k4eE4Siq50D7iXV7kDzG8CzGk95OwkQMlLPls6XT/zIJGjsM7w x46DkBZU8V7qXP/CqHrD5meO8RK1l+GWc6IjjDdjNTAwRre/AFg94GLbFM1Nflxf3+4Y CtmlCwpeZuzoXEoh+h8drBZTwvgwM7XjBMk9t0ITcf9cwNSMEHM6abpIdX7SXDysDFpp yr0w== X-Gm-Message-State: APjAAAWoYwZlGzDI+cTHGvfiGrPDuYfYHZyEtDH2cF27ZfaBBmkReu0R 9wUC+qJw+5U0T28iVvsHe5CRu9DXzeIstOagVCs= X-Received: by 2002:a37:c441:: with SMTP id h1mr5276612qkm.291.1557907536423; Wed, 15 May 2019 01:05:36 -0700 (PDT) MIME-Version: 1.0 References: <20190515072747.39941-1-xiaowei.bao@nxp.com> <20190515072747.39941-2-xiaowei.bao@nxp.com> In-Reply-To: <20190515072747.39941-2-xiaowei.bao@nxp.com> From: Arnd Bergmann Date: Wed, 15 May 2019 10:05:19 +0200 Message-ID: Subject: 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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? Is this a hardware bug, or something that can be fixed in firmware? Arnd