On Tue, Nov 27, 2012 at 10:20:52AM +0100, Gerd Hoffmann wrote:
From: Jason Baron <jbaron(a)redhat.com>
Set up the UC area of mtrr dynamically based on mtrr_base. This allows
the bios to work for other chipsets that might want to set the mtrr.
Since BUILD_MAX_HIGHMEM is no longer used we can remove the config parameter.
This change reverses the order of pci_setup() and smm_init() with
Signed-off-by: Jason Baron <jbaron(a)redhat.com>
I think this needs to be re-worked given Keven's commit:
Author: Kevin O'Connor <kevin(a)koconnor.net>
Date: Mon Nov 26 11:05:32 2012 -0500
pciinit: Align start of PCI memory on i440 chipset.
We can use 'pcimem_start' instead of introducing 'mtrr_base'. Perhaps, we
should also add a check that the value of 'pcimem_start' is one of:
Although I think we just need a warning for that case, not a hard error.