Re: [PATCH] MIPS: Loongson3,SGI-IP27: Simplify max_low_pfn calculation

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

 



Hello,

Paul Burton wrote:
> Both the Loongson3 & SGI-IP27 platforms set max_low_pfn to the last
> available PFN describing memory. They both do it in paging_init() which
> is later than ideal since max_low_pfn is used before that function is
> called. Simplify both platforms to trivially initialize max_low_pfn
> using the end address of DRAM, and do it earlier in prom_meminit().
> 
> Signed-off-by: Paul Burton <paul.burton@xxxxxxxx>
> Suggested-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
> References: https://patchwork.linux-mips.org/patch/21031/
> Cc: Huacai Chen <chenhc@xxxxxxxxxx>
> Cc: Mike Rapoport <rppt@xxxxxxxxxxxxx>
> Cc: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
> Tested-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>

Applied to mips-fixes.

Thanks,
    Paul

[ This message was auto-generated; if you believe anything is incorrect
  then please email paul.burton@xxxxxxxx to report it. ]


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

  Powered by Linux