Re: [PATCH] x86_64: force re setting the mmconf for fam10h ifacpi=off

From: Ingo Molnar
Date: Tue Feb 26 2008 - 02:25:39 EST



* Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:

> some BIOS only let AMD fam 10h handle bus0, and nvidia mcp55/ck804 to
> handle other buses. at that case MCFG will cover all over them.
>
> but with acpi=off, we can not use MCFG. this patch will double check
> the busnbits, and if it is less handling 256 bues, and acpi=off will
> forcely reset the mmconf in msr, so we still use mmconf in above case.

thanks, applied.

> @@ -720,14 +720,21 @@ static void __cpuinit fam10h_check_enabl

btw., a cleanliness suggestion: wouldnt it be cleaner to separate all
the extra AMD family 16 code into a separate file? That should make it
more focused and more isolated as well.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/