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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2020 at 11:00:36AM +0800, Jiaxun Yang wrote:
> 
> 
> 在 2020/10/8 23:20, Serge Semin 写道:
> 
> [...]
> >
> >>-		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 ]



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux