RE: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-12-11 Thread Michael Kelley
From: Will Deacon Sent: Friday, December 7, 2018 5:43 AM > > hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level > > Functional Spec (TLFS). The TLFS is distinctly oriented to x86/x64, > > and Hyper-V has not separated out the architecture-dependent parts into > > x86/x64 vs. ARM6

Re: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-12-10 Thread Vitaly Kuznetsov
k...@linuxonhyperv.com writes: > + > +static inline u64 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page > *tsc_pg, > +u64 *cur_tsc) > +{ > + u64 scale, offset; > + u32 sequence; > + > + /* > + * The protocol for reading Hyper-V TSC

Re: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-12-07 Thread Will Deacon
Hi all, On Thu, Nov 22, 2018 at 03:10:56AM +, k...@linuxonhyperv.com wrote: > From: Michael Kelley > > hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level > Functional Spec (TLFS). The TLFS is distinctly oriented to x86/x64, > and Hyper-V has not separated out the architectur

RE: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-11-26 Thread KY Srinivasan
vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; Stephen Hemminger ; > Michael Kelley ; vkuznets > ; Michael Kelley > Subject: Re: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files > > On Thu, Nov 22, 2018 at 03:1

Re: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-11-26 Thread Joshua R. Poulson
That's https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs Thanks, --jrp On Mon, Nov 26, 2018 at 11:18 AM Greg KH wrote: > > On Thu, Nov 22, 2018 at 03:10:56AM +, k...@linuxonhyperv.com wrote: > > --- /dev/null > > +++ b/arch/arm64/include/asm/hyperv-tlfs.h > >

Re: [PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-11-26 Thread Greg KH
On Thu, Nov 22, 2018 at 03:10:56AM +, k...@linuxonhyperv.com wrote: > --- /dev/null > +++ b/arch/arm64/include/asm/hyperv-tlfs.h > @@ -0,0 +1,338 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > + > +/* > + * This file contains definitions from the Hyper-V Hypervisor Top-Level > + * Functional Sp

[PATCH 1/4] arm64: hyperv: Add core Hyper-V include files

2018-11-21 Thread kys
From: Michael Kelley hyperv-tlfs.h defines Hyper-V interfaces from the Hyper-V Top Level Functional Spec (TLFS). The TLFS is distinctly oriented to x86/x64, and Hyper-V has not separated out the architecture-dependent parts into x86/x64 vs. ARM64. So hyperv-tlfs.h includes information for ARM64 t