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@lists.xen.org http://lists.xen.org/xen-devel