Skip to content

arm64 switch_mm improvements

Will Deacon linux-arm-kernel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 0 repliesNew
  2. v110 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10arm64: mm: remove unused cpu_set_idmap_tcr_t0sz functionarch/arm64/include/asm/mmu_context.h+12 -231 reply
2/10arm64: proc: de-scope TLBI operation during cold bootarch/arm64/mm/proc.S+2 -20 replies
3/10arm64: flush: use local TLB and I-cache invalidationarch/arm64/include/asm/cacheflush.h arch/arm64/include/asm/tlbflush.h arch/arm64/kernel/efi.c +4 more+22 -72 replies
4/10arm64: mm: rewrite ASID allocator and MM context-switching codearch/arm64/include/asm/mmu.h arch/arm64/include/asm/mmu_context.h arch/arm64/include/asm/thread_info.h +4 more+166 -1690 replies
5/10arm64: tlbflush: remove redundant ASID casts to (unsigned long)arch/arm64/include/asm/tlbflush.h+4 -50 replies
6/10arm64: tlbflush: avoid flushing when fullmm == 1arch/arm64/include/asm/tlb.h+15 -110 replies
7/10arm64: switch_mm: simplify mm and CPU checksarch/arm64/include/asm/mmu_context.h arch/arm64/mm/context.c+5 -30 replies
8/10arm64: mm: kill mm_cpumask usagearch/arm64/kernel/smp.c arch/arm64/mm/context.c+0 -90 replies
9/10arm64: tlb: remove redundant barrier from __flush_tlb_pgtablearch/arm64/include/asm/tlbflush.h+0 -10 replies
10/10arm64: mm: remove dsb from update_mmu_cachearch/arm64/include/asm/pgtable.h+3 -30 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchCatalin MarinasMark RutlandDavid DaneyArd Biesheuvel
1/10R-b A-b
2/10A-b R-b T-b
3/10R-b A-b A-b
4/10
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/10] arm64 switch_mm improvements

Hi all,

This is version two of the patches previously posted here:

http://lists.infradead.org/pipermail/linux-arm-kernel/2015-September/370720.html

Changes since v1 include:

* More comments
* Added reviewed-by tags

Cheers,

Will

--->8

Will Deacon (10):
arm64: mm: remove unused cpu_set_idmap_tcr_t0sz function
arm64: proc: de-scope TLBI operation during cold boot
arm64: flush: use local TLB and I-cache invalidation
arm64: mm: rewrite ASID allocator and MM context-switching code
arm64: tlbflush: remove redundant ASID casts to (unsigned long)
arm64: tlbflush: avoid flushing when fullmm == 1
arm64: switch_mm: simplify mm and CPU checks
arm64: mm: kill mm_cpumask usage
arm64: tlb: remove redundant barrier from __flush_tlb_pgtable
arm64: mm: remove dsb from update_mmu_cache

 arch/arm64/include/asm/cacheflush.h  |   7 ++
 arch/arm64/include/asm/mmu.h         |  15 +--
 arch/arm64/include/asm/mmu_context.h | 113 ++++-------------
 arch/arm64/include/asm/pgtable.h     |   6 +-
 arch/arm64/include/asm/thread_info.h |   1 -
 arch/arm64/include/asm/tlb.h         |  26 ++--
 arch/arm64/include/asm/tlbflush.h    |  18 ++-
 arch/arm64/kernel/asm-offsets.c      |   2 +-
 arch/arm64/kernel/efi.c              |   5 +-
 arch/arm64/kernel/smp.c              |   9 +-
 arch/arm64/kernel/suspend.c          |   2 +-
 arch/arm64/mm/context.c              | 236 +++++++++++++++++++++--------------
 arch/arm64/mm/mmu.c                  |   2 +-
 arch/arm64/mm/proc.S                 |   6 +-
 14 files changed, 222 insertions(+), 226 deletions(-)
Signature · 1 line
2.1.4