android_kernel_xiaomi_sm8350/arch/mips/mm
David Daney 82622284dd MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors.
Processors that support the mips64r2 ISA can in four instructions
convert a shifted PGD pointer stored in the upper bits of c0_context
into a usable pointer.  By doing this we save a memory load and
associated potential cache miss in the TLB exception handlers.

Since the upper bits of c0_context were holding the CPU number, we
move this to the upper bits of c0_xcontext which doesn't have enough
bits to hold the PGD pointer, but has plenty for the CPU number.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-12-17 01:57:01 +00:00
..
c-octeon.c cpumask: use mm_cpumask() wrapper: mips 2009-09-24 09:34:51 +09:30
c-r3k.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
c-r4k.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
c-tx39.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
cache.c vfs: Implement proper O_SYNC semantics 2009-12-10 15:02:50 +01:00
cerr-sb1.c
cex-gen.S
cex-oct.S
cex-sb1.S
dma-default.c MIPS: Add DMA declare coherent memory support 2009-11-13 18:10:37 +01:00
extable.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fault.c MIPS: Don't corrupt page tables on vmalloc fault. 2009-09-17 20:07:52 +02:00
highmem.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
hugetlbpage.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
init.c MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors. 2009-12-17 01:57:01 +00:00
ioremap.c
Makefile
page.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
pgtable-32.c
pgtable-64.c MIPS: Shrink the size of tlb handler 2009-09-17 20:07:51 +02:00
sc-ip22.c
sc-mips.c MIPS: MIPSxx SC: Avoid destructive invalidation on partial L2 cachelines. 2009-09-30 21:47:00 +02:00
sc-r5k.c
sc-rm7k.c
tlb-r3k.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
tlb-r4k.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
tlb-r8k.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
tlbex-fault.S
tlbex.c MIPS: Put PGD in C0_CONTEXT for 64-bit R2 processors. 2009-12-17 01:57:01 +00:00
uasm.c MIPS: Add drotr and dins instructions to uasm. 2009-12-17 01:57:01 +00:00
uasm.h MIPS: Add drotr and dins instructions to uasm. 2009-12-17 01:57:01 +00:00