[SeaBIOS] [PATCH 2/6] pci: don't map usb host adapters above 4G

Gerd Hoffmann kraxel at redhat.com
Tue Nov 26 13:24:10 CET 2013


Otherwise our xhci driver has trouble accessing the mmio registers.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 src/fw/pciinit.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
index 84bb65b..1d5e919 100644
--- a/src/fw/pciinit.c
+++ b/src/fw/pciinit.c
@@ -579,6 +579,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from,
     hlist_for_each_entry_safe(entry, n, &from->list, node) {
         if (!entry->is64)
             continue;
+        if (entry->dev->class == PCI_CLASS_SERIAL_USB)
+            continue;
         // Move from source list to destination list.
         hlist_del(&entry->node);
         if (hlist_empty(&to->list)) {
-- 
1.8.3.1




More information about the SeaBIOS mailing list