Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3403004yba; Mon, 29 Apr 2019 01:29:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsArrPM/3R0GH2GrF8G8mQt3kQJYQk2O3VgT885aDcX3bv565OH2QKCqCucWNsnkAtE141 X-Received: by 2002:a17:902:f30b:: with SMTP id gb11mr584565plb.109.1556526554304; Mon, 29 Apr 2019 01:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556526554; cv=none; d=google.com; s=arc-20160816; b=LIGh0O01VRajom74ygjLEnkaK8F52UOcJtHg3dVp5A9PenhU7LXTQOshjxY1gNsh0y SPRGnlfRUj0rxDh17dGmg5Q8BoBBLImcTRgks80fzqGXBXd/m2C02kTaxw8MLttY94Np qweDhK02EPW3LM/aHuf8JdnaDTkl2ngJh/mLBwy/VTNvN8QvzZu0fcJKaWzmDYg/w1Tu 82EgIFrWMmzDJLmKhU7WiDSHcNOdguijOKsaDCOEeaXtC20cCfEreyZDtdeCMU+zNEzB 18vqZBxoKjMMbj4mPRk9tOIRoCKbt5DGVxX2RVsJKlg0KCvzFmRr+UfzSUDOgellD2vn v4Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=FBrAJDGvn+JT1aKPKIXhlCrczVQVbrsXwsxaUJHXkGI=; b=c0fnpdiiRUKQB+/TU8htGolEdS67WIa02e60uJAPiBRNO01hybEXeN60VxCIHU5PLi 51+3doOXbHpN0BfetqJAWvF0il+hZlsWidjaB1B/I16Z+dsjDUX3LKlFPWzqNhggWGxE ViZce3HMIjt8myR0D3rQhVengRRezXOaiatpNz0sxBEleofYS+TgvUNcHQwTU+SGaZgE FMwLooY+BUlxbOLQSzPn1e/HHrRpzqSpMkY60IwEQAyUpVER3V8cZhcrgk5F6kIKXcDl ycMBw1nnhRc3OdHkpKSi/BbteCbh5u3b4TYtA9Ie+IZ4K0AawAxOddl71QE7JsqQ/TM4 S9Cg== 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=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h126si31003944pgc.508.2019.04.29.01.28.58; Mon, 29 Apr 2019 01:29:14 -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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727662AbfD2I1u (ORCPT + 99 others); Mon, 29 Apr 2019 04:27:50 -0400 Received: from inva021.nxp.com ([92.121.34.21]:45658 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727444AbfD2I1u (ORCPT ); Mon, 29 Apr 2019 04:27:50 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6AE76200241; Mon, 29 Apr 2019 10:27:48 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 99459200166; Mon, 29 Apr 2019 10:27:39 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9991D402F0; Mon, 29 Apr 2019 16:27:28 +0800 (SGT) From: Xiaowei Bao To: bhelgaas@google.com, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, lorenzo.pieralisi@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, minghuan.Lian@nxp.com, mingkai.hu@nxp.com, roy.zang@nxp.com, kstewart@linuxfoundation.org, pombredanne@nexb.com, shawn.lin@rock-chips.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Cc: Xiaowei Bao Subject: [PATCH 1/2] PCI: layerscape: Add the bar_fixed_64bit property in EP driver. Date: Mon, 29 Apr 2019 16:19:56 +0800 Message-Id: <20190429081957.47945-1-xiaowei.bao@nxp.com> X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PCIe controller of layerscape just have 4 BARs, BAR0 and BAR1 is 32bit, BAR3 and BAR4 is 64bit, this is determined by hardware, so set the bar_fixed_64bit with 0x14. Signed-off-by: Xiaowei Bao --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c index be61d96..e2fbdff 100644 --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c @@ -44,6 +44,7 @@ static int ls_pcie_establish_link(struct dw_pcie *pci) .linkup_notifier = false, .msi_capable = true, .msix_capable = false, + .bar_fixed_64bit = 0x14, }; static const struct pci_epc_features* -- 1.7.1