]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f24cb71cd9729fb8983e46b8e2515143fdc22eb
tree64bb16ffd8176e0c9e692817b1d17df717c127ed
parent5eebc6920ac328d5bd2a5aa9f5fe28872547890d
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