aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_book3s_asm.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-01-23 22:00:43 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-13 21:33:34 +1000
commitf104df7d519ff1aa92c7ec87e124c88d4e7574cd (patch)
tree666c070143cd230f615e634b94d6f13d99efa529 /arch/powerpc/include/asm/kvm_book3s_asm.h
parentKVM: PPC: Book3S Nested: Use explicit 4096 LPID maximum (diff)
downloadlinux-dev-f104df7d519ff1aa92c7ec87e124c88d4e7574cd.tar.xz
linux-dev-f104df7d519ff1aa92c7ec87e124c88d4e7574cd.zip
KVM: PPC: Book3S HV: Remove KVMPPC_NR_LPIDS
KVMPPC_NR_LPIDS no longer represents any size restriction on the LPID space and can be removed. A CPU with more than 12 LPID bits implemented will now be able to create more than 4095 guests. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220123120043.3586018-7-npiggin@gmail.com
Diffstat (limited to '')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s_asm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_asm.h b/arch/powerpc/include/asm/kvm_book3s_asm.h
index e6bda70b1d93..c8882d9b86c2 100644
--- a/arch/powerpc/include/asm/kvm_book3s_asm.h
+++ b/arch/powerpc/include/asm/kvm_book3s_asm.h
@@ -14,9 +14,6 @@
#define XICS_MFRR 0xc
#define XICS_IPI 2 /* interrupt source # for IPIs */
-/* LPIDs we support with this build -- runtime limit may be lower */
-#define KVMPPC_NR_LPIDS (1UL << 12)
-
/* Maximum number of threads per physical core */
#define MAX_SMT_THREADS 8