Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754893Ab2E2R5s (ORCPT ); Tue, 29 May 2012 13:57:48 -0400 Received: from terminus.zytor.com ([198.137.202.10]:55018 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754226Ab2E2R5r (ORCPT ); Tue, 29 May 2012 13:57:47 -0400 Message-ID: <4FC50E09.4000204@zytor.com> Date: Tue, 29 May 2012 10:57:29 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Yinghai Lu CC: Bjorn Helgaas , Linus Torvalds , Steven Newbury , Andrew Morton , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/11] PCI: Try to allocate mem64 above 4G at first 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> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 674 Lines: 26 On 05/29/2012 10:55 AM, Yinghai Lu wrote: > > x86 are using 16bits. > > some others use 32 bits. > #define IO_SPACE_LIMIT 0xffffffff > > ia64 and sparc are using 64bits. > #define IO_SPACE_LIMIT 0xffffffffffffffffUL > > but pci only support 16bits and 32bits. > > maybe later we can add > PCI_MAX_RESOURCE_16 > > to handle 16bits and 32bit io ports. > Shouldn't this be dealt by root port apertures? -hpa -- 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/