[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

[Update PATCH] x86/Hyper-V: Initialize Syn timer clock when it's

2020-03-30 Thread ltykernel
From: Tianyu Lan Current code initializes clock event data structure for syn timer even when it's not available. Fix it. Signed-off-by: Tianyu Lan --- - Fix the wrong title. drivers/hv/hv.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/hv/hv.c b/

[PATCH] x86/Hyper-V: Initialize Syn timer clock even when it's not available

2020-03-30 Thread ltykernel
From: Tianyu Lan Current code initializes clock event data structure for syn timer even when it's available or not. Fix it. Signed-off-by: Tianyu Lan --- drivers/hv/hv.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index