Skip to content

xtensa: highmem support on cores with aliasing cache

Max Filippov linux-arch linux-mips linux-mm lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8xtensa: make fixmap region addressing grow with indexarch/xtensa/include/asm/fixmap.h arch/xtensa/mm/highmem.c+27 -60 replies
2/8xtensa: allow fixmap and kmap span more than one page tablearch/xtensa/mm/mmu.c+22 -160 replies
3/8xtensa: fix TLBTEMP_BASE_2 region handling in fast_second_level_missarch/xtensa/include/asm/pgtable.h arch/xtensa/kernel/entry.S+7 -20 replies
4/8xtensa: implement clear_user_highpage and copy_user_highpagearch/xtensa/include/asm/cacheflush.h arch/xtensa/include/asm/page.h arch/xtensa/mm/cache.c +1 more+127 -660 replies
5/8xtensa: support aliasing cache in k[un]map_atomicarch/xtensa/include/asm/fixmap.h arch/xtensa/include/asm/page.h arch/xtensa/mm/highmem.c+14 -80 replies
6/8mm/highmem: make kmap cache coloring awaremm/highmem.c+16 -30 replies
6/8mm/highmem: make kmap cache coloring awaremm/highmem.c+16 -32 replies
6/8mm/highmem: make kmap cache coloring awaremm/highmem.c+16 -30 replies
7/8xtensa: support aliasing cache in kmaparch/xtensa/include/asm/highmem.h arch/xtensa/mm/highmem.c+17 -20 replies
7/8xtensa: support aliasing cache in kmaparch/xtensa/include/asm/highmem.h arch/xtensa/mm/highmem.c+17 -20 replies
7/8xtensa: support aliasing cache in kmaparch/xtensa/include/asm/highmem.h arch/xtensa/mm/highmem.c+17 -20 replies
8/8xtensa: support highmem in aliasing cache flushing codearch/xtensa/mm/cache.c+6 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] xtensa: highmem support on cores with aliasing cache

Hi,

this series implements highmem support on xtensa cores with aliasing cache. It does so by making sure that high memory pages are always mapped at virtual addresses with color that match color of their physical address.

This involves changing the generic kmap code to make it aware of cache coloring. This part with corresponding arch changes is cc'd linux-mm, linux-arch and linux-mips.

The whole series can also be found at:
git://github.com/jcmvbkbc/linux-xtensa.git xtensa-highmem-ca

Leonid Yegoshin (1):
mm/highmem: make kmap cache coloring aware

Max Filippov (7):
xtensa: make fixmap region addressing grow with index
xtensa: allow fixmap and kmap span more than one page table
xtensa: fix TLBTEMP_BASE_2 region handling in fast_second_level_miss
xtensa: implement clear_user_highpage and copy_user_highpage
xtensa: support aliasing cache in k[un]map_atomic
xtensa: support aliasing cache in kmap
xtensa: support highmem in aliasing cache flushing code

 arch/xtensa/include/asm/cacheflush.h |   2 +
 arch/xtensa/include/asm/fixmap.h     |  30 +++++++--
 arch/xtensa/include/asm/highmem.h    |  18 +++++-
 arch/xtensa/include/asm/page.h       |  14 ++++-
 arch/xtensa/include/asm/pgtable.h    |   7 ++-
 arch/xtensa/kernel/entry.S           |   2 +-
 arch/xtensa/mm/cache.c               |  77 ++++++++++++++++++++---
 arch/xtensa/mm/highmem.c             |  24 +++++---
 arch/xtensa/mm/misc.S                | 116 ++++++++++++++++-------------------
 arch/xtensa/mm/mmu.c                 |  38 +++++++-----
 mm/highmem.c                         |  19 +++++-
 11 files changed, 235 insertions(+), 112 deletions(-)
Signature · 1 line
1.8.1.4