[PATCH V2 2/2] KVM: arm64: Increase number of user memslots to 508

2017-02-07 Thread linucherian
From: Linu Cherian 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

[PATCH V2 1/2] KVM: arm/arm64: Enable KVM_CAP_NR_MEMSLOTS on arm/arm64

2017-02-07 Thread linucherian
From: Linu Cherian Return KVM_USER_MEM_SLOTS for userspace capability query on NR_MEMSLOTS. Signed-off-by: Linu Cherian --- arch/arm/kvm/arm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index

[PATCH V2 0/2] KVM: arm64: Increase number of user memslots

2017-02-07 Thread linucherian
From: Linu Cherian v1 -> v2: - Enabling KVM_CAP_NR_MEMSLOTS for arm/arm64 moved to separate patch. - Updated commit message so that what is reported to userspace is explicit. Linu Cherian (2): KVM: arm/arm64: Enable KVM_CAP_NR_MEMSLOTS on arm/arm64 KVM: arm64:

Re: [PATCH] KVM: arm64: Increase number of memslots to 512

2017-02-07 Thread Linu Cherian
On Tue, Feb 7, 2017 at 3:46 PM, Auger Eric wrote: > Hi Linu, > > On 11/01/2017 17:52, linucher...@gmail.com wrote: >> From: Linu Cherian >> >> Having only 32 memslots is a real constraint for the maximum number of >> PCI devices that can be

Re: [PATCH v4 2/4] arm64: Work around Falkor erratum 1003

2017-02-07 Thread Christopher Covington
On 02/01/2017 01:38 PM, Catalin Marinas wrote: > On Wed, Feb 01, 2017 at 06:34:01PM +, Will Deacon wrote: >> On Wed, Feb 01, 2017 at 06:22:44PM +, Catalin Marinas wrote: >>> On Wed, Feb 01, 2017 at 05:59:48PM +, Will Deacon wrote: On Wed, Feb 01, 2017 at 05:49:34PM +, Catalin

Re: [PATCH RFC 0/6] target-arm: KVM64: Cross type vCPU support

2017-02-07 Thread Peter Maydell
On 16 January 2017 at 09:26, Shannon Zhao wrote: > From: Shannon Zhao > > This patch set support use cross type vCPU when using KVM on ARM and add > two new CPU types: generic and cortex-a72. > > You can test this patch set with QEMU using >

Re: [PATCH RFC 4/6] target: arm: Add a generic type cpu

2017-02-07 Thread Peter Maydell
On 16 January 2017 at 09:26, Shannon Zhao wrote: > From: Shannon Zhao > > Add a generic type cpu, it's useful for migration when running on > different hardwares. > > Signed-off-by: Shannon Zhao > --- >

Re: [PATCH] KVM: arm64: Increase number of memslots to 512

2017-02-07 Thread Auger Eric
Hi Linu, On 11/01/2017 17:52, linucher...@gmail.com wrote: > From: Linu Cherian > > 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

Re: [PATCH] KVM: arm64: Increase number of memslots to 512

2017-02-07 Thread Marc Zyngier
On 07/02/17 09:00, Linu Cherian wrote: > On Tue, Jan 24, 2017 at 2:34 PM, Marc Zyngier wrote: >> On 24/01/17 05:06, Linu Cherian wrote: >>> On Sat, Jan 14, 2017 at 9:53 PM, Geetha Akula >>> wrote: Hi Marc, We have been testing