Skip to content

arch/powerpc: Add 64TB support to ppc64

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 10 repliesIn review

Changes from V7 from the cover letter

* Address review feedback

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11arch/powerpc: Replace open coded CONTEXT_BITS valuearch/powerpc/mm/mmu_context_hash64.c+1 -10 replies
2/11arch/powerpc: Use hpt_va to compute virtual addressarch/powerpc/platforms/cell/beat_htab.c+1 -10 replies
3/11arch/powerpc: Simplify hpte_decodearch/powerpc/mm/hash_native_64.c+28 -210 replies
4/11arch/powerpc: Convert virtual address to vpnarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/machdep.h arch/powerpc/include/asm/mmu-hash64.h +13 more+324 -2401 reply
5/11arch/powerpc: Make KERN_VIRT_SIZE not dependend on PGTABLE_RANGEarch/powerpc/include/asm/pgtable-ppc64.h+1 -10 replies
6/11arch/powerpc: Increase the slice range to 64TBarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/include/asm/page_64.h arch/powerpc/mm/hash_utils_64.c +2 more+109 -550 replies
7/11arch/powerpc: Make some of the PGTABLE_RANGE dependency explicitarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/include/asm/page_64.h arch/powerpc/include/asm/pgtable-ppc64.h+28 -90 replies
8/11arch/powerpc: Use the required number of VSID bits in slbmtearch/powerpc/mm/slb_low.S+10 -20 replies
9/11arch/powerpc: Use 32bit array for slb cachearch/powerpc/include/asm/paca.h arch/powerpc/mm/slb_low.S+5 -50 replies
10/11arch/powerpc: Add 64TB supportarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/include/asm/pgtable-ppc64-4k.h arch/powerpc/include/asm/pgtable-ppc64-64k.h +4 more+54 -160 replies
11/11arch/powerpc: Update VSID allocation documentationarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/mm/mmu_context_hash64.c+22 -260 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchPaul Mackerras
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-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 -V8 0/11] arch/powerpc: Add 64TB support to ppc64

Hi,

This patchset include patches for supporting 64TB with ppc64. I haven't booted this on hardware with 64TB memory yet. But they boot fine on real hardware with less memory. Changes extend VSID bits to 38 bits for a 256MB segment and 26 bits for 1TB segments.

Changes from V7:
* Address review feedback

Changes from V6:
* rebase to latest upstream (5b716ac728bcc01b1f2a7ed6e437196602237c27)

Changes from v5:
* Address review feedback

Changes from v4:
* Drop patch "arch/powerpc: properly offset the context bits for 1T segemnts" based on review feedback
* split CONTEXT_BITS related changes from patch 12
* Add a new doc update patch

Changes from v3:
* Address review comments.
* Added new patch to ensure proto-VSID isolation between kernel and user space

Changes from V2:
* Fix few FIXMEs in the patchset. I have added them as separate patch for easier review. That should help us to drop those changes if we don't agree.

Changes from V1:
* Drop the usage of structure (struct virt_addr) to carry virtual address. We now represent virtual address via vpn which is virtual address shifted right 12 bits.

Thanks,
-aneesh