Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers UAPI: Sync KVM's vmx.h header with the kernel sources

To pick the changes in:

2f4073e08f4cc5a4 ("KVM: VMX: Enable Notify VM exit")

That makes 'perf kvm-stat' aware of this new NOTIFY exit reason, thus
addressing the following perf build warning:

Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/vmx.h' differs from latest version at 'arch/x86/include/uapi/asm/vmx.h'
diff -u tools/arch/x86/include/uapi/asm/vmx.h arch/x86/include/uapi/asm/vmx.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Tao Xu <tao3.xu@intel.com>
Link: http://lore.kernel.org/lkml/Yv6LavXMZ+njijpq@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+3 -1
+3 -1
tools/arch/x86/include/uapi/asm/vmx.h
··· 91 91 #define EXIT_REASON_UMWAIT 67 92 92 #define EXIT_REASON_TPAUSE 68 93 93 #define EXIT_REASON_BUS_LOCK 74 94 + #define EXIT_REASON_NOTIFY 75 94 95 95 96 #define VMX_EXIT_REASONS \ 96 97 { EXIT_REASON_EXCEPTION_NMI, "EXCEPTION_NMI" }, \ ··· 154 153 { EXIT_REASON_XRSTORS, "XRSTORS" }, \ 155 154 { EXIT_REASON_UMWAIT, "UMWAIT" }, \ 156 155 { EXIT_REASON_TPAUSE, "TPAUSE" }, \ 157 - { EXIT_REASON_BUS_LOCK, "BUS_LOCK" } 156 + { EXIT_REASON_BUS_LOCK, "BUS_LOCK" }, \ 157 + { EXIT_REASON_NOTIFY, "NOTIFY" } 158 158 159 159 #define VMX_EXIT_REASON_FLAGS \ 160 160 { VMX_EXIT_REASONS_FAILED_VMENTRY, "FAILED_VMENTRY" }