Since Linux 6.16 the Intel APX support has been ready for the kernel infrastructure and goes along with the compiler toolchain support for Advanced Performance Extensions with the likes of GCC and LLVM/Clang. The latest element being worked on for APX enablement in the open-source/Linux world is for allowing KVM guest virtual machines (VMs) to APX.
Intel engineers on Sunday sent out their first post-RFC (request for comments) patches for enabling APX support for KVM guests, which is important for VMs and for future Intel Xeon Diamond Rapids cloud instances.
Similar to Intel AMX and the like needing special handling for guest VMs, so does the Advanced Performance Extensions. There is a refactoring of the general purpose register (GPR) accessor code, VMX support for the extended register index with APX, emulation support for REX2, and other changes needed for properly enabling APX use within KVM guest VMs.
As a reminder, Advanced Performance Extensions are debuting with Intel Nova Lake and Diamond Rapids processors.
This patch series is what’s working on enabling APX for KVM guests. We’ll see if this work gets buttoned up in time for the Linux v6.20~7.0 kernel, which will have added importance as being the default kernel version of Ubuntu 26.04 LTS that is sure to see lots of virtualized/cloud use.
