Thread (13 messages) flat view 13 messages, 5 authors, 2020-10-12

Re: [PATCH v2] MIPS: replace add_memory_region with memblock

From: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Date: 2020-10-09 12:51:55
Also in: linux-mips, lkml

On Fri, Oct 09, 2020 at 11:00:36AM +0800, Jiaxun Yang wrote:

在 2020/10/8 23:20, Serge Semin 写道:

[...]
quoted
quoted
-		add_memory_region(LOONGSON_HIGHMEM_START,
-				  highmemsize << 20, BOOT_MEM_RAM);
-
-	add_memory_region(LOONGSON_PCI_MEM_END + 1, LOONGSON_HIGHMEM_START -
-			  LOONGSON_PCI_MEM_END - 1, BOOT_MEM_RESERVED);
-
+		memblock_add(LOONGSON_HIGHMEM_START, highmemsize << 20);
The same question. Is it ok to discard the
[LOONGSON_PCI_MEM_END+1:LOONGSON_HIGHMEM_START-LOONGSON_PCI_MEM_END-1] region
removal operation?
Hi all,

I can confirm this reservation can be removed.
thank you for confirming.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help