[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH V6 09/10] xen/arm: make domain_max_vcpus return value from vgic_ops



On Mon, 2015-06-01 at 20:56 +0800, Chen Baozi wrote:
> [...] 
> +#define GICV2_MAX_CPUS  8

This and GICV3_MAX_CPUS don't seem very worthwhile, unless there are to
be other uses of them.

In fact, GICV3_MAX_CPUS is really MAX_VIRT_CPUS, through it's
association with the affinity mapping, i.e. if one changes so would the
other, in lockstep. So I think you should just use that for v3 and
hardcode 8 inline for v2 (since it cannot change).

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.