On Thu, Nov 13, 2014 at 12:05:34AM -0600, Steven J. Hill wrote: > From: Leonid Yegoshin <Leonid.Yegoshin@xxxxxxxxxx> > > This patch refactors commit 464fd83e841a16f4ea1325b33eb08170ef5cd1f4 > (MIPS: Limit fixrange_init() to the FIXMAP region) and correctly > calculates the right length while taking into account page table > alignment by PMD. In that commit Kevin wrote: MIPS: Limit fixrange_init() to the FIXMAP region fixrange_init() allocates page tables for all addresses higher than FIXADDR_TOP. On processors that override the default FIXADDR_TOP address of 0xfffe_0000, this can consume up to 4 pages (1 page per 4MB) for pgd's that are never used. And that's all also reintroduced. Think of bx 63xx which defines FIXADDR_TOP as 0xff000000. Blindly rounding up to 0 for the end address doesn't cut it. Ralf