[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 7/9] xen/arm: vgic: Optimize the way to store the target vCPU in the rank
On Wed, 2015-10-07 at 15:41 +0100, Julien Grall wrote: > Note that with these changes, any read to those registers will list only > the target vCPU used by Xen. We think this is likely to be OK because the > GIC spec doesn't require to return exactly the value written and it can > be seen as if we decide to implement the register read-only. This still isn't true. The GIC spec requires one of two modes: Either the register is read-only _or_ it is writable and one can expect to read back what was written (because the spec doesn't say otherwise and doing otherwise would definitely be exceptional behaviour). This comment needs to explain why believe we are able to get away with implementing a third option despite that, i.e. why we think it is ok to push the boundaries of the spec here. At no point should the behaviour implemented be compared to implementing the register as read-only, because that is a bogus comparison. A register cannot be "sort of read-only" and justifying the behaviour here on that basis is incorrect. > Changes in v3: > - Make clear in the commit message that we rely on a corner case > of the spec. No we don't. We do something out of spec which we think we can get away with implementing as we have done. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |