hvmloader: also cover PCI MMIO ranges above 4G with UC MTRR ranges
authorJan Beulich <jbeulich@suse.com>
Wed, 21 May 2014 16:13:36 +0000 (18:13 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 May 2014 16:13:36 +0000 (18:13 +0200)
commitd06886694328a31369addc1f614cf326728d65a6
tree90aa98353d2e2f6742f6e006b1b4aacadd198cdb
parentb08834a20e482be4771b5120b58b7dfee675e67b
hvmloader: also cover PCI MMIO ranges above 4G with UC MTRR ranges

When adding support for BAR assignments to addresses above 4G, the MTRR
side of things was left out.

Additionally the MMIO ranges in the DSDT's \_SB.PCI0._CRS were having
memory types not matching the ones put into MTRRs: The legacy VGA range
is supposed to be WC, and the other ones should be UC.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/firmware/hvmloader/acpi/build.c
tools/firmware/hvmloader/acpi/dsdt.asl
tools/firmware/hvmloader/cacheattr.c
tools/firmware/hvmloader/config.h
tools/firmware/hvmloader/pci.c