Re: [Xen-devel] [RFC 6/6] arm64: hyperv: Enable vDSO

2019-12-17 Thread Boqun Feng
On Tue, Dec 17, 2019 at 03:10:16PM +0100, Vitaly Kuznetsov wrote: > Boqun Feng writes: > > > Similar to x86, add a new vclock_mode VCLOCK_HVCLOCK, and reuse the > > hv_read_tsc_page() for userspace to read tsc page clocksource. > > > > Signed-off-by: Boqun Feng (Microsoft) > > --- > >

Re: [Xen-devel] [RFC 6/6] arm64: hyperv: Enable vDSO

2019-12-17 Thread Vitaly Kuznetsov
Boqun Feng writes: > Similar to x86, add a new vclock_mode VCLOCK_HVCLOCK, and reuse the > hv_read_tsc_page() for userspace to read tsc page clocksource. > > Signed-off-by: Boqun Feng (Microsoft) > --- > arch/arm64/include/asm/clocksource.h | 3 ++- > arch/arm64/include/asm/mshyperv.h

[Xen-devel] [RFC 6/6] arm64: hyperv: Enable vDSO

2019-12-15 Thread Boqun Feng
Similar to x86, add a new vclock_mode VCLOCK_HVCLOCK, and reuse the hv_read_tsc_page() for userspace to read tsc page clocksource. Signed-off-by: Boqun Feng (Microsoft) --- arch/arm64/include/asm/clocksource.h | 3 ++- arch/arm64/include/asm/mshyperv.h | 2 +-