]> git.ipfire.org Git - thirdparty/qemu.git/commit
piix: fix 32bit pci hole
authorGerd Hoffmann <kraxel@redhat.com>
Sat, 21 Dec 2013 02:02:50 +0000 (03:02 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 03:59:18 +0000 (21:59 -0600)
commit03bc4f66280023cba17f8cdbd3a5b6589db343be
tree11ccd1c5d64790394b8e960ad263858fd5667889
parent8b6d92a56592a97c83da211c20864f4e754bbd9e
piix: fix 32bit pci hole

Make the 32bit pci hole start at end of ram, so all possible address
space is covered.

We used to try and make addresses aligned so they are easier to cover
with MTRRs, but since they are cosmetic on KVM, this is probably not
worth worrying about.
Of course the firmware can use less than that.  Leaving space unused is
no problem, mapping pci bars outside the hole causes problems though.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit ddaaefb4dd427d6d2e41c1cfbe0cd8d8e8d6aad9)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/i386/pc_piix.c
hw/pci-host/piix.c
include/hw/i386/pc.h