Skip to content

PowerISA 3.0 Radix page table support

Aneesh Kumar K.V linuxppc-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest68 patches 70 repliesIn review

Changes in v2 from the cover letter

* Make sure each patch build without errors on different configs
* Address review feedback

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/68powerpc/cxl: Use REGION_ID instead of opencodingdrivers/misc/cxl/fault.c+1 -14 replies
2/68powerpc/mm/nohash: Return correctly from flush_tlb_pagearch/powerpc/mm/tlb_nohash.c+1 -22 replies
3/68powerpc/mm/nohash: Update non SMP version of flush_tlb_page to handle hugetlb addressarch/powerpc/include/asm/hugetlb.h arch/powerpc/mm/hugetlbpage-book3e.c arch/powerpc/mm/tlb_nohash.c+17 -40 replies
4/68powerpc/mm: Use big endian page table for book3s 64arch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/kvm_book3s_64.h arch/powerpc/include/asm/page.h +6 more+159 -2211 replies
5/68powerpc/mm: use _PAGE_READ to indicate Read accessarch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/pte-common.h +11 more+49 -370 replies
6/68powerpc/mm/subpage: Clear RWX bit to indicate no accessarch/powerpc/mm/hash_utils_64.c+8 -30 replies
7/68powerpc/mm: Use pte_user instead of opencodingarch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/perf/callchain.c+6 -10 replies
8/68powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGEDarch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/mm/hash64_4k.c +9 more+80 -370 replies
9/68powerpc/mm: Remove RPN_SHIFT and RPN_SIZEarch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/hash.h +2 more+23 -280 replies
10/68powerpc/mm: Update _PAGE_KERNEL_ROarch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/mm/hash_utils_64.c arch/powerpc/platforms/ps3/spu.c+14 -95 replies
11/68powerpc/mm: Use helper for finding pte bits mapping I/O areaarch/powerpc/kernel/btext.c arch/powerpc/kernel/isa-bridge.c arch/powerpc/kernel/pci_64.c +3 more+8 -80 replies
12/68powerpc/mm: Drop WIMG in favour of new constantsarch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/kvm_book3s_64.h arch/powerpc/kvm/book3s_64_mmu_hv.c +6 more+66 -900 replies
13/68powerpc/mm: Use generic version of pmdp_clear_flush_youngarch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/mm/pgtable_64.c+3 -130 replies
14/68powerpc/mm: Use generic version of ptep_clear_flush_youngarch/powerpc/include/asm/book3s/64/hash.h+7 -160 replies
15/68powerpc/mm: Move common data structure between radix and hash to book3s 64 generic headersarch/powerpc/include/asm/book3s/32/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/mmu.h +1 more+85 -650 replies
16/68powerpc/mm/power9: Add partition table formatarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/machdep.h arch/powerpc/include/asm/reg.h+31 -21 reply
17/68powerpc/mm/hash: Add support for POWER9 hasharch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/kvm/book3s_hv.c arch/powerpc/kvm/book3s_pr.c +5 more+81 -82 replies
18/68powerpc/mm: Move hash and no hash code to separate filesarch/powerpc/mm/Makefile arch/powerpc/mm/init_64.c arch/powerpc/mm/pgtable-book3e.c +2 more+235 -1533 replies
19/68powerpc/mm/book3s: Rename hash specific PTE bits to carry H_ prefixarch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/hash.h +10 more+121 -1070 replies
20/68powerpc/mm: Handle _PTE_NONE_MASKarch/powerpc/include/asm/book3s/64/hash.h+2 -41 reply
21/68powerpc/mm: Move common pte bits and accessors to book3s/64/pgtable.harch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h+141 -1370 replies
22/68powerpc/mm: Move pte accessors that operate on common pte bits to pgtable.harch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h+209 -2050 replies
23/68powerpc/mm: Make page table size a variablearch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/hash.h +11 more+135 -973 replies
24/68powerpc/mm: Move page table index and and vaddr to pgtable.harch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h+12 -150 replies
25/68powerpc/mm: Move pte related function togetherarch/powerpc/include/asm/book3s/64/pgtable.h+71 -711 reply
26/68powerpc/mm/radix: Add radix pte definesarch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/book3s/64/radix-4k.h arch/powerpc/include/asm/book3s/64/radix-64k.h +1 more+153 -03 replies
27/68powerpc/mm/radix: Dummy radix_enabled()arch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/mmu.h arch/powerpc/platforms/Kconfig.cputype+9 -01 reply
28/68powerpc/mm: Add radix callbacks to pte accessorsarch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h+84 -211 reply
29/68powerpc/mm: Move hugetlb and THP related pmd accessors to pgtable.harch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/pgtable-4k.h arch/powerpc/include/asm/book3s/64/pgtable-64k.h +1 more+108 -833 replies
30/68powerpc/mm/radix: Add radix callback for pmd accessorsarch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/pgtable-64k.h arch/powerpc/include/asm/book3s/64/radix.h+36 -51 reply
31/68powerpc/mm: Abstraction for early init routinesarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/mmu.h arch/powerpc/mm/hash_utils_64.c+30 -100 replies
32/68powerpc/mm/radix: Add radix callback for early init routinesarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/book3s/64/radix.h arch/powerpc/mm/Makefile +2 more+367 -21 reply
33/68powerpc/mm: Abstraction for vmemmap and map_kernel_pagearch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/nohash/64/pgtable.h +3 more+41 -162 replies
34/68powerpc/mm/radix: Add radix callback for vmemmap and map_kernel pagearch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/book3s/64/radix.h arch/powerpc/mm/pgtable-radix.c+38 -01 reply
35/68powerpc/mm: Abstraction for switch_mmu_contextarch/powerpc/include/asm/mmu_context.h arch/powerpc/kernel/swsusp.c arch/powerpc/mm/mmu_context_nohash.c +2 more+19 -173 replies
36/68powerpc/mm/radix: Add mmu context handling callback for radixarch/powerpc/include/asm/mmu_context.h arch/powerpc/mm/mmu_context_hash64.c+38 -81 reply
37/68powerpc/mm: Rename mmu_context_hash64.c to mmu_context_book3s64.carch/powerpc/mm/Makefile arch/powerpc/mm/mmu_context_book3s64.c+3 -40 replies
38/68powerpc/mm: Hash linux abstraction for tlbflush routinesarch/powerpc/include/asm/book3s/64/tlbflush-hash.h arch/powerpc/include/asm/book3s/64/tlbflush.h arch/powerpc/include/asm/tlbflush.h +1 more+73 -150 replies
39/68powerpc/mm/radix: Add tlbflush routinesarch/powerpc/include/asm/book3s/64/mmu-hash.h arch/powerpc/include/asm/book3s/64/tlbflush-hash.h arch/powerpc/include/asm/book3s/64/tlbflush-radix.h +4 more+308 -51 reply
40/68powerpc/mm/radix: Add MMU_FTR_RADIXarch/powerpc/include/asm/book3s/64/mmu.h arch/powerpc/include/asm/mmu.h+6 -11 reply
41/68powerpc/mm/radix: Use STD_MMU_64 to properly isolate hash related codearch/powerpc/kernel/entry_64.S arch/powerpc/kernel/exceptions-64s.S arch/powerpc/kernel/machine_kexec_64.c +3 more+52 -161 reply
42/68powerpc/mm/radix: Isolate hash table function from pseries guest codearch/powerpc/platforms/pseries/lpar.c arch/powerpc/platforms/pseries/lparcfg.c+13 -40 replies
43/68powerpc/mm/radix: Add checks in slice code to catch radix usagearch/powerpc/mm/slice.c+16 -00 replies
44/68powerpc/mm/radix: Limit paca allocation in radixarch/powerpc/mm/pgtable-radix.c+19 -11 reply
45/68powerpc/mm/radix: Pick the address layout for radix configarch/powerpc/mm/mmap.c+109 -00 replies
46/68powerpc/mm/radix: Update secondary PTCRarch/powerpc/mm/hash_utils_64.c+7 -30 replies
47/68powerpc/mm: Make a copy of pgalloc.h for 32 and 64 book3sarch/powerpc/include/asm/book3s/32/pgalloc.h arch/powerpc/include/asm/book3s/64/pgalloc.h+375 -00 replies
48/68powerpc/mm: Copy pgalloc (part 2)arch/powerpc/include/asm/book3s/32/pgalloc.h arch/powerpc/include/asm/book3s/64/pgalloc.h arch/powerpc/include/asm/book3s/pgalloc.h +4 more+59 -250 replies
49/68powerpc/mm: Revert changes made to nohash pgalloc-64.harch/powerpc/include/asm/nohash/64/pgalloc.h arch/powerpc/include/asm/nohash/64/pgtable.h+10 -350 replies
50/68powerpc/mm: Simplify the code dropping 4 level table #ifdefarch/powerpc/include/asm/book3s/64/pgalloc.h+18 -390 replies
51/68powerpc/mm: Rename function to indicate we are allocating fragmentsarch/powerpc/include/asm/book3s/64/pgalloc.h arch/powerpc/include/asm/nohash/64/pgalloc.h arch/powerpc/mm/pgtable_64.c+16 -290 replies
52/68powerpc/mm: make 4k and 64k use pte_t for pgtable_tarch/powerpc/include/asm/book3s/64/pgalloc.h arch/powerpc/include/asm/nohash/64/pgalloc.h arch/powerpc/include/asm/page.h +1 more+52 -1452 replies
53/68powerpc/mm: Add radix pgalloc detailsarch/powerpc/include/asm/book3s/64/pgalloc.h arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/mm/hash_utils_64.c +2 more+55 -71 reply
54/68powerpc/mm: Update pte filter for radixarch/powerpc/mm/pgtable.c+3 -01 reply
55/68powerpc/mm: VMALLOC abstractionarch/powerpc/include/asm/book3s/64/hash.h arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/book3s/64/radix.h +5 more+69 -145 replies
56/68powerpc/radix: update mmu cachearch/powerpc/mm/mem.c+2 -01 reply
57/68powerpc/mm: pte_frag abstractionarch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/pgtable.h +3 more+22 -20 replies
58/68powerpc/mm: Fix vma_mmu_pagesize for radixarch/powerpc/mm/hugetlbpage.c+4 -40 replies
59/68powerpc/mm: Add radix support for hugetlbarch/powerpc/include/asm/book3s/64/hugetlb-radix.h arch/powerpc/include/asm/hugetlb.h arch/powerpc/mm/Makefile +3 more+132 -10 replies
60/68powerpc/mm/radix: Make sure swapper pgdir is properly alignedarch/powerpc/kernel/head_64.S+8 -50 replies
61/68powerpc/mm/radix: Add hugetlb support 4K page sizearch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/pgtable-4k.h+47 -210 replies
62/68powerpc/mm: Drop PTE_ATOMIC_UPDATES from pmd_hugepage_updatearch/powerpc/mm/pgtable_64.c+1 -50 replies
63/68powerpc/mm: THP is only available on hash64 as of nowarch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/mm/pgtable-hash64.c arch/powerpc/mm/pgtable_64.c+371 -3760 replies
64/68powerpc/mm/thp: Abstraction for THP functionsarch/powerpc/include/asm/book3s/64/hash-64k.h arch/powerpc/include/asm/book3s/64/pgtable-64k.h arch/powerpc/include/asm/book3s/64/pgtable.h +3 more+231 -1790 replies
65/68powerpc/mm/radix: Add radix THP callbacksarch/powerpc/include/asm/book3s/64/pgtable-64k.h arch/powerpc/include/asm/book3s/64/pgtable.h arch/powerpc/include/asm/book3s/64/radix.h +2 more+158 -10 replies
66/68powerpc/mm/radix: Add THP support for 4k linux page sizearch/powerpc/include/asm/book3s/64/hash-4k.h arch/powerpc/include/asm/book3s/64/pgtable-64k.h arch/powerpc/include/asm/book3s/64/pgtable.h +1 more+82 -262 replies
67/68powerpc/mm/radix: Cputable update for radixarch/powerpc/include/asm/reg.h arch/powerpc/kernel/cputable.c arch/powerpc/kernel/mce_power.c +1 more+20 -21 reply
68/68powerpc/mm/radix: Use firmware feature to disable radixarch/powerpc/kernel/prom.c+1 -03 replies

Reviews trailers per patch

7 of 68 patches have a Reviewed-by or Acked-by.

PatchIan MunsieAndrew Donnellanbalbir Singh
1/68A-b R-b
2/68
3/68
4/68
5/68A-b
6/68
7/68
8/68A-b
9/68
10/68
11/68
12/68
13/68
14/68
15/68
16/68
17/68
18/68
19/68
20/68
21/68
22/68
23/68
24/68
25/68A-b
26/68
27/68
28/68
29/68
30/68
31/68
32/68
33/68
34/68
35/68
36/68
37/68
38/68
39/68
40/68A-b
41/68
42/68
43/68
44/68
45/68
46/68
47/68
48/68
49/68
50/68
51/68
52/68
53/68
54/68A-b
55/68
56/68A-b
57/68
58/68
59/68
60/68
61/68
62/68
63/68
64/68
65/68
66/68
67/68
68/68

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH V2 00/68] PowerISA 3.0 Radix page table support

This patch series implements Radix page table support for ppc64 book3s as defined by PowerISA 3.0.

Changes from V1:
* Make sure each patch build without errors on different configs
* Address review feedback

Aneesh Kumar K.V (68):
powerpc/cxl: Use REGION_ID instead of opencoding powerpc/mm/nohash: Return correctly from flush_tlb_page powerpc/mm/nohash: Update non SMP version of flush_tlb_page to handle
hugetlb address
powerpc/mm: Use big endian page table for book3s 64 powerpc/mm: use _PAGE_READ to indicate Read access powerpc/mm/subpage: Clear RWX bit to indicate no access powerpc/mm: Use pte_user instead of opencoding
powerpc/mm: Replace _PAGE_USER with _PAGE_PRIVILEGED powerpc/mm: Remove RPN_SHIFT and RPN_SIZE
powerpc/mm: Update _PAGE_KERNEL_RO
powerpc/mm: Use helper for finding pte bits mapping I/O area powerpc/mm: Drop WIMG in favour of new constants powerpc/mm: Use generic version of pmdp_clear_flush_young powerpc/mm: Use generic version of ptep_clear_flush_young powerpc/mm: Move common data structure between radix and hash to
book3s 64 generic headers
powerpc/mm/power9: Add partition table format powerpc/mm/hash: Add support for POWER9 hash
powerpc/mm: Move hash and no hash code to separate files powerpc/mm/book3s: Rename hash specific PTE bits to carry H_ prefix powerpc/mm: Handle _PTE_NONE_MASK
powerpc/mm: Move common pte bits and accessors to book3s/64/pgtable.h powerpc/mm: Move pte accessors that operate on common pte bits to
pgtable.h
powerpc/mm: Make page table size a variable
powerpc/mm: Move page table index and and vaddr to pgtable.h powerpc/mm: Move pte related function together powerpc/mm/radix: Add radix pte defines
powerpc/mm/radix: Dummy radix_enabled()
powerpc/mm: Add radix callbacks to pte accessors powerpc/mm: Move hugetlb and THP related pmd accessors to pgtable.h powerpc/mm/radix: Add radix callback for pmd accessors powerpc/mm: Abstraction for early init routines powerpc/mm/radix: Add radix callback for early init routines powerpc/mm: Abstraction for vmemmap and map_kernel_page powerpc/mm/radix: Add radix callback for vmemmap and map_kernel page powerpc/mm: Abstraction for switch_mmu_context powerpc/mm/radix: Add mmu context handling callback for radix powerpc/mm: Rename mmu_context_hash64.c to mmu_context_book3s64.c powerpc/mm: Hash linux abstraction for tlbflush routines powerpc/mm/radix: Add tlbflush routines
powerpc/mm/radix: Add MMU_FTR_RADIX
powerpc/mm/radix: Use STD_MMU_64 to properly isolate hash related code powerpc/mm/radix: Isolate hash table function from pseries guest code powerpc/mm/radix: Add checks in slice code to catch radix usage powerpc/mm/radix: Limit paca allocation in radix powerpc/mm/radix: Pick the address layout for radix config powerpc/mm/radix: Update secondary PTCR
powerpc/mm: Make a copy of pgalloc.h for 32 and 64 book3s powerpc/mm: Copy pgalloc (part 2)
powerpc/mm: Revert changes made to nohash pgalloc-64.h powerpc/mm: Simplify the code dropping 4 level table #ifdef powerpc/mm: Rename function to indicate we are allocating fragments powerpc/mm: make 4k and 64k use pte_t for pgtable_t powerpc/mm: Add radix pgalloc details
powerpc/mm: Update pte filter for radix
powerpc/mm: VMALLOC abstraction
powerpc/radix: update mmu cache
powerpc/mm: pte_frag abstraction
powerpc/mm: Fix vma_mmu_pagesize for radix
powerpc/mm: Add radix support for hugetlb powerpc/mm/radix: Make sure swapper pgdir is properly aligned powerpc/mm/radix: Add hugetlb support 4K page size powerpc/mm: Drop PTE_ATOMIC_UPDATES from pmd_hugepage_update powerpc/mm: THP is only available on hash64 as of now powerpc/mm/thp: Abstraction for THP functions powerpc/mm/radix: Add radix THP callbacks powerpc/mm/radix: Add THP support for 4k linux page size powerpc/mm/radix: Cputable update for radix powerpc/mm/radix: Use firmware feature to disable radix

 arch/powerpc/include/asm/book3s/32/mmu-hash.h      |   6 +-
 arch/powerpc/include/asm/book3s/32/pgalloc.h       | 109 +++
 arch/powerpc/include/asm/book3s/64/hash-4k.h       | 136 ++--
 arch/powerpc/include/asm/book3s/64/hash-64k.h      | 213 ++----
 arch/powerpc/include/asm/book3s/64/hash.h          | 477 ++----------
 arch/powerpc/include/asm/book3s/64/hugetlb-radix.h |  14 +
 arch/powerpc/include/asm/book3s/64/mmu-hash.h      |  79 +-
 arch/powerpc/include/asm/book3s/64/mmu.h           | 137 ++++
 arch/powerpc/include/asm/book3s/64/pgalloc.h       | 207 ++++++
 arch/powerpc/include/asm/book3s/64/pgtable-4k.h    |  53 ++
 arch/powerpc/include/asm/book3s/64/pgtable-64k.h   |  64 ++
 arch/powerpc/include/asm/book3s/64/pgtable.h       | 812 +++++++++++++++++++--
 arch/powerpc/include/asm/book3s/64/radix-4k.h      |  12 +
 arch/powerpc/include/asm/book3s/64/radix-64k.h     |  12 +
 arch/powerpc/include/asm/book3s/64/radix.h         | 188 +++++
 arch/powerpc/include/asm/book3s/64/tlbflush-hash.h |  41 +-
 .../powerpc/include/asm/book3s/64/tlbflush-radix.h |  33 +
 arch/powerpc/include/asm/book3s/64/tlbflush.h      |  76 ++
 arch/powerpc/include/asm/book3s/pgalloc.h          |  19 +
 arch/powerpc/include/asm/hugetlb.h                 |  23 +-
 arch/powerpc/include/asm/kvm_book3s_64.h           |  42 +-
 arch/powerpc/include/asm/machdep.h                 |   1 +
 arch/powerpc/include/asm/mmu.h                     |  32 +-
 arch/powerpc/include/asm/mmu_context.h             |  29 +-
 .../asm/{pgalloc-32.h => nohash/32/pgalloc.h}      |   0
 .../asm/{pgalloc-64.h => nohash/64/pgalloc.h}      |  92 +--
 arch/powerpc/include/asm/nohash/64/pgtable.h       |  10 +-
 arch/powerpc/include/asm/nohash/pgalloc.h          |  23 +
 arch/powerpc/include/asm/page.h                    |  14 +-
 arch/powerpc/include/asm/page_64.h                 |   2 +-
 arch/powerpc/include/asm/pgalloc.h                 |  19 +-
 arch/powerpc/include/asm/pgtable-be-types.h        | 104 +++
 arch/powerpc/include/asm/pte-common.h              |   9 +
 arch/powerpc/include/asm/reg.h                     |   5 +
 arch/powerpc/include/asm/tlbflush.h                |   3 +-
 arch/powerpc/kernel/asm-offsets.c                  |   4 +
 arch/powerpc/kernel/btext.c                        |   2 +-
 arch/powerpc/kernel/cputable.c                     |   2 +-
 arch/powerpc/kernel/entry_64.S                     |   7 +-
 arch/powerpc/kernel/exceptions-64s.S               |  28 +-
 arch/powerpc/kernel/head_64.S                      |  13 +-
 arch/powerpc/kernel/isa-bridge.c                   |   4 +-
 arch/powerpc/kernel/machine_kexec_64.c             |   6 +-
 arch/powerpc/kernel/mce_power.c                    |  13 +-
 arch/powerpc/kernel/pci_64.c                       |   5 +-
 arch/powerpc/kernel/process.c                      |  15 +-
 arch/powerpc/kernel/prom.c                         |   1 +
 arch/powerpc/kernel/swsusp.c                       |   2 +-
 arch/powerpc/kvm/book3s_64_mmu_hv.c                |  11 +-
 arch/powerpc/kvm/book3s_hv.c                       |   6 +
 arch/powerpc/kvm/book3s_hv_rm_mmu.c                |  12 +-
 arch/powerpc/kvm/book3s_pr.c                       |   6 +-
 arch/powerpc/mm/Makefile                           |  10 +-
 arch/powerpc/mm/hash64_4k.c                        |  32 +-
 arch/powerpc/mm/hash64_64k.c                       |  77 +-
 arch/powerpc/mm/hash_native_64.c                   |  11 +-
 arch/powerpc/mm/hash_utils_64.c                    | 161 +++-
 arch/powerpc/mm/hugepage-hash64.c                  |  25 +-
 arch/powerpc/mm/hugetlbpage-book3e.c               |   8 +
 arch/powerpc/mm/hugetlbpage-hash64.c               |  32 +-
 arch/powerpc/mm/hugetlbpage-radix.c                |  87 +++
 arch/powerpc/mm/hugetlbpage.c                      |  20 +-
 arch/powerpc/mm/init_64.c                          |  73 +-
 arch/powerpc/mm/mem.c                              |   2 +
 arch/powerpc/mm/mmap.c                             | 109 +++
 ...mmu_context_hash64.c => mmu_context_book3s64.c} |  42 +-
 arch/powerpc/mm/mmu_context_nohash.c               |   3 +-
 arch/powerpc/mm/mmu_decl.h                         |   5 -
 arch/powerpc/mm/pgtable-book3e.c                   | 129 ++++
 arch/powerpc/mm/pgtable-book3s64.c                 | 123 ++++
 arch/powerpc/mm/pgtable-hash64.c                   | 347 +++++++++
 arch/powerpc/mm/pgtable-radix.c                    | 527 +++++++++++++
 arch/powerpc/mm/pgtable.c                          |  24 +-
 arch/powerpc/mm/pgtable_64.c                       | 555 ++------------
 arch/powerpc/mm/slb_low.S                          |   4 +-
 arch/powerpc/mm/slice.c                            |  20 +-
 arch/powerpc/mm/tlb-radix.c                        | 252 +++++++
 arch/powerpc/mm/tlb_hash64.c                       |   6 +-
 arch/powerpc/mm/tlb_nohash.c                       |   7 +-
 arch/powerpc/perf/callchain.c                      |   2 +-
 arch/powerpc/platforms/Kconfig.cputype             |   6 +-
 arch/powerpc/platforms/cell/spu_base.c             |   2 +-
 arch/powerpc/platforms/cell/spufs/fault.c          |   4 +-
 arch/powerpc/platforms/powernv/setup.c             |   5 +-
 arch/powerpc/platforms/ps3/htab.c                  |   2 +-
 arch/powerpc/platforms/ps3/spu.c                   |   4 +-
 arch/powerpc/platforms/pseries/lpar.c              |  20 +-
 arch/powerpc/platforms/pseries/lparcfg.c           |   3 +-
 arch/powerpc/xmon/xmon.c                           |   2 +-
 drivers/cpufreq/pmac32-cpufreq.c                   |   2 +-
 drivers/macintosh/via-pmu.c                        |   4 +-
 drivers/misc/cxl/fault.c                           |  10 +-
 drivers/pcmcia/electra_cf.c                        |   2 +-
 93 files changed, 4280 insertions(+), 1712 deletions(-)
 create mode 100644 arch/powerpc/include/asm/book3s/32/pgalloc.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/hugetlb-radix.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/mmu.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/pgalloc.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/pgtable-4k.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/pgtable-64k.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/radix-4k.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/radix-64k.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/radix.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
 create mode 100644 arch/powerpc/include/asm/book3s/64/tlbflush.h
 create mode 100644 arch/powerpc/include/asm/book3s/pgalloc.h
 rename arch/powerpc/include/asm/{pgalloc-32.h => nohash/32/pgalloc.h} (100%)
 rename arch/powerpc/include/asm/{pgalloc-64.h => nohash/64/pgalloc.h} (68%)
 create mode 100644 arch/powerpc/include/asm/nohash/pgalloc.h
 create mode 100644 arch/powerpc/include/asm/pgtable-be-types.h
 create mode 100644 arch/powerpc/mm/hugetlbpage-radix.c
 rename arch/powerpc/mm/{mmu_context_hash64.c => mmu_context_book3s64.c} (78%)
 create mode 100644 arch/powerpc/mm/pgtable-book3e.c
 create mode 100644 arch/powerpc/mm/pgtable-book3s64.c
 create mode 100644 arch/powerpc/mm/pgtable-hash64.c
 create mode 100644 arch/powerpc/mm/pgtable-radix.c
 create mode 100644 arch/powerpc/mm/tlb-radix.c
Signature · 1 line
2.5.0