Thanks for fixing this too.--- a/drivers/of/fdt.cBy that logic, the above two lines need to be repaired also:
>+++ b/drivers/of/fdt.c
>@@ -937,7 +937,7 @@ void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size)
> return;
> }
>
>- if (base + size > MAX_PHYS_ADDR) {
>+ if (base + size - 1 > MAX_PHYS_ADDR) {
> pr_warning("Ignoring memory range 0x%lx - 0x%llx\n",
> ULONG_MAX, base + size);
> size = MAX_PHYS_ADDR - base;
pr_warning("Ignoring memory range 0x%lx - 0x%llx\n",
MAX_PHYS_ADDR + 1, base + size);
size = MAX_PHYS_ADDR - base + 1;
I've fixed it up and applied, thanks.