[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tvvnieoi.fsf@vitty.brq.redhat.com>
Date: Mon, 15 Jan 2018 11:45:01 +0100
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Stephen Hemminger <sthemmin@...rosoft.com>, kvm@...r.kernel.org,
Radim Krčmář <rkrcmar@...hat.com>,
Haiyang Zhang <haiyangz@...rosoft.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
"Michael Kelley \(EOSG\)" <Michael.H.Kelley@...rosoft.com>,
Ingo Molnar <mingo@...hat.com>,
Roman Kagan <rkagan@...tuozzo.com>,
Andy Lutomirski <luto@...nel.org>,
"H. Peter Anvin" <hpa@...or.com>,
Paolo Bonzini <pbonzini@...hat.com>,
Mohammed Gamal <mmorsy@...hat.com>
Subject: Re: [PATCH v2 2/7] x86/hyper-v: add a function to read both TSC and TSC page value simulateneously
Thomas Gleixner <tglx@...utronix.de> writes:
> On Wed, 13 Dec 2017, Vitaly Kuznetsov wrote:
>
>> This is going to be used from KVM code where we need to get both
>> TSC and TSC page value.
>>
>> When Hyper-V code is compiled out just return rdtsc(), this will allow us
>> to avoid ugly ifdefs in non-Hyper-V code.
>
> That's not what the patch implements....
>
Not anymore, thanks, will fix the description.
>> +static inline u64 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg,
>> + u64 *cur_tsc)
>> +{
>> + BUG();
>> + return U64_MAX;
>> +}
--
Vitaly
Powered by blists - more mailing lists