]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/mm/hash: Support 68 bit VA
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 29 Mar 2017 06:21:53 +0000 (17:21 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 31 Mar 2017 12:10:00 +0000 (23:10 +1100)
commite6f81a92015b2c1d12fad32b8456f99855da6e13
tree377f39200568f1d4175ec438e1e8d1b62835b356
parent85beb1c486df76a7a851a0e063785282c2608f37
powerpc/mm/hash: Support 68 bit VA

Inorder to support large effective address range (512TB), we want to
increase the virtual address bits to 68. But we do have platforms like
p4 and p5 that can only do 65 bit VA. We support those platforms by
limiting context bits on them to 16.

The protovsid -> vsid conversion is verified to work with both 65 and 68
bit va values. I also documented the restrictions in a table format as
part of code comments.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/include/asm/mmu.h
arch/powerpc/kvm/book3s_64_mmu_host.c
arch/powerpc/mm/mmu_context_book3s64.c
arch/powerpc/mm/slb_low.S