summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2020-12-10 18:14:44 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-10 23:53:10 +0100
commit7b3b3de3b04ecb7393cdfaa30a3468dd47b750cf (patch)
tree35855e24f7702028a5808b07e8241632469a43ac /arch
parentpowerpc/xive: Add a debug_show handler to the XIVE irq_domain (diff)
downloadlinux-7b3b3de3b04ecb7393cdfaa30a3468dd47b750cf.tar.xz
linux-7b3b3de3b04ecb7393cdfaa30a3468dd47b750cf.zip
powerpc: Increase NR_IRQS range to support more KVM guests
PowerNV systems can handle up to 4K guests and 1M interrupt numbers per chip. Increase the range of allowed interrupts to support a larger number of guests. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201210171450.1933725-8-clg@kaod.org
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 2b8e47d1aa91..a5f59defa8bc 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -66,7 +66,7 @@ config NEED_PER_CPU_PAGE_FIRST_CHUNK
config NR_IRQS
int "Number of virtual interrupt numbers"
- range 32 32768
+ range 32 1048576
default "512"
help
This defines the number of virtual interrupt numbers the kernel