]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tools headers UAPI: Sync KVM's vmx.h with the kernel to pick SEAMCALL exit reason
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Nov 2025 18:03:07 +0000 (15:03 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 Nov 2025 20:16:34 +0000 (17:16 -0300)
To pick the changes in:

  9d7dfb95da2cb5c1 ("KVM: VMX: Inject #UD if guest tries to execute SEAMCALL or TDCALL")

The 'perf kvm-stat' tool uses the exit reasons that are included in the
VMX_EXIT_REASONS define, this new SEAMCALL isn't included there (TDCALL
is), so shouldn't be causing any change in behaviour, this patch ends up
being just addressess the following perf build warning:

  Warning: Kernel ABI header differences:
    diff -u tools/arch/x86/include/uapi/asm/vmx.h arch/x86/include/uapi/asm/vmx.h

Please see tools/include/uapi/README for further details.

Cc: Sean Christopherson <seanjc@google.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/x86/include/uapi/asm/vmx.h

index 9792e329343e8715b3c6a722663f5c1d162e870d..1baa86dfe029329a3f576eaa098c2aaf3e7bcc98 100644 (file)
@@ -93,6 +93,7 @@
 #define EXIT_REASON_TPAUSE              68
 #define EXIT_REASON_BUS_LOCK            74
 #define EXIT_REASON_NOTIFY              75
+#define EXIT_REASON_SEAMCALL            76
 #define EXIT_REASON_TDCALL              77
 #define EXIT_REASON_MSR_READ_IMM        84
 #define EXIT_REASON_MSR_WRITE_IMM       85