Messages in this thread |  | | | Date | Fri, 18 Jul 2008 10:49:45 -0700 | | From | "H. Peter Anvin" <> | | Subject | Re: [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
|  |