Re: [Xen-devel] [PATCH v4 04/15] xen: arm: handle accesses to CNTP_CVAL_EL0

2015-03-27 Thread Julien Grall
Hi Ian, On 27/03/15 14:33, Ian Campbell wrote: > All OSes we have run on top of Xen use CNTP_TVAL_EL0 but for > completeness we really should handle CVAL too. > > In vtimer_emulate_cp64 pull the propagation of the 64-bit result into > two 32-bit registers out of the switch to avoid duplicating fo

[Xen-devel] [PATCH v4 04/15] xen: arm: handle accesses to CNTP_CVAL_EL0

2015-03-27 Thread Ian Campbell
All OSes we have run on top of Xen use CNTP_TVAL_EL0 but for completeness we really should handle CVAL too. In vtimer_emulate_cp64 pull the propagation of the 64-bit result into two 32-bit registers out of the switch to avoid duplicating for every register. We also need to initialise x now since p