From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org, Jan Beulich <jbeulich@suse.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Teddy Astie <teddy.astie@vates.tech>,
Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>,
Alistair Francis <alistair.francis@wdc.com>,
Connor Davis <connojdavis@gmail.com>,
Oleksii Kurochko <oleksii.kurochko@gmail.com>
Subject: Re: [PATCH 0/2] time: fix time accounting for x86 HVM guests
Date: Wed, 15 Apr 2026 10:44:28 +0200 [thread overview]
Message-ID: <ad9P7K1BY442UD0Z@mail-itl> (raw)
In-Reply-To: <20260414103327.7420-1-roger.pau@citrix.com>
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
On Tue, Apr 14, 2026 at 12:33:25PM +0200, Roger Pau Monne wrote:
> Hello,
>
> When not emulating the TSC the guest time value calculated by using the
> vCPU time info page in HVM mode would drift between time synchronization
> intervals. First patch fixes the drift, second patch makes the
> calculation of cpu_khz round up the value for better accuracy.
I confirm with with those patches, and without the other fix ("x86/time:
do not kill calibration timer on suspend") the post-S3 issue is also
gone!
Tested-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-04-15 8:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-14 10:33 [PATCH 0/2] time: fix time accounting for x86 HVM guests Roger Pau Monne
2026-04-14 10:33 ` [PATCH 1/2] x86/time: use native TSC scaling factors when TSC is not scaled Roger Pau Monne
2026-04-16 11:28 ` Jan Beulich
2026-04-16 12:51 ` Roger Pau Monné
2026-04-16 12:57 ` Jan Beulich
2026-04-16 13:13 ` Roger Pau Monné
2026-04-16 13:21 ` Jan Beulich
2026-04-14 10:33 ` [PATCH 2/2] xen/cpu: round up cpu_khz calculations Roger Pau Monne
2026-04-14 11:36 ` Tu Dinh
2026-04-14 11:56 ` Roger Pau Monné
2026-04-16 7:55 ` Jan Beulich
2026-04-14 20:08 ` [PATCH 0/2] time: fix time accounting for x86 HVM guests Stefano Stabellini
2026-04-15 8:44 ` Marek Marczykowski-Górecki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ad9P7K1BY442UD0Z@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=alistair.francis@wdc.com \
--cc=andrew.cooper3@citrix.com \
--cc=bertrand.marquis@arm.com \
--cc=connojdavis@gmail.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=oleksii.kurochko@gmail.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=teddy.astie@vates.tech \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.