memblock-check-memory-total_size.patch removed from -mm tree
The patch titled
Subject: memblock: check memory total_size
has been removed from the -mm tree. Its filename was
memblock-check-memory-total_size.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Peng Fan <[email protected]>
Subject: memblock: check memory total_size
mem=[X][G|M] is broken on ARM64 platform, there are cases that even type.cnt is 1, but total_size is not 0 because regions are merged into 1. So only check 'cnt' is not enough, total_size should be used, othersize bootargs 'mem=[X][G|B]' not work anymore.
Fixes e888fa7bb882 ("memblock: Check memory add/cap ordering")
Signed-off-by Peng Fan <[email protected]>
Reviewed-by Mike Rapoport <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc David Hildenbrand <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/memblock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memblock.c renamed from mm/memblock.c~memblock-check-memory-total_size +1 -1
@@ -1692,7 +1692,7 @@ void __init memblock_cap_memory_range(phif (!size)return ; -if (memblock.memory.cnt <=1 ) { +if (!memblock_memory->total_size) {pr_warn ("%s: No memory registered yet\n" , __func__);return ; }
_
Patches currently in -mm which might be from [email protected] are