From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com ([217.140.101.70]:50546 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753237AbbGBRkh (ORCPT ); Thu, 2 Jul 2015 13:40:37 -0400 Message-ID: <55957790.9060802@arm.com> Date: Thu, 02 Jul 2015 18:40:32 +0100 From: James Morse MIME-Version: 1.0 To: Gabriele Paoloni , "Wangzhou (B)" , Bjorn Helgaas , Jingoo Han , Pratyush Anand , Arnd Bergmann , Liviu Dudau , "kishon@ti.com" , "xobs@kosagi.com" , "m-karicheri2@ti.com" , "Minghuan.Lian@freescale.com" CC: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , Yuanzhichang , Zhudacai , zhangjukuo , qiuzhenfa , "liguozhu@hisilicon.com" Subject: Re: [PATCH v3 2/5] PCI: designware: Add ARM64 support References: <1435743817-19083-1-git-send-email-wangzhou1@hisilicon.com> <1435743817-19083-3-git-send-email-wangzhou1@hisilicon.com> <5593F899.6050306@arm.com> <55942441.3050705@arm.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Sender: linux-pci-owner@vger.kernel.org List-ID: On 02/07/15 08:24, Gabriele Paoloni wrote: >> It looks like the BAR containing the bridge window is not being assigned, >> so no devices on bus 1 are discovered. > > Can you confirm the dtsi you are using..."imx6qdl.dtsi" ? Yes, that looks right. The on-disk file was 'imx6q-sabrelite.dtb' when I received the board, I replaced it with the one from the v4.1 kernel tree. Decompiled from /sys/firmware/fdt (to eliminate bootloader trickery), the pcie section reads: pcie@0x01000000 { compatible = "fsl,imx6q-pcie", "snps,dw-pcie"; reg = <0x1ffc000 0x4000 0x1f00000 0x80000>; reg-names = "dbi", "config"; #address-cells = <0x3>; #size-cells = <0x2>; device_type = "pci"; ranges = <0x800 0x0 0x1f00000 0x1f00000 0x0 0x80000 0x81000000 0x0 0x0 0x1f80000 0x0 0x10000 0x82000000 0x0 0x1000000 0x1000000 0x0 0xf00000>; num-lanes = <0x1>; interrupts = <0x0 0x78 0x4>; interrupt-names = "msi"; #interrupt-cells = <0x1>; interrupt-map-mask = <0x0 0x0 0x0 0x7>; interrupt-map = <0x0 0x0 0x0 0x1 0x1 0x0 0x7b 0x4 0x0 0x0 0x0 0x2 0x1 0x0 0x7a 0x4 0x0 0x0 0x0 0x3 0x1 0x0 0x79 0x4 0x0 0x0 0x0 0x4 0x1 0x0 0x78 0x4>; clocks = <0x3 0x90 0x3 0xce 0x3 0xbd>; clock-names = "pcie", "pcie_bus", "pcie_phy"; status = "okay"; }; James