Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757863AbYHaSG4 (ORCPT ); Sun, 31 Aug 2008 14:06:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756407AbYHaSGl (ORCPT ); Sun, 31 Aug 2008 14:06:41 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:52217 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756197AbYHaSGk (ORCPT ); Sun, 31 Aug 2008 14:06:40 -0400 Date: Sun, 31 Aug 2008 11:03:44 -0700 (PDT) From: Linus Torvalds To: Yinghai Lu cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Jeff Garzik , Tejun Heo , Ingo Molnar , David Witbrodt , Andrew Morton , Kernel Testers Subject: Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4dfdb8c0591f545ba749dd In-Reply-To: <86802c440808311054q4b8e8921qa9f090527b456e34@mail.gmail.com> Message-ID: References: <200808302334.29156.rjw@sisk.pl> <86802c440808301810r17657f3fnb3c8af5496955e0d@mail.gmail.com> <200808311427.19369.rjw@sisk.pl> <86802c440808311054q4b8e8921qa9f090527b456e34@mail.gmail.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) 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: 749 Lines: 22 On Sun, 31 Aug 2008, Yinghai Lu wrote: > > wonder how the probe could find out the size of is 1fff_ffff.. Heh. That's how PCI sizing works: you write all ones to the register, and read back the result. The low bits won't change, and that indicates the size. But if _none_ of the bits change, then that simply means that the size will be calculated to be 0xffffffff-start. So the sizing will "work", it will just always report that the BAR covers everything from start to the 4G limit. 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/