lkml.org 
[lkml]   [2008]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86,pci: dmi check for mackpro 2.2 mmconf
Yinghai Lu wrote:
> On Fri, Jul 18, 2008 at 10:44 AM, H. Peter Anvin <hpa@zytor.com> wrote:
>> Yinghai Lu wrote:
>>> change the mconf bus range from [0,0xff] to to [0, 0x3f]
>>> to match range [0xf0000000, 0xf4000000) in e820 tables.
>>>
>>> Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
>>> Tested-by: Jack Howarth <howarth@bromo.msbb.uc.edu>
>> Why is this hard-coded instead of discovered dynamically?
>
> you mean according to the range reserved in e820 to find out bus range
> that should be used for mmconf?

That would make sense, since you're truncating the mmconf range based on
some arbitrary limit. Even better would be to query the hardware
register which is responsible for the truncation.

-hpa


\
 
 \ /
  Last update: 2008-07-18 19:53    [from the cache]
©2003-2011 Jasper Spaans