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
On Fri, Jul 18, 2008 at 10:49 AM, H. Peter Anvin <hpa@zytor.com> wrote:
> 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.

OK

will rework pci_mmcfg_reject_broken to
reduce size and check with is_acpi_reserved/e820_mapped to update end_bus_number

YH


\
 
 \ /
  Last update: 2008-07-18 19:57    [W:0.132 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site