Umber Shield: skip PCIe reallocation for resources in 1TB+ aperture

This commit is contained in:
Robert McMahon 2026-03-14 15:45:06 -07:00
parent 6258e292d7
commit 2c91d4a321
1 changed files with 3 additions and 1 deletions

View File

@ -463,7 +463,9 @@ static void reassign_resources_sorted(struct list_head *realloc_head,
} else if (add_size > 0 || !IS_ALIGNED(res->start, align)) { } else if (add_size > 0 || !IS_ALIGNED(res->start, align)) {
res->flags |= add_res->flags & res->flags |= add_res->flags &
(IORESOURCE_STARTALIGN|IORESOURCE_SIZEALIGN); (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", pci_info(dev, "%s %pR: failed to add optional %llx\n",
res_name, res, res_name, res,
(unsigned long long) add_size); (unsigned long long) add_size);