diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-15 11:22:37 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-15 11:28:18 -0400 |
commit | 7a12f514c408cc499e61211f234858d3d4b7f4ea (patch) | |
tree | 3f5f3610f81ad918c894022cdfb26c45a7653e36 /tools/arch | |
parent | ae199c580da1754a2b051321eeb76d6dacd8707b (diff) |
tools headers kvm: Sync kvm headers with the kernel sources
To pick the changes in:
bf653b78f960 ("KVM: vmx: Introduce handle_unexpected_vmexit and handle WAITPKG vmexit")
That trigger these changes in tooling:
CC /tmp/build/perf/arch/x86/util/kvm-stat.o
INSTALL GTK UI
DESCEND plugins
make[3]: Nothing to be done for '/tmp/build/perf/plugins/libtraceevent-dynamic-list'.
INSTALL trace_plugins
LD /tmp/build/perf/arch/x86/util/perf-in.o
LD /tmp/build/perf/arch/x86/perf-in.o
LD /tmp/build/perf/arch/perf-in.o
LD /tmp/build/perf/perf-in.o
LINK /tmp/build/perf/perf
And this is not just because that header is included, kvm-stat.c
uses the VMX_EXIT_REASONS define and it got changed by the above cset.
And addresses this perf build warnings:
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: David Ahern <dsahern@gmail.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>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-gr1eel0hckmi5l3p2ewdpfxh@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/arch')
-rw-r--r-- | tools/arch/x86/include/uapi/asm/vmx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/arch/x86/include/uapi/asm/vmx.h b/tools/arch/x86/include/uapi/asm/vmx.h index f01950aa7fae..3eb8411ab60e 100644 --- a/tools/arch/x86/include/uapi/asm/vmx.h +++ b/tools/arch/x86/include/uapi/asm/vmx.h | |||
@@ -86,6 +86,8 @@ | |||
86 | #define EXIT_REASON_PML_FULL 62 | 86 | #define EXIT_REASON_PML_FULL 62 |
87 | #define EXIT_REASON_XSAVES 63 | 87 | #define EXIT_REASON_XSAVES 63 |
88 | #define EXIT_REASON_XRSTORS 64 | 88 | #define EXIT_REASON_XRSTORS 64 |
89 | #define EXIT_REASON_UMWAIT 67 | ||
90 | #define EXIT_REASON_TPAUSE 68 | ||
89 | 91 | ||
90 | #define VMX_EXIT_REASONS \ | 92 | #define VMX_EXIT_REASONS \ |
91 | { EXIT_REASON_EXCEPTION_NMI, "EXCEPTION_NMI" }, \ | 93 | { EXIT_REASON_EXCEPTION_NMI, "EXCEPTION_NMI" }, \ |
@@ -144,7 +146,9 @@ | |||
144 | { EXIT_REASON_RDSEED, "RDSEED" }, \ | 146 | { EXIT_REASON_RDSEED, "RDSEED" }, \ |
145 | { EXIT_REASON_PML_FULL, "PML_FULL" }, \ | 147 | { EXIT_REASON_PML_FULL, "PML_FULL" }, \ |
146 | { EXIT_REASON_XSAVES, "XSAVES" }, \ | 148 | { EXIT_REASON_XSAVES, "XSAVES" }, \ |
147 | { EXIT_REASON_XRSTORS, "XRSTORS" } | 149 | { EXIT_REASON_XRSTORS, "XRSTORS" }, \ |
150 | { EXIT_REASON_UMWAIT, "UMWAIT" }, \ | ||
151 | { EXIT_REASON_TPAUSE, "TPAUSE" } | ||
148 | 152 | ||
149 | #define VMX_ABORT_SAVE_GUEST_MSR_FAIL 1 | 153 | #define VMX_ABORT_SAVE_GUEST_MSR_FAIL 1 |
150 | #define VMX_ABORT_LOAD_HOST_PDPTE_FAIL 2 | 154 | #define VMX_ABORT_LOAD_HOST_PDPTE_FAIL 2 |