diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c index c2d640164f69..a9ca238b039e 100644 --- a/drivers/pci/setup-bus.c +++ b/drivers/pci/setup-bus.c @@ -463,7 +463,9 @@ static void reassign_resources_sorted(struct list_head *realloc_head, } else if (add_size > 0 || !IS_ALIGNED(res->start, align)) { res->flags |= add_res->flags & (IORESOURCE_STARTALIGN|IORESOURCE_SIZEALIGN); - if (pci_reassign_resource(dev, idx, add_size, align)) + /* Umber Shield: skip reallocation for resources in the 1TB+ aperture */ + if (res->start < 0x10000000000ULL && + pci_reassign_resource(dev, idx, add_size, align)) pci_info(dev, "%s %pR: failed to add optional %llx\n", res_name, res, (unsigned long long) add_size);