Re: [PATCH V2] x86/Hyper-V: don't allocate clockevent device when synthetic timer is unavailable

2020-03-31 Thread Tianyu Lan
On 3/31/2020 7:20 PM, Vitaly Kuznetsov wrote: ltyker...@gmail.com writes: From: Tianyu Lan Current code initializes clock event data structure for syn timer even when it's unavailable. Fix it. Signed-off-by: Tianyu Lan --- Change since v1: Update title and commit log. drivers/hv/

Re: [PATCH V2] x86/Hyper-V: don't allocate clockevent device when synthetic timer is unavailable

2020-03-31 Thread Vitaly Kuznetsov
ltyker...@gmail.com writes: > From: Tianyu Lan > > Current code initializes clock event data structure for syn timer > even when it's unavailable. Fix it. > > Signed-off-by: Tianyu Lan > --- > Change since v1: > Update title and commit log. > > drivers/hv/hv.c | 15 +-- > 1 f

[PATCH V2] x86/Hyper-V: don't allocate clockevent device when synthetic timer is unavailable

2020-03-30 Thread ltykernel
From: Tianyu Lan Current code initializes clock event data structure for syn timer even when it's unavailable. Fix it. Signed-off-by: Tianyu Lan --- Change since v1: Update title and commit log. drivers/hv/hv.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) di