Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-07 Thread Marc Zyngier
On 07/08/2019 14:39, Steven Price wrote: > On 03/08/2019 18:34, Marc Zyngier wrote: >> On Sat, 3 Aug 2019 13:51:13 +0100 >> Marc Zyngier wrote: >> >> [forgot that one] >> >>> On Fri, 2 Aug 2019 15:50:14 +0100 >>> Steven Price wrote: >> >> [...] >> +static int __init kvm_pvtime_init(void)

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-07 Thread Steven Price
On 03/08/2019 18:34, Marc Zyngier wrote: > On Sat, 3 Aug 2019 13:51:13 +0100 > Marc Zyngier wrote: > > [forgot that one] > >> On Fri, 2 Aug 2019 15:50:14 +0100 >> Steven Price wrote: > > [...] > >>> +static int __init kvm_pvtime_init(void) >>> +{ >>> + kvm_register_device_ops(_ops,

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-05 Thread Marc Zyngier
On 05/08/2019 17:10, Steven Price wrote: > On 03/08/2019 13:51, Marc Zyngier wrote: >> On Fri, 2 Aug 2019 15:50:14 +0100 >> Steven Price wrote: >> >>> Allow user space to inform the KVM host where in the physical memory >>> map the paravirtualized time structures should be located. >>> >>> A

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-05 Thread Steven Price
On 03/08/2019 13:51, Marc Zyngier wrote: > On Fri, 2 Aug 2019 15:50:14 +0100 > Steven Price wrote: > >> Allow user space to inform the KVM host where in the physical memory >> map the paravirtualized time structures should be located. >> >> A device is created which provides the base address of

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-03 Thread Marc Zyngier
On Sat, 3 Aug 2019 13:51:13 +0100 Marc Zyngier wrote: [forgot that one] > On Fri, 2 Aug 2019 15:50:14 +0100 > Steven Price wrote: [...] > > +static int __init kvm_pvtime_init(void) > > +{ > > + kvm_register_device_ops(_ops, KVM_DEV_TYPE_ARM_PV_TIME); > > + > > + return 0; > > +} > > + >

Re: [PATCH 6/9] KVM: arm64: Provide a PV_TIME device to user space

2019-08-03 Thread Marc Zyngier
On Fri, 2 Aug 2019 15:50:14 +0100 Steven Price wrote: > Allow user space to inform the KVM host where in the physical memory > map the paravirtualized time structures should be located. > > A device is created which provides the base address of an array of > Stolen Time (ST) structures, one