]> git.proxmox.com Git - pve-kernel.git/commit
backport patch to fix TSC scaling for SVM
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 2 Sep 2022 12:44:09 +0000 (14:44 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Oct 2022 15:24:25 +0000 (17:24 +0200)
commit198fde3a160b31b0661eef19ab96291b176f2c4e
tree1b34043a9fb5269bc415841c4ebc8e20e5a2e773
parent401e4a8b303ed9c9bced247b094cec2961183374
backport patch to fix TSC scaling for SVM

The following issue reported on the community forum [0] is likely
fixed by this.

In my case, loading a VM snapshot that originally was taken on an
Intel CPU on my AMD-based host often caused problems in other VMs. In
particular, it often led to CPU stalls, and sometimes clock jumps far
into the future. With this backport applied, everything seems to run
smoothly even after loading the "bad" snapshot 10 times.

The backport from upstream commit 11d39e8cc43e ("KVM: SVM: fix tsc
scaling cache logic consisted of dropping the parts for nested TSC
scaling, which is not yet present in our kernel, renaming the constant
for the default ratio, and some context changes.

[0] https://forum.proxmox.com/threads/112756/

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
patches/kernel/0032-KVM-SVM-fix-tsc-scaling-cache-logic.patch [new file with mode: 0644]