MIPS: MemoryMapID (MMID) & GINVT Support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | MIPS: mm: Define activate_mm() using switch_mm()arch/ | +1 | 0 replies | |
| 2/14 | MIPS: mm: Remove redundant drop_mmu_context() cpu argumentarch/ arch/ arch/ +2 more | +10 | 0 replies | |
| 3/14 | MIPS: mm: Remove redundant get_new_mmu_context() cpu argumentarch/ arch/ arch/ +1 more | +15 | 0 replies | |
| 4/14 | MIPS: mm: Avoid HTW stop/start when dropping an inactive mmarch/ | +3 | 0 replies | |
| 5/14 | MIPS: mm: Consolidate drop_mmu_context() has-ASID checksarch/ arch/ arch/ +2 more | +10 | 0 replies | |
| 6/14 | MIPS: mm: Move drop_mmu_context() comment into appropriate blockarch/ | +5 | 0 replies | |
| 7/14 | MIPS: mm: Remove redundant preempt_disable in local_flush_tlb_mm()arch/ | +0 | 0 replies | |
| 8/14 | MIPS: mm: Remove local_flush_tlb_mm()arch/ arch/ arch/ +2 more | +5 | 0 replies | |
| 9/14 | MIPS: mm: Split obj-y to a file per linearch/ | +12 | 0 replies | |
| 10/14 | MIPS: mm: Un-inline get_new_mmu_contextarch/ arch/ arch/ | +21 | 0 replies | |
| 11/14 | MIPS: mm: Unify ASID version checksarch/ arch/ arch/ +1 more | +28 | 0 replies | |
| 12/14 | MIPS: mm: Add set_cpu_context() for ASID assignmentsarch/ arch/ arch/ +2 more | +24 | 0 replies | |
| 13/14 | MIPS: Add GINVT instruction helpersarch/ arch/ arch/ +1 more | +84 | 0 replies | |
| 14/14 | MIPS: MemoryMapID (MMID) Supportarch/ arch/ arch/ +12 more | +509 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] MIPS: MemoryMapID (MMID) & GINVT Support
This series introduces support for MemoryMapIDs (MMIDs) & GINVT instructions. These give us a larger, global namespace for address space IDs & allow for global invalidation of TLB entries without IPIs.
This has been tested on various configurations of the MIPS I6500, which is the first CPU to support these features.
Applies cleanly atop v5.0-rc4.
Paul Burton (14):
MIPS: mm: Define activate_mm() using switch_mm()
MIPS: mm: Remove redundant drop_mmu_context() cpu argument
MIPS: mm: Remove redundant get_new_mmu_context() cpu argument
MIPS: mm: Avoid HTW stop/start when dropping an inactive mm
MIPS: mm: Consolidate drop_mmu_context() has-ASID checks
MIPS: mm: Move drop_mmu_context() comment into appropriate block
MIPS: mm: Remove redundant preempt_disable in local_flush_tlb_mm()
MIPS: mm: Remove local_flush_tlb_mm()
MIPS: mm: Split obj-y to a file per line
MIPS: mm: Un-inline get_new_mmu_context
MIPS: mm: Unify ASID version checks
MIPS: mm: Add set_cpu_context() for ASID assignments
MIPS: Add GINVT instruction helpers
MIPS: MemoryMapID (MMID) Support
arch/mips/Makefile | 2 + arch/mips/include/asm/barrier.h | 19 ++ arch/mips/include/asm/cpu-features.h | 13 ++ arch/mips/include/asm/cpu.h | 1 + arch/mips/include/asm/ginvt.h | 56 ++++++ arch/mips/include/asm/mipsregs.h | 11 + arch/mips/include/asm/mmu.h | 6 +- arch/mips/include/asm/mmu_context.h | 139 +++++++------ arch/mips/include/asm/tlbflush.h | 5 +- arch/mips/kernel/cpu-probe.c | 55 ++++- arch/mips/kernel/smp.c | 67 ++++++- arch/mips/kernel/traps.c | 4 +- arch/mips/kernel/unaligned.c | 1 + arch/mips/kvm/emulate.c | 8 +- arch/mips/kvm/mips.c | 5 + arch/mips/kvm/trap_emul.c | 30 +-- arch/mips/kvm/vz.c | 8 +- arch/mips/lib/dump_tlb.c | 22 +- arch/mips/mm/Makefile | 16 +- arch/mips/mm/c-r4k.c | 8 +- arch/mips/mm/context.c | 288 +++++++++++++++++++++++++++ arch/mips/mm/init.c | 7 + arch/mips/mm/tlb-r3k.c | 14 +- arch/mips/mm/tlb-r4k.c | 71 ++++--- arch/mips/mm/tlb-r8k.c | 10 +- 25 files changed, 698 insertions(+), 168 deletions(-) create mode 100644 arch/mips/include/asm/ginvt.h create mode 100644 arch/mips/mm/context.c
Signature · 1 line
2.20.1