Re: [Xen-devel] [PATCH 2/2] x86/time: report correct frequency of Xen PV clocksource

2020-02-04 Thread Igor Druzhinin
On 04/02/2020 17:28, Roger Pau Monné wrote: > On Tue, Feb 04, 2020 at 03:40:25PM +, Igor Druzhinin wrote: >> The value of the counter represents the number of nanoseconds >> since host boot. That means the correct frequency is always 1GHz. >> >> This inconsistency caused time to go slower in PV

Re: [Xen-devel] [PATCH 2/2] x86/time: report correct frequency of Xen PV clocksource

2020-02-04 Thread Roger Pau Monné
On Tue, Feb 04, 2020 at 03:40:25PM +, Igor Druzhinin wrote: > The value of the counter represents the number of nanoseconds > since host boot. That means the correct frequency is always 1GHz. > > This inconsistency caused time to go slower in PV shim on most > platforms. > > Signed-off-by: Ig

[Xen-devel] [PATCH 2/2] x86/time: report correct frequency of Xen PV clocksource

2020-02-04 Thread Igor Druzhinin
The value of the counter represents the number of nanoseconds since host boot. That means the correct frequency is always 1GHz. This inconsistency caused time to go slower in PV shim on most platforms. Signed-off-by: Igor Druzhinin --- xen/arch/x86/time.c | 17 + 1 file changed,