MIPS: Allow ASID size to be determined at boot time.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Mon, 25 Mar 2013 16:58:57 +0000 (11:58 -0500)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 8 May 2013 10:30:10 +0000 (12:30 +0200)
commitd532f3d26716a39dfd4b88d687bd344fbe77e390
tree64bb16ffd8176e0c9e692817b1d17df717c127ed
parent49bffbdc88fdd8f5eac40306a617252625a0fa35
MIPS: Allow ASID size to be determined at boot time.

Original patch by Ralf Baechle and removed by Harold Koerfgen
with commit f67e4ffc79905482c3b9b8c8dd65197bac7eb508. This
allows for more generic kernels since the size of the ASID
and corresponding masks can be determined at run-time. This
patch is also required for the new Aptiv cores and has been
tested on Malta and Malta Aptiv platforms.

[ralf@linux-mips.org: Added relevant part of fix
https://patchwork.linux-mips.org/patch/5213/]

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mmu_context.h
arch/mips/kernel/genex.S
arch/mips/kernel/smtc.c
arch/mips/kernel/traps.c
arch/mips/lib/dump_tlb.c
arch/mips/lib/r3k_dump_tlb.c
arch/mips/mm/tlb-r3k.c
arch/mips/mm/tlb-r4k.c
arch/mips/mm/tlb-r8k.c
arch/mips/mm/tlbex.c