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

Re: [Xen-devel] [PATCH for 4.6] xen/arm: vgic: Correctly emulate write when byte is used



On Wed, 2015-09-23 at 14:23 +0100, Wei Liu wrote:
> On Tue, Sep 22, 2015 at 09:18:48PM +0100, Julien Grall wrote:
> > When a guest is writing a byte, the value will be located in bits[7:0]
> > of the register.
> > 
> > Although the current implementation is expecting the byte at the Nth
> > byte of the register where N = address & 4;
> > 
> > When the address is not 4-byte aligned, the corresponding byte in the
> > internal state will always be set to zero rather.
> > 
> > Note that byte access are only used for GICD_IPRIORITYR and
> > GICD_ITARGETSR. So the worst things that could happen is not setting
> > the
> > priority correctly and ignore the target vCPU written.
> > 
> > Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
> > 
> 
> Subject to an ack / review from ARM folks:
> 
> Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Acked + applied to staging and staging-4.6, noted for later backport to 4.5
and 4.4.


_______________________________________________
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®.