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 1343647339-25576-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com

Versions newest first

  1. v1 Latest13 patches 13 repliesIn review

Changes from v4 from the cover letter

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

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13arch/powerpc: Use hpt_va to compute virtual addressarch/powerpc/platforms/cell/beat_htab.c+1 -10 replies
2/13arch/powerpc: Simplify hpte_decodearch/powerpc/mm/hash_native_64.c+28 -210 replies
3/13arch/powerpc: Convert virtual address to vpnarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/include/asm/pte-hash64-64k.h arch/powerpc/kvm/book3s_32_mmu_host.c +8 more+176 -942 replies
4/13arch/powerpc: Rename va to vpnarch/powerpc/include/asm/kvm_book3s.h arch/powerpc/include/asm/machdep.h arch/powerpc/include/asm/mmu-hash64.h +11 more+177 -1680 replies
5/13arch/powerpc: Make KERN_VIRT_SIZE not dependend on PGTABLE_RANGEarch/powerpc/include/asm/pgtable-ppc64.h+1 -10 replies
6/13arch/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+107 -502 replies
7/13arch/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 -92 replies
8/13arch/powerpc: Use the rquired number of VSID bits in slbmtearch/powerpc/mm/slb_low.S+10 -21 reply
9/13arch/powerpc: Use 32bit array for slb cachearch/powerpc/include/asm/paca.h arch/powerpc/mm/slb_low.S+5 -50 replies
10/13arch/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 +2 more+15 -110 replies
11/13arch/powerpc: properly isolate kernel and user proto-VSIDarch/powerpc/include/asm/mmu-hash64.h arch/powerpc/kernel/exceptions-64s.S arch/powerpc/mm/slb_low.S+32 -42 replies
12/13arch/powerpc: Replace open coded CONTEXT_BITS valuearch/powerpc/mm/mmu_context_hash64.c+1 -12 replies
13/13arch/powerpc: Update VSID allocation documentationarch/powerpc/include/asm/mmu-hash64.h+13 -232 replies

Reviews trailers per patch

6 of 13 patches have a Reviewed-by or Acked-by.

PatchPaul Mackerras
1/13R-b
2/13R-b
3/13
4/13
5/13R-b
6/13
7/13R-b
8/13R-b
9/13R-b
10/13
11/13
12/13
13/13

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 -V5 0/13] 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 v4:
* Drop patch "arch/powerpc: properly offset the context bits for 1T segemnts" based on review feedback
* split CONTEX_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