Re: [Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-20 Thread Stefano Stabellini
On Tue, 17 Nov 2015, Will Deacon wrote: > On Tue, Nov 17, 2015 at 05:34:36PM +, Marc Zyngier wrote: > > On 17/11/15 17:29, Will Deacon wrote: > > > On Tue, Nov 10, 2015 at 02:11:38PM +, Stefano Stabellini wrote: > > >> On Thu, 5 Nov 2015, Stefano Stabellini wrote: > > >>> Introduce

Re: [Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-17 Thread Will Deacon
On Tue, Nov 17, 2015 at 05:34:36PM +, Marc Zyngier wrote: > On 17/11/15 17:29, Will Deacon wrote: > > On Tue, Nov 10, 2015 at 02:11:38PM +, Stefano Stabellini wrote: > >> On Thu, 5 Nov 2015, Stefano Stabellini wrote: > >>> Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64. >

Re: [Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-17 Thread Will Deacon
On Tue, Nov 10, 2015 at 02:11:38PM +, Stefano Stabellini wrote: > On Thu, 5 Nov 2015, Stefano Stabellini wrote: > > Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64. > > Necessary duplication of paravirt.h and paravirt.c with ARM. > > > > The only paravirt interface supported

Re: [Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-17 Thread Marc Zyngier
On 17/11/15 17:29, Will Deacon wrote: > On Tue, Nov 10, 2015 at 02:11:38PM +, Stefano Stabellini wrote: >> On Thu, 5 Nov 2015, Stefano Stabellini wrote: >>> Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64. >>> Necessary duplication of paravirt.h and paravirt.c with ARM. >>> >>>

Re: [Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-10 Thread Stefano Stabellini
On Thu, 5 Nov 2015, Stefano Stabellini wrote: > Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64. > Necessary duplication of paravirt.h and paravirt.c with ARM. > > The only paravirt interface supported is pv_time_ops.steal_clock, so no > runtime pvops patching needed. > > This

[Xen-devel] [PATCH v11 4/5] arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

2015-11-05 Thread Stefano Stabellini
Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM64. Necessary duplication of paravirt.h and paravirt.c with ARM. The only paravirt interface supported is pv_time_ops.steal_clock, so no runtime pvops patching needed. This allows us to make use of steal_account_process_tick for stolen