Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753761Ab0D0B3M (ORCPT ); Mon, 26 Apr 2010 21:29:12 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:54027 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752901Ab0D0B3I (ORCPT ); Mon, 26 Apr 2010 21:29:08 -0400 Date: Mon, 26 Apr 2010 18:27:27 -0700 (PDT) From: Linus Torvalds To: Jesse Barnes cc: "H. Peter Anvin" , Bjorn Helgaas , Andy Isaacson , "R. Andrew Bailey" , Yinghai , Thomas Gleixner , Ingo Molnar , guenter.roeck@ericsson.com, "linux-pci@vger.kernel.org" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Thomas Renninger , yaneti@declera.com Subject: Re: [PATCH] x86/PCI: never allocate PCI MMIO resources below BIOS_END In-Reply-To: <20100426170547.5d7daa47@virtuousgeek.org> Message-ID: References: <2b1eecc3-75b8-4ab3-8932-fdf7cc1e181b@email.android.com> <20100426162517.4ad308ff@virtuousgeek.org> <20100426170547.5d7daa47@virtuousgeek.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 907 Lines: 23 On Mon, 26 Apr 2010, Jesse Barnes wrote: > > Glad we agree. As I said (and echoing Bjorn), I think it would be best > to reserve this space in a way that doesn't just use IORESOURCE_BUSY. > We want and need to do allocations from the special region, so we > should mark it as such. I think Bjorn's patch to pcibios_align_resource() is really good and clever, and I think it should take care of the need for IORESOURCE_BUSY, no? We do want to let devices that are _already_ allocated there insert their resources, it's just that we never want to allocate new ones in the low 1M region. Do we actually have a regression left with Bjorn's patch? Linus -- 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/