MIPS: Add partial 32-bit huge page support
authorDaniel Silsby <dansilsby@gmail.com>
Mon, 15 Jul 2019 21:40:00 +0000 (17:40 -0400)
committerPaul Burton <paul.burton@mips.com>
Sun, 21 Jul 2019 21:30:05 +0000 (14:30 -0700)
commit35476311e5292ae0ef00dde5c2cccbe8514660c2
tree863d816617c01df4e798377b2e635d2ebc7a88ae
parent171543e752723191281994e51278050526d1c017
MIPS: Add partial 32-bit huge page support

 This adds initial support for huge pages to 32-bit MIPS systems.
Systems with extended addressing enabled (EVA,XPA,Alchemy/Netlogic)
are not yet supported.
 With huge pages enabled, this implementation will increase page table
memory overhead to match that of a 64-bit MIPS system. However, the
cache-friendliness of page table walks is not affected significantly.

Signed-off-by: Daniel Silsby <dansilsby@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: od@zcrc.me
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
arch/mips/include/asm/pgtable-32.h
arch/mips/include/asm/pgtable-bits.h
arch/mips/mm/pgtable-32.c