|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 05/27] ARM: GICv3 ITS: introduce ITS command handling
Hi Andre, On 03/04/17 11:58, Andre Przywara wrote:
It is not the first time I am saying that. If it is a guess, then this should be spelled out. A reader cannot know and we would have a question asking why "1 ms in Xen and 1 sec in Linux"...
See above. [...]
See above. [...] + + /* + * The ITS refers to redistributors either by their physical + * address or by their ID. Determine those two values and + * let the ITS code store them in per host CPU variables to + * later be able to address those redistributors. + */Again, this comment does not look useful and is misleading as the code to get/set the redistributor information is living in gic-v3-lpi.c and not gic-v3-its.c.But we need to prepare those values here (and only here) and it does make a lot of sense to explain this, since the ability to deal with both ways of representing a redistributor is not obvious. And this is one of the connections between the ITS and the (GICv3) redistributors, where the line between them is not easy to draw. So in v4 I now reworded the comment to say that we hand this over to the ITS (instead of spoiling ITS implementation details). Hope you are OK with this. Well, it makes sense to initialize the redistributor address in here and not in another place. This kind of comments is more useful on the place where you initialize the ITS to explain why it is done there and not before. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |