Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-26 Thread Thomas Gleixner
On Mon, 26 Aug 2019, Vitaly Kuznetsov wrote: > Sasha Levin writes: > > > On Thu, Aug 22, 2019 at 10:39:46AM +0200, Vitaly Kuznetsov wrote: > >>lantianyu1...@gmail.com writes: > >> > >>> From: Tianyu Lan > >>> > >>> Both Hyper-V tsc page and Hyper-V tsc MSR code use variable > >>>

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-26 Thread Vitaly Kuznetsov
Sasha Levin writes: > On Thu, Aug 22, 2019 at 10:39:46AM +0200, Vitaly Kuznetsov wrote: >>lantianyu1...@gmail.com writes: >> >>> From: Tianyu Lan >>> >>> Both Hyper-V tsc page and Hyper-V tsc MSR code use variable >>> hv_sched_clock_offset for their sched clock callback and so >>> define the

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-25 Thread Tianyu Lan
On Sun, Aug 25, 2019 at 1:52 AM Sasha Levin wrote: > > On Thu, Aug 22, 2019 at 10:39:46AM +0200, Vitaly Kuznetsov wrote: > >lantianyu1...@gmail.com writes: > > > >> From: Tianyu Lan > >> > >> Both Hyper-V tsc page and Hyper-V tsc MSR code use variable > >> hv_sched_clock_offset for their sched

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-24 Thread Sasha Levin
On Thu, Aug 22, 2019 at 10:39:46AM +0200, Vitaly Kuznetsov wrote: lantianyu1...@gmail.com writes: From: Tianyu Lan Both Hyper-V tsc page and Hyper-V tsc MSR code use variable hv_sched_clock_offset for their sched clock callback and so define the variable regardless of CONFIG_HYPERV_TSCPAGE

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-22 Thread Tianyu Lan
On Thu, Aug 22, 2019 at 4:39 PM Vitaly Kuznetsov wrote: > > lantianyu1...@gmail.com writes: > > > From: Tianyu Lan > > > > Both Hyper-V tsc page and Hyper-V tsc MSR code use variable > > hv_sched_clock_offset for their sched clock callback and so > > define the variable regardless of

Re: [PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-22 Thread Vitaly Kuznetsov
lantianyu1...@gmail.com writes: > From: Tianyu Lan > > Both Hyper-V tsc page and Hyper-V tsc MSR code use variable > hv_sched_clock_offset for their sched clock callback and so > define the variable regardless of CONFIG_HYPERV_TSCPAGE setting. CONFIG_HYPERV_TSCPAGE is gone after my

[PATCH] x86/Hyper-V: Fix build error with CONFIG_HYPERV_TSCPAGE=N

2019-08-21 Thread lantianyu1986
From: Tianyu Lan Both Hyper-V tsc page and Hyper-V tsc MSR code use variable hv_sched_clock_offset for their sched clock callback and so define the variable regardless of CONFIG_HYPERV_TSCPAGE setting. Signed-off-by: Tianyu Lan --- This patch is based on the top of