diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-01 12:19:31 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-03-20 15:56:35 +0100 |
commit | df9de85de43844c7cf3dc78399ceee0f8b1005bb (patch) | |
tree | 08eb2046d18d84431fd74c5beb33624427d2f229 | |
parent | f4c6e4c19daf3deac2d7fc3288db5294aba955ad (diff) | |
download | seabios-pci-4g-map.tar.gz |
pci: only migrate large 64bit bars above 4Gpci-4g-map
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | src/fw/pciinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index c0634bcb..680b7786 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c @@ -761,6 +761,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from, continue; if (entry->dev->class == PCI_CLASS_SERIAL_USB) continue; + if (entry->size < (1<<21)) // 2M == hugepage size + continue; // Move from source list to destination list. hlist_del(&entry->node); hlist_add(&entry->node, last); |