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

Re: [Xen-devel] [query] gic_update_one_lr r/w from ICH_LR rather than vcpu context lr



Hi,

On 23/12/2014 04:43, manish jaggi wrote:
In gic.c, gic_update_one_lr, gic_hw_ops is called to read and write to an LR.

The function gic_update_one_lr is only used to update the LRs of the current vCPU.

why is read/write not done on the LRs stored in the vcpu context ?

The LR array in the vCPU context is only used when to save/restore the
state of the vGIC vCPU.

When the vCPU is not sync, the state of this LRs is invalid. Think about the vCPU running on another pCPU.

Regards,

--
Julien Grall

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