Skip to content

KVM/ia64 SN2 RTC backed ITC emulation

[email protected] kvm-ia64 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Map in SN2 RTC registers to the VMM module+0 -00 replies
2/4Create inline function kvm_get_itc() to centralize ITC reading.+0 -00 replies
3/4SN2 adjust emulated ITC frequency to match RTC frequency+0 -00 replies
4/4Drop in SN2 replacement of fast path ITC emulation fault handler+0 -00 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/4] KVM/ia64 SN2 RTC backed ITC emulation

This set of patches switches KVM to use the SN2 RTC clock source as backing for the ITC emulation, as the ITC isn't synchronized on SN2.

The RTC is a memory mapped register which needs to be mapped into the address space of the VMM module, and also accessed from the kernel. I could try and split the changes into seperate files, but I honestly thing it would cause more clutter than doing it this way.

With this change I can boot 64 vcpus on ia64 at stable boot times, with the ITC backed ITC emulation, the boot would regularly hang for minutes because time would suddenly go backwards.

Let me know what you think - this patch set is against Avi's tree as of earlier today.

Cheers,
Jes