[pve-devel] applied: [RFC v2 kernel] backport patch to fix TSC scaling for SVM

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Oct 21 17:24:55 CEST 2022


Am 02/09/2022 um 14:44 schrieb Fiona Ebner:
> 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 at proxmox.com>
> ---
> 
> Changes from v1:
>     * Alternative approach backporting the fix of the bad commit.
> 
>  ...-KVM-SVM-fix-tsc-scaling-cache-logic.patch | 113 ++++++++++++++++++
>  1 file changed, 113 insertions(+)
>  create mode 100644 patches/kernel/0032-KVM-SVM-fix-tsc-scaling-cache-logic.patch
> 
>

applied, thanks!





More information about the pve-devel mailing list