From 2c91d4a321cae1625e1d0414fa200406268d41a7 Mon Sep 17 00:00:00 2001 From: Robert McMahon Date: Sat, 14 Mar 2026 15:45:06 -0700 Subject: [PATCH] Umber Shield: skip PCIe reallocation for resources in 1TB+ aperture --- drivers/pci/setup-bus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);