Skip to content

Rework sparc32 page-table layout

Will Deacon lkml sparclinux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 3 repliesIn review
  2. v1 posting 1/24 patches 3 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sparc32: mm: Fix argument checking in __srmmu_get_nocache()arch/sparc/mm/srmmu.c+6 -60 replies
2/4sparc32: mm: Restructure sparc32 MMU page-table layoutarch/sparc/include/asm/page_32.h arch/sparc/include/asm/pgalloc_32.h arch/sparc/include/asm/pgtable_32.h +6 more+58 -1030 replies
3/4sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *arch/sparc/include/asm/page_32.h arch/sparc/include/asm/pgalloc_32.h arch/sparc/include/asm/pgtable_32.h +1 more+24 -240 replies
4/4sparc32: mm: Reduce allocation size for PMD and PTE tablesarch/sparc/include/asm/pgtsrmmu.h+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RESEND PATCH 0/4] Rework sparc32 page-table layout

Hi all,

This is a reposting of the patch series I sent previously to rework the sparc32 page-table layout so that 'pmd_t' can be used safely with READ_ONCE():

https://lore.kernel.org/lkml/[email protected]

This is blocking the READ_ONCE() rework, which in turn allows us to bump the minimum GCC version for building the kernel up to 4.8.

Cheers,

Will

Cc "David S. Miller" <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Nick Desaulniers <[email protected]>
Cc Matt Fleming <[email protected]>

--->8

Will Deacon (4):
sparc32: mm: Fix argument checking in __srmmu_get_nocache()
sparc32: mm: Restructure sparc32 MMU page-table layout
sparc32: mm: Change pgtable_t type to pte_t * instead of struct page *
sparc32: mm: Reduce allocation size for PMD and PTE tables

 arch/sparc/include/asm/page_32.h    | 12 ++--
 arch/sparc/include/asm/pgalloc_32.h | 11 ++--
 arch/sparc/include/asm/pgtable_32.h | 40 +++++++-----
 arch/sparc/include/asm/pgtsrmmu.h   | 36 +----------
 arch/sparc/include/asm/viking.h     |  5 +-
 arch/sparc/kernel/head_32.S         |  8 +--
 arch/sparc/mm/hypersparc.S          |  3 +-
 arch/sparc/mm/srmmu.c               | 95 ++++++++++-------------------
 arch/sparc/mm/viking.S              |  5 +-
 9 files changed, 85 insertions(+), 130 deletions(-)
Signature · 1 line
2.26.0.110.g2183baf09c-goog