aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fw/pciinit.c2
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);