]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
KVM: arm64: Increase number of user memslots to 512
authorLinu Cherian <linu.cherian@cavium.com>
Wed, 8 Mar 2017 06:08:35 +0000 (11:38 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 9 Mar 2017 09:13:50 +0000 (09:13 +0000)
commit955a3fc6d2a1c11d6d00bce4f3816100ce0530cf
tree8edcfc0f1bc7f374f60e9397f4cba2724befbe2b
parent3e92f94a3b8e925a6dd7ec88a5794b2084b5fb65
KVM: arm64: Increase number of user memslots to 512

Having only 32 memslots is a real constraint for the maximum
number of PCI devices that can be assigned to a single guest.
Assuming each PCI device/virtual function having two memory BAR
regions, we could assign only 15 devices/virtual functions to a
guest.

Hence increase KVM_USER_MEM_SLOTS to 512 as done in other archs like
powerpc.

Reviewed-by: Christoffer Dall <cdall@linaro.org>
Signed-off-by: Linu Cherian <linu.cherian@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/kvm_host.h