From: Paolo Bonzini Date: Mon, 28 Jul 2025 15:41:06 +0000 (-0400) Subject: Merge tag 'kvm-x86-sev-6.17' of https://github.com/kvm-x86/linux into HEAD X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=beafd7ecf2255e8b62a42dc04f54843033db3d24;p=thirdparty%2Fkernel%2Flinux.git Merge tag 'kvm-x86-sev-6.17' of https://github.com/kvm-x86/linux into HEAD KVM SEV cache maintenance changes for 6.17 - Drop a superfluous WBINVD (on all CPUs!) when destroying a VM. - Use WBNOINVD instead of WBINVD when possible, for SEV cache maintenance, e.g. to minimize collateral damage when reclaiming memory from an SEV guest. - When reclaiming memory from an SEV guest, only do cache flushes on CPUs that have ever run a vCPU for the guest, i.e. don't flush the caches for CPUs that can't possibly have cache lines with dirty, encrypted data. --- beafd7ecf2255e8b62a42dc04f54843033db3d24