Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756076Ab2E2Xrz (ORCPT ); Tue, 29 May 2012 19:47:55 -0400 Received: from mail-gg0-f174.google.com ([209.85.161.174]:52888 "EHLO mail-gg0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755910Ab2E2Xrx convert rfc822-to-8bit (ORCPT ); Tue, 29 May 2012 19:47:53 -0400 MIME-Version: 1.0 In-Reply-To: References: <1337754877-19759-1-git-send-email-yinghai@kernel.org> <1337754877-19759-3-git-send-email-yinghai@kernel.org> <20120525043651.GA1391@google.com> <20120525193716.GA8817@google.com> <4FC50E09.4000204@zytor.com> From: Bjorn Helgaas Date: Tue, 29 May 2012 17:47:31 -0600 Message-ID: Subject: Re: [PATCH 02/11] PCI: Try to allocate mem64 above 4G at first To: Yinghai Lu Cc: "H. Peter Anvin" , Linus Torvalds , Steven Newbury , Andrew Morton , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 918 Lines: 19 On Tue, May 29, 2012 at 5:33 PM, Yinghai Lu wrote: > On Tue, May 29, 2012 at 4:27 PM, Bjorn Helgaas wrote: >> I don't understand this one at all. ?It looks like you mashed together >> at least two changes: (1) prefer I/O space above 64K if available, and >> (2) mark secondary bus resources with IORESOURCE_IO_32 when the P2P >> bridge I/O window address decode type is PCI_IO_RANGE_TYPE_32 and use >> that to limit allocations. > > let drop the one about IORESOURCE_IO_32. > > that should only fix one reallocation bug in theory out of x86. If there's a bug, we should try to fix it. I just don't understand what the bug *is*. -- 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/