News: 0001567294

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux 6.17 KVM Additions Include Intel LKGS From FRED, Smarter AMD SEV Cache Flushing

([Virtualization] 4 Hours Ago Kernel-Based Virtual Machine)


The KVM feature changes were merged a few days ago with all of their enhancements for the in-development [1]Linux 6.17 kernel. Some nice improvements made it this cycle for enhancing the open-source Linux virtualization stack.

KVM on the x86 (x86_64) side of the Kernel-based Virtual Machine includes sharing device posted IRQ code between AMD SVM and Intel VMX code to harden it against bugs and run-time issues. There are also improvements around the MMIO stale data mitigation, advertising support for [2]Load Kernel GS base "LKGS" as part of FRED , and various other common KVM x86/x86_64 enhancements.

KVM specific to AMD processor support includes disabling IPI virtualization on CPUs specific to a particular erratum to allow safely enabling AVIC on Zen 1 / Zen 2 processors, fixing various bugs, dropping an unneeded WBINVD on all CPU cores when destroying a VM, and when reclaiming memory from an SEV guest to only do cache flushes on CPUs that have been used by that particular guest to avoid unnecessarily flushing caches for CPUs that haven't even dealt with a particular VM. That last change is a nice enhancement for [3]smarter cache flushing when using AMD SEV-enabled KVM virtual machines .

KVM on ARM meanwhile adds a host driver for GICv55 as the next-gen interrupt controller for ARM64. KVM on RISC-V also saw some changes, including improvements around the MMU code in working toward nested virtualization support.

More details on all of the merged KVM improvements for Linux 6.17 via [4]this pull request .



[1] https://www.phoronix.com/search/Linux+6.17

[2] https://www.phoronix.com/search/LKGS

[3] https://www.phoronix.com/news/Linux-6.17-AMD-SEV-Opt-Flush

[4] https://lore.kernel.org/lkml/20250730181703.113459-1-pbonzini@redhat.com/



phoronix

You are transported to a room where you are faced by a wizard who
points to you and says, "Them's fighting words!" You immediately get
attacked by all sorts of denizens of the museum: there is a cobra
chewing on your leg, a troglodyte is bashing your brains out with a
gold nugget, a crocodile is removing large chunks of flesh from you, a
rhinoceros is goring you with his horn, a sabre-tooth cat is busy
trying to disembowel you, you are being trampled by a large mammoth, a
vampire is sucking you dry, a Tyrannosaurus Rex is sinking his six inch
long fangs into various parts of your anatomy, a large bear is
dismembering your body, a gargoyle is bouncing up and down on your
head, a burly troll is tearing you limb from limb, several dire wolves
are making mince meat out of your torso, and the wizard is about to
transport you to the corner of Westwood and Broxton. Oh dear, you seem
to have gotten yourself killed, as well.

You scored 0 out of 250 possible points.
That gives you a ranking of junior beginning adventurer.
To achieve the next higher rating, you need to score 32 more points.