Skip to content

Make use of v7 barriers variants in Linux

Will Deacon linux-arm-kernel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 0 repliesNew
  2. v212 patches 0 repliesSuperseded
  3. v110 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ARM: mm: remove redundant dsb() prior to range TLB invalidationarch/arm/mm/dma-mapping.c+0 -10 replies
2/12ARM: tlb: don't perform inner-shareable invalidation for local TLB opsarch/arm/include/asm/tlbflush.h arch/arm/kernel/smp_tlb.c arch/arm/mm/context.c+123 -290 replies
3/12ARM: tlb: don't bother with barriers for branch predictor maintenancearch/arm/include/asm/tlbflush.h+4 -30 replies
4/12ARM: tlb: don't perform inner-shareable invalidation for local BP opsarch/arm/include/asm/tlbflush.h arch/arm/kernel/smp_tlb.c+21 -30 replies
5/12ARM: barrier: allow options to be passed to memory barrier instructionsarch/arm/include/asm/assembler.h arch/arm/include/asm/barrier.h+18 -180 replies
6/12ARM: tlb: reduce scope of barrier domains for TLB invalidationarch/arm/include/asm/tlbflush.h+18 -180 replies
7/12ARM: mm: use inner-shareable barriers for TLB and user cache operationsarch/arm/mm/cache-v7.S arch/arm/mm/proc-v7.S arch/arm/mm/tlb-v7.S+7 -70 replies
8/12ARM: spinlock: use inner-shareable dsb variant prior to sev instructionarch/arm/include/asm/spinlock.h arch/arm/include/asm/switch_to.h+11 -10 replies
9/12ARM: kvm: use inner-shareable barriers after TLB flushingarch/arm/kvm/init.S arch/arm/kvm/interrupts.S+3 -30 replies
10/12ARM: mcpm: use -st dsb option prior to sev instructionsarch/arm/common/mcpm_head.S arch/arm/common/vlock.S+3 -30 replies
11/12ARM: l2x0: use -st dsb option for ordering writel_relaxed with unlockarch/arm/mm/cache-l2x0.c+1 -10 replies
12/12ARM: cacheflush: use -ishst dsb variant for ensuring flush completionarch/arm/include/asm/cacheflush.h+1 -10 replies

Reviews trailers per patch

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

PatchCatalin MarinasMarc ZyngierNicolas PitreDave Martin
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b A-b
10/12R-b A-b R-b
11/12
12/12

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 v3 thread

Cover letter [PATCH v3 00/12] Make use of v7 barriers variants in Linux

Hi all,

This is the third version of the patches I previously posted here:

v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/173952.html
v2: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/178583.html

The only change since v2 is that the series is now based on 3.11-rc2. I plan to send a pull request to Russell targetting 3.12 pending no further feedback.

Cheers,

Will

Will Deacon (12):
ARM: mm: remove redundant dsb() prior to range TLB invalidation
ARM: tlb: don't perform inner-shareable invalidation for local TLB ops
ARM: tlb: don't bother with barriers for branch predictor maintenance
ARM: tlb: don't perform inner-shareable invalidation for local BP ops
ARM: barrier: allow options to be passed to memory barrier
instructions
ARM: tlb: reduce scope of barrier domains for TLB invalidation
ARM: mm: use inner-shareable barriers for TLB and user cache
operations
ARM: spinlock: use inner-shareable dsb variant prior to sev
instruction
ARM: kvm: use inner-shareable barriers after TLB flushing
ARM: mcpm: use -st dsb option prior to sev instructions
ARM: l2x0: use -st dsb option for ordering writel_relaxed with unlock
ARM: cacheflush: use -ishst dsb variant for ensuring flush completion

 arch/arm/common/mcpm_head.S       |   2 +-
 arch/arm/common/vlock.S           |   4 +-
 arch/arm/include/asm/assembler.h  |   4 +-
 arch/arm/include/asm/barrier.h    |  32 +++----
 arch/arm/include/asm/cacheflush.h |   2 +-
 arch/arm/include/asm/spinlock.h   |   2 +-
 arch/arm/include/asm/switch_to.h  |  10 +++
 arch/arm/include/asm/tlbflush.h   | 181 +++++++++++++++++++++++++++++++-------
 arch/arm/kernel/smp_tlb.c         |  10 +--
 arch/arm/kvm/init.S               |   2 +-
 arch/arm/kvm/interrupts.S         |   4 +-
 arch/arm/mm/cache-l2x0.c          |   2 +-
 arch/arm/mm/cache-v7.S            |   4 +-
 arch/arm/mm/context.c             |   6 +-
 arch/arm/mm/dma-mapping.c         |   1 -
 arch/arm/mm/proc-v7.S             |   2 +-
 arch/arm/mm/tlb-v7.S              |   8 +-
 17 files changed, 199 insertions(+), 77 deletions(-)
Signature · 1 line
1.8.2.2