From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753836AbbC3WyP (ORCPT ); Mon, 30 Mar 2015 18:54:15 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:21891 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753416AbbC3WyL (ORCPT ); Mon, 30 Mar 2015 18:54:11 -0400 Message-ID: <5519D40D.20903@oracle.com> Date: Mon, 30 Mar 2015 16:54:05 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Yinghai Lu , David Miller CC: Bjorn Helgaas , "linux-pci@vger.kernel.org" , "sparclinux@vger.kernel.org" , LKML Subject: Re: d63e2e1f3df breaks sparc/T5-8 References: <5514391F.2030300@oracle.com> <551495EE.20201@oracle.com> <5515F6B8.8020606@oracle.com> <5515F782.7060301@oracle.com> <551623C1.2040300@oracle.com> <5516BF4B.9030901@oracle.com> <55181065.8090807@oracle.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/15 2:07 PM, Yinghai Lu wrote: > [ 286.647560] PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 > [ 286.921232] PCI: Claiming 0000:00:01.0: Resource 15: > 0000800100000000..00008004afffffff [220c] > [ 287.229190] PCI: Claiming 0000:01:00.0: Resource 15: > 0000800100000000..00008004afffffff [220c] > [ 287.533428] PCI: Claiming 0000:02:04.0: Resource 15: > 0000800100000000..000080012fffffff [220c] > [ 288.149831] PCI: Claiming 0000:03:00.0: Resource 15: > 0000800100000000..000080012fffffff [220c] > [ 288.252466] PCI: Claiming 0000:04:06.0: Resource 14: > 0000800100000000..000080010fffffff [220c] > [ 288.867196] PCI: Claiming 0000:05:00.0: Resource 0: > 0000800100000000..0000800100001fff [204] > [ 288.968221] pci 0000:05:00.0: can't claim BAR 0 [mem > 0x800100000000-0x800100001fff]: no compatible bridge window > > the bridge resource has IORESOURCE_PREFETCH, but the device doesn't have that. > > So pci_claim_resource can not find parent resource for device > resource: we can not > put non pref mem under pref mem. > > Can you send out result from ? > lspci -vvxxx -s 0000:05:00.0 # lspci -vvxxx -s 0000:05:00.0 0000:05:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI]) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- > If it does have pref, could be of device layer does not pass the pref > flag properly > via pci_parse_of_addrs/of_get_property(node, "assigned-addresses". > > or the addr0 from "ranges" and "assigned-address" has different definition. > > Thanks > > Yinghai >