Skip to content

x86/cpu: TSC handling adjustments

Roger Pau Monne xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/cpu: keep cached TSC_AUX state coherent with hardwarexen/arch/x86/acpi/power.c xen/arch/x86/cpu/common.c+8 -03 replies
2/2x86/hvm: sync APs TSC with the BSP at creation onlyxen/arch/x86/hvm/domain.c xen/arch/x86/hvm/hvm.c xen/arch/x86/hvm/save.c +1 more+45 -186 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchTeddy Astie
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] x86/cpu: TSC handling adjustments

Hello,

The fist patch fixes a bug if started with TSC_AUX != 0, as then the cached value won't match the hardware one.

Second patch fixes handling of TSC_ADJUST and TSC offset for HVM domains, in an attempt to make it consistent with hardware behavior.

Thanks, Roger.

Roger Pau Monne (2):
x86/cpu: keep cached TSC_AUX state coherent with hardware x86/hvm: sync APs TSC with the BSP at creation only

 xen/arch/x86/acpi/power.c |  3 +++
 xen/arch/x86/cpu/common.c |  5 +++++
 xen/arch/x86/hvm/domain.c |  5 -----
 xen/arch/x86/hvm/hvm.c    | 19 +++++++++++--------
 xen/arch/x86/hvm/save.c   | 34 ++++++++++++++++++++++++++++++++--
 xen/arch/x86/time.c       |  5 ++---
 6 files changed, 53 insertions(+), 18 deletions(-)
Signature · 1 line
2.55.0