Re: [PATCH v8 17/20] KVM: x86: Expose APX foundation feature to userspace
From: Jim Mattson
Date: Fri Nov 06 2026 - 00:05:24 EST
On Wed, Sep 30, 2026 at 5:23 PM Chang S. Bae <chang.seok.bae@xxxxxxxxx> wrote:
>
> Expose the APX feature to userspace component. Update the maximum
> supported CPUID leaf to 0x29 to include the APX leaf.
>
> On SVM, do not advertise APX, as EGPR support is not yet implemented.
>
> No APX sub-features are enumerated yet. Those will be exposed in a
> separate patch.
Per Section 3.1.4.3.1 ("Intel APX Feature and Enumeration") of the Intel
APX Architecture Specification (rev. 9.0):
Any Intel processor that enumerates support for APX_F will also
enumerate support for APX_NCI_NDD_NF.
Why split leaf 0x29 across this patch and patch 18? And if they are split,
why add the leaf 0x29 plumbing here (where "case 0x29:" just duplicates the
default case) instead of in patch 18?