From: Herton R. Krzesinski <herton@xxxxxxxxxx> Revert "PCI: of: Relax the condition for warning about non-prefetchable memory aperture size" This reverts commit 70bc1635669324f4e61cf13d597977832d6895c6. It was dropped from final upsream series merged: https://lore.kernel.org/linux-pci/20210614230457.752811-1-punitagrawal@xxxxxxxxx Signed-off-by: Herton R. Krzesinski <herton@xxxxxxxxxx> diff --git a/drivers/pci/of.c b/drivers/pci/of.c index blahblah..blahblah 100644 --- a/drivers/pci/of.c +++ b/drivers/pci/of.c @@ -575,8 +575,7 @@ static int pci_parse_request_of_pci_ranges(struct device *dev, res_valid |= !(res->flags & IORESOURCE_PREFETCH); if (!(res->flags & IORESOURCE_PREFETCH)) - if (!(res->flags & IORESOURCE_MEM_64) && - upper_32_bits(resource_size(res))) + if (upper_32_bits(resource_size(res))) dev_warn(dev, "Memory resource size exceeds max for 32 bits\n"); break; -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1187 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure