X86: Mark the Hyper-V clocksource as being continuous
Subsystems (3)
PATCH 1/1 X86: Mark the Hyper-V clocksource as being continuous
The clocksource based on Hyper-V per-partition reference count MSR is continuous. Mark it accordingly.
--- arch/x86/kernel/cpu/mshyperv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/kernel/cpu/mshyperv.c +1 -0
@@ -107,6 +107,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, };static void __init ms_hyperv_init_platform (void )
Signature · 1 line
1.7.4.1
Does this mean that host-to guest timesync now works properly with Linux guests?
-- Jeff
Quoted 2 lines
-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Quoted 3 lines
On Behalf Of K. Y. Srinivasan
Sent: Tuesday, December 2, 2014 17:04
To: [email protected]; [email protected];
Quoted 4 lines
[email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: K. Y. Srinivasan; [email protected]
Subject: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being
continuous
Quoted 2 lines
The clocksource based on Hyper-V per-partition reference count MSR is
continuous. Mark
Review
Quoted 9 lines
it accordingly.
Signed-off-by K. Y. Srinivasan <[email protected]>--- arch/x86/kernel/cpu/mshyperv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/x86/kernel/cpu/mshyperv.c index
Quoted 14 lines
a450373..939155f 100644
arch/x86/kernel/cpu/mshyperv.c +1
-1@@ -107,6 +107,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, };static void __init ms_hyperv_init_platform (void ) --1.7.4.1
Quoted 2 lines
--
To unsubscribe from this list: send the line "unsubscribe
linux-kernel" in the body of a
Quoted 3 lines
message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 13 lines
-----Original Message-----
From: Jeff Leung [mailto:[email protected]]
Sent: Tuesday, December 2, 2014 3:58 PM
To: KY Srinivasan; [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: [email protected]
Subject: RE: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous
Quoted 4 lines
Does this mean that host-to guest timesync now works properly with Linux guests?
-- Jeff
Jeff,
We have had the Hyper-V clocksource for sometime now and this patch just marks this clocksource as being continuous. Nothing has changed with regards to timesynch.
Regards,
K. Y
Quoted 46 lines
Quoted 3 lines
-----Original Message-----
From: [email protected][mailto:[email protected]]
Quoted 3 lines
On Behalf Of K. Y. Srinivasan
Sent: Tuesday, December 2, 2014 17:04
To: [email protected]; [email protected];Quoted 4 lines
[email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: K. Y. Srinivasan; [email protected]
Subject: [PATCH 1/1] X86: Mark the Hyper-V clocksource as beingcontinuous
Quoted 2 lines
The clocksource based on Hyper-V per-partition reference count MSR is
continuous. Mark
Review
Quoted 9 lines
it accordingly.
Signed-off-by K. Y. Srinivasan <[email protected]>--- arch/x86/kernel/cpu/mshyperv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/x86/kernel/cpu/mshyperv.cindexQuoted 14 lines
a450373..939155f 100644
arch/x86/kernel/cpu/mshyperv.c +1
-1@@ -107,6 +107,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, };static void __init ms_hyperv_init_platform (void ) --1.7.4.1
Quoted 2 lines
--
To unsubscribe from this list: send the line "unsubscribelinux-kernel" in the body of a
Quoted 3 lines
message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line
We have had the Hyper-V clocksource for sometime now and this patch
just marks this
Quoted 1 line
clocksource as being continuous. Nothing has changed with regards to
timesynch.
Alright, that cleared up that question. Gleaning around from the source tree, I don't seem to
comprehend what changes are being made when the clock source has the flagCLOCK_SOURCE_IS_CONTINUOUS marked.
Quoted 52 lines
Regards,
K. Y
Quoted 47 lines
Quoted 3 lines
-----Original Message-----
From: [email protected][mailto:[email protected]]
Quoted 3 lines
On Behalf Of K. Y. Srinivasan
Sent: Tuesday, December 2, 2014 17:04
To: [email protected]; [email protected];Quoted 4 lines
[email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: K. Y. Srinivasan; [email protected]
Subject: [PATCH 1/1] X86: Mark the Hyper-V clocksource as beingcontinuous
Quoted 3 lines
The clocksource based on Hyper-V per-partition reference count MSR is
continuous. Mark
Review
Quoted 9 lines
it accordingly.
Signed-off-by K. Y. Srinivasan <[email protected]>--- arch/x86/kernel/cpu/mshyperv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/x86/kernel/cpu/mshyperv.cindexQuoted 14 lines
a450373..939155f 100644
arch/x86/kernel/cpu/mshyperv.c +1
-1@@ -107,6 +107,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, };static void __init ms_hyperv_init_platform (void ) --1.7.4.1
Quoted 2 lines
--
To unsubscribe from this list: send the line "unsubscribelinux-kernel" in the body of a
Quoted 3 lines
message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 12 lines
-----Original Message-----
From: K. Y. Srinivasan [mailto:[email protected]]
Sent: Tuesday, December 2, 2014 5:04 PM
To: [email protected]; [email protected]; linux- [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Cc: KY Srinivasan; [email protected]
Subject: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous
Quoted 2 lines
The clocksource based on Hyper-V per-partition reference count MSR is continuous. Mark it accordingly.
Thomas,
If there are no issues, please pickup this patch.
Regards,
K. Y
Quoted 21 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- arch/x86/kernel/cpu/mshyperv.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)(quoted diff) +0
-0
b/arch/x86/kernel/cpu/mshyperv.cindex a450373..939155f 100644arch/x86/kernel/cpu/mshyperv.c +1
-1@@ -107,6 +107,7 @@ static struct clocksource hyperv_cs = { .rating = 400, /* use this when running on Hyperv*/ .read = read_hv_clock, .mask = CLOCKSOURCE_MASK(64), + .flags = CLOCK_SOURCE_IS_CONTINUOUS, };static void __init ms_hyperv_init_platform (void ) --1.7.4.1