Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755343AbaBROh3 (ORCPT ); Tue, 18 Feb 2014 09:37:29 -0500 Received: from mail-ie0-f174.google.com ([209.85.223.174]:63510 "EHLO mail-ie0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756346AbaBROhZ (ORCPT ); Tue, 18 Feb 2014 09:37:25 -0500 MIME-Version: 1.0 In-Reply-To: References: <1390773698.3450.12.camel@artifact> <1391643656.1067.1.camel@artifact> <1392392764.3520.11.camel@devel-n900> <1392718107.15829.12.camel@artifact> From: Bjorn Helgaas Date: Tue, 18 Feb 2014 07:37:04 -0700 Message-ID: Subject: Re: pci-3.14 resource alloc To: Steven Newbury Cc: Yinghai Lu , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 18, 2014 at 6:59 AM, Bjorn Helgaas wrote: > On Tue, Feb 18, 2014 at 3:08 AM, Steven Newbury wrote: >> No, the only unusual option is I use pci=nocrs since the bios is >> completely ignorant of support for 64bit BARs. > > Hi Steven, this is a tangent, but can you collect the complete dmesg > log with "pci=nocrs" and let me know what happens when you *don't* use > "pci=nocrs" (a complete dmesg log there would be useful too, but I > don't know if you can boot without it)? I think Linux *should* be > able to handle 64bit BARs even if the BIOS doesn't. > > Please post these as a separate thread so we don't muddle this > conversation with Yinghai. Oh, never mind. I think I remember now. I think the problem is not so much that the BIOS doesn't handle 64bit *BARs*, but that your BIOS doesn't report 64bit host bridge *apertures*, and you want to use space above 4G for a graphics card or something. That's not really anything we can fix in PCI because PCI doesn't discover those apertures. Host bridge drivers like the generic ACPI pci_root.c or the native amd_bus.c discover them. If those drivers don't discover them, PCI can't just make them up. It might be nice if we had cleaner kernel options to say "assume a host bridge window here" and "put this device here," so you didn't have to use the big hammer of "pci=nocrs". It's sort of a pain to figure out how to attach info like that to the correct device (there might be several host bridges, so how do you specify which one you care about?), but maybe it could be done. Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/