Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-23 Thread Julien Grall
On 23/11/16 10:38, Bhupinder Thakur wrote: Hi, Hi Bhupinder, Can you configure your e-mail client to use ">" to quote the previous answer? Using tab makes the mail quite confusing. Thank you. static DECLARE_BITMAP(vmid_mask, MAX_VMID); void p2m_vmid_allocator_init(void)

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-23 Thread Bhupinder Thakur
Hi, static DECLARE_BITMAP(vmid_mask, MAX_VMID); >> >> void p2m_vmid_allocator_init(void) >> { >> +unsigned int cpu; >> + >> set_bit(INVALID_VMID, vmid_mask); >> + >> +max_vmid = MAX_VMID; >> > > max_vmid is only declared for ARM64 and will break compilation for ARM32. > Please try

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-22 Thread Stefano Stabellini
On Tue, 22 Nov 2016, Julien Grall wrote: > Hi Stefano, > > On 19/11/16 04:34, Stefano Stabellini wrote: > > On Fri, 11 Nov 2016, Bhupinder Thakur wrote: > > > VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. > > > This allows more than 256 VMs to be supported by Xen. > > > >

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-22 Thread Julien Grall
Hello Bhupinder, On 11/11/16 09:06, Bhupinder Thakur wrote: VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. This allows more than 256 VMs to be supported by Xen. This change adds support for 16-bit VMIDs in Xen based on whether the architecture supports it. Signed-off-by:

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-22 Thread Julien Grall
Hi Stefano, On 19/11/16 04:34, Stefano Stabellini wrote: On Fri, 11 Nov 2016, Bhupinder Thakur wrote: VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. This allows more than 256 VMs to be supported by Xen. This change adds support for 16-bit VMIDs in Xen based on whether th

Re: [Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-18 Thread Stefano Stabellini
On Fri, 11 Nov 2016, Bhupinder Thakur wrote: > VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. > This allows more than 256 VMs to be supported by Xen. > > This change adds support for 16-bit VMIDs in Xen based on whether the > architecture supports it. > > Signed-off-by: Bhu

[Xen-devel] [PATCH] xen/arm: Add support for 16 bit VMIDs

2016-11-11 Thread Bhupinder Thakur
VMID space is increased to 16-bits from 8-bits in ARMv8 8.1 revision. This allows more than 256 VMs to be supported by Xen. This change adds support for 16-bit VMIDs in Xen based on whether the architecture supports it. Signed-off-by: Bhupinder Thakur --- xen/arch/arm/p2m.c | 44 ++