Skip to content

ARMv6 and ARMv7 mm fixes

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: cache: ensure MVA is cacheline aligned in flush_kern_dcache_areaarch/arm/mm/cache-v6.S arch/arm/mm/cache-v7.S+3 -00 replies
2/5ARM: mm: make TTBR1 always point to swapper_pg_dir on ARMv6/7arch/arm/include/asm/smp.h arch/arm/kernel/head.S arch/arm/kernel/smp.c +2 more+13 -40 replies
3/5ARM: mm: use TTBR1 instead of reserved context IDarch/arm/mm/context.c arch/arm/mm/proc-v7.S+10 -110 replies
4/5ARM: mm: fix racy ASID rollover broadcast on SMP platformsarch/arm/include/asm/proc-fns.h arch/arm/mm/context.c+15 -20 replies
5/5ARM: mm: allow ASID 0 to be allocated to tasksarch/arm/mm/context.c+3 -30 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/5A-b
2/5
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] ARMv6 and ARMv7 mm fixes

Hello,

There are a few issues with ASID handling and cache flushing on v6/v7 CPUs that have been identified when running Linux on the Cortex-A15.

These patches solve the problems for the classic page tables. Additional LPAE changes will be posted separately.

Tested on a Realview-PBX platform with a dual-core Cortex-A9.

Thanks,

Will

Catalin Marinas (1):
ARM: mm: make TTBR1 always point to swapper_pg_dir on ARMv6/7

Will Deacon (4):
ARM: cache: ensure MVA is cacheline aligned in flush_kern_dcache_area
ARM: mm: use TTBR1 instead of reserved context ID
ARM: mm: fix racy ASID rollover broadcast on SMP platforms
ARM: mm: allow ASID 0 to be allocated to tasks

 arch/arm/include/asm/proc-fns.h |   14 ++++++++++++++
 arch/arm/include/asm/smp.h      |    1 +
 arch/arm/kernel/head.S          |    7 +++++--
 arch/arm/kernel/smp.c           |    1 +
 arch/arm/mm/cache-v6.S          |    1 +
 arch/arm/mm/cache-v7.S          |    2 ++
 arch/arm/mm/context.c           |   20 ++++++++++----------
 arch/arm/mm/proc-v6.S           |    4 +++-
 arch/arm/mm/proc-v7.S           |   14 +++++++-------
 9 files changed, 44 insertions(+), 20 deletions(-)