[PATCH 01/10] PCI: avoid arch_remove_reservations() for PCI_TEST

2017-08-05 Thread Yinghai Lu
arch_remove_reservations will clip out with e820 from host that kernel running, that will cause failure from PCI_TEST from simulated data. PCI_TEST has different iomem resource instead iomem_resource, so check if iomem_resource is related to avoid calling arch_remove_reservations()

[PATCH 01/10] PCI: avoid arch_remove_reservations() for PCI_TEST

2017-08-05 Thread Yinghai Lu
arch_remove_reservations will clip out with e820 from host that kernel running, that will cause failure from PCI_TEST from simulated data. PCI_TEST has different iomem resource instead iomem_resource, so check if iomem_resource is related to avoid calling arch_remove_reservations()