[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7 16/28] xen/arm: ITS: Add virtual ITS commands support
Hi Vijay, On 18/09/15 14:09, vijay.kilari@xxxxxxxxx wrote: > From: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx> > > Add Virtual ITS command processing support to Virtual ITS driver > > Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@xxxxxxxxxxxxxxxxxx> I've got minor comments in vits_get_max_collections. With that addressed: Reviewed-by: Julien Grall <julien.grall@xxxxxxxxxx> [...] > +static inline uint16_t vits_get_max_collections(struct domain *d) > +{ > + /* > + * ITS only supports up to 256 collections without > + * provisioning external memory. As per vITS design, number of > + * vCPUS should not exceed max number of collections. > + */ > + ASSERT(d->max_vcpus < 256); > + > + /* Each collection corresponds to one CPU(vCPU). collections are NIT: The coding style for comment is /* * My comments * ... */ s/collections are/Collections/ > + * used to move interrupts from one CPU to another. The ITS > + * mandated to implement N + 1 collections where N is the number of s/mandated/mandates/ > + * processor on the platform (i.e max number of VCPUs for a given > + * guest). I was about to suggestion mention the section in the spec. Although I'm not able to find a related section in the Public doc (IHI0069A). Might still be worth to mention the PRD03-GENC-010745 24 section 4.9.15? > + */ > + return (d->max_vcpus + 1); > +} Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |