[PATCH v1 0/4] powerpc: Split arch/powerpc/mm/ directory

Christophe Leroy christophe.leroy at c-s.fr
Fri Mar 29 20:59:58 AEDT 2019


arch/powerpc/mm/ contains many files that are specific to subarches.

This series splits arch/powerpc/mm/ in three subparts:
- arch/powerpc/mm/book3s64
- arch/powerpc/mm/book3s32
- arch/powerpc/mm/nohash

Christophe Leroy (4):
  powerpc/mm: change #include "mmu_decl.h" to <mm/mmu_decl.h>
  powerpc/mm: Move book3s64 specifics in subdirectory mm/book3s64
  powerpc/mm: Move book3s32 specifics in subdirectory mm/book3s64
  powerpc/mm: Move nohash specifics in subdirectory mm/nohash

 arch/powerpc/mm/Makefile                           | 43 ++--------------------
 arch/powerpc/mm/book3s32/Makefile                  |  6 +++
 arch/powerpc/mm/{ => book3s32}/hash_low_32.S       |  0
 .../powerpc/mm/{ => book3s32}/mmu_context_hash32.c |  0
 arch/powerpc/mm/{ => book3s32}/ppc_mmu_32.c        |  2 +-
 arch/powerpc/mm/{ => book3s32}/tlb_hash32.c        |  2 +-
 arch/powerpc/mm/book3s64/Makefile                  | 28 ++++++++++++++
 arch/powerpc/mm/{ => book3s64}/hash64_4k.c         |  0
 arch/powerpc/mm/{ => book3s64}/hash64_64k.c        |  0
 arch/powerpc/mm/{ => book3s64}/hash_native_64.c    |  0
 arch/powerpc/mm/{ => book3s64}/hash_utils_64.c     |  0
 arch/powerpc/mm/{ => book3s64}/hugepage-hash64.c   |  0
 .../powerpc/mm/{ => book3s64}/hugetlbpage-hash64.c |  0
 arch/powerpc/mm/{ => book3s64}/hugetlbpage-radix.c |  0
 .../mm/{ => book3s64}/mmu_context_book3s64.c       |  0
 arch/powerpc/mm/{ => book3s64}/mmu_context_iommu.c |  0
 arch/powerpc/mm/{ => book3s64}/pgtable-book3s64.c  |  2 +-
 arch/powerpc/mm/{ => book3s64}/pgtable-hash64.c    |  2 +-
 arch/powerpc/mm/{ => book3s64}/pgtable-radix.c     |  0
 arch/powerpc/mm/{ => book3s64}/pkeys.c             |  0
 arch/powerpc/mm/{ => book3s64}/slb.c               |  0
 arch/powerpc/mm/{ => book3s64}/subpage-prot.c      |  0
 arch/powerpc/mm/{ => book3s64}/tlb-radix.c         |  0
 arch/powerpc/mm/{ => book3s64}/tlb_hash64.c        |  0
 arch/powerpc/mm/{ => book3s64}/vphn.c              |  0
 arch/powerpc/mm/{ => book3s64}/vphn.h              |  0
 arch/powerpc/mm/dma-noncoherent.c                  |  2 +-
 arch/powerpc/mm/init_32.c                          |  2 +-
 arch/powerpc/mm/init_64.c                          |  2 +-
 arch/powerpc/mm/mem.c                              |  2 +-
 arch/powerpc/mm/{ => nohash}/40x_mmu.c             |  2 +-
 arch/powerpc/mm/{ => nohash}/44x_mmu.c             |  2 +-
 arch/powerpc/mm/{ => nohash}/8xx_mmu.c             |  2 +-
 arch/powerpc/mm/nohash/Makefile                    | 21 +++++++++++
 arch/powerpc/mm/{ => nohash}/fsl_booke_mmu.c       |  2 +-
 arch/powerpc/mm/{ => nohash}/hugetlbpage-book3e.c  |  0
 arch/powerpc/mm/{ => nohash}/mmu_context_nohash.c  |  2 +-
 arch/powerpc/mm/{ => nohash}/pgtable-book3e.c      |  2 +-
 arch/powerpc/mm/{ => nohash}/tlb_low_64e.S         |  0
 arch/powerpc/mm/{ => nohash}/tlb_nohash.c          |  2 +-
 arch/powerpc/mm/{ => nohash}/tlb_nohash_low.S      |  0
 arch/powerpc/mm/numa.c                             |  2 +-
 arch/powerpc/mm/pgtable_32.c                       |  2 +-
 arch/powerpc/mm/pgtable_64.c                       |  2 +-
 44 files changed, 77 insertions(+), 57 deletions(-)
 create mode 100644 arch/powerpc/mm/book3s32/Makefile
 rename arch/powerpc/mm/{ => book3s32}/hash_low_32.S (100%)
 rename arch/powerpc/mm/{ => book3s32}/mmu_context_hash32.c (100%)
 rename arch/powerpc/mm/{ => book3s32}/ppc_mmu_32.c (99%)
 rename arch/powerpc/mm/{ => book3s32}/tlb_hash32.c (99%)
 create mode 100644 arch/powerpc/mm/book3s64/Makefile
 rename arch/powerpc/mm/{ => book3s64}/hash64_4k.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hash64_64k.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hash_native_64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hash_utils_64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hugepage-hash64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hugetlbpage-hash64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/hugetlbpage-radix.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/mmu_context_book3s64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/mmu_context_iommu.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/pgtable-book3s64.c (99%)
 rename arch/powerpc/mm/{ => book3s64}/pgtable-hash64.c (99%)
 rename arch/powerpc/mm/{ => book3s64}/pgtable-radix.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/pkeys.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/slb.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/subpage-prot.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/tlb-radix.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/tlb_hash64.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/vphn.c (100%)
 rename arch/powerpc/mm/{ => book3s64}/vphn.h (100%)
 rename arch/powerpc/mm/{ => nohash}/40x_mmu.c (99%)
 rename arch/powerpc/mm/{ => nohash}/44x_mmu.c (99%)
 rename arch/powerpc/mm/{ => nohash}/8xx_mmu.c (99%)
 create mode 100644 arch/powerpc/mm/nohash/Makefile
 rename arch/powerpc/mm/{ => nohash}/fsl_booke_mmu.c (99%)
 rename arch/powerpc/mm/{ => nohash}/hugetlbpage-book3e.c (100%)
 rename arch/powerpc/mm/{ => nohash}/mmu_context_nohash.c (99%)
 rename arch/powerpc/mm/{ => nohash}/pgtable-book3e.c (99%)
 rename arch/powerpc/mm/{ => nohash}/tlb_low_64e.S (100%)
 rename arch/powerpc/mm/{ => nohash}/tlb_nohash.c (99%)
 rename arch/powerpc/mm/{ => nohash}/tlb_nohash_low.S (100%)

-- 
2.13.3



More information about the Linuxppc-dev mailing list