Skip to content

Viridian MSRs

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/viridian: Time Reference Count MSRxen/arch/x86/hvm/viridian.c xen/include/asm-x86/perfc_defn.h+17 -81 reply
2/2x86/viridian: TSC and APIC Frequency MSRsxen/arch/x86/hvm/viridian.c xen/arch/x86/hvm/vlapic.c xen/include/asm-x86/hvm/vlapic.h +1 more+20 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Viridian MSRs

This set of two patches advertises 3 constant, read-only MSRs of timing information to a viridian capable VM.

There is an as-yet-unidentified issue when running Windows 8.1 / Server 2012r2 under Xen where it will periodically (1 in 10 attempt) appear to fall into an idle loop rather than schedule userspace processes (such as failing to run a login session).

I am still investigating the underlying cause. One possibility is an interaction of TSC time calibration interacting poorly with the Xen scheduler.

Unfortunately, attempting to divine what windows is unhappy about with its environment is rather tricky (even a BSOD would be more useful than the current symptoms), but providing these MSRs causes Windows to prefer rdtsc over the HPET main counter as a source of time, and 'fixes' the above issue.

CC Paul Durrant <[email protected]>
CC Keir Fraser <[email protected]>
CC Jan Beulich <[email protected]>

--
1.7.10.4