diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-15 11:30:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-15 11:30:08 -0400 |
commit | 7cb3a2445705e45af9b58dd241d26598a35b1fdd (patch) | |
tree | 65627574165948c843896d3ba9e62d58bedcf167 | |
parent | 7a12f514c408cc499e61211f234858d3d4b7f4ea (diff) |
tools headers kvm: Sync kvm headers with the kernel sources
To pick the changes in:
0cb8410b90e7 ("kvm: svm: Intercept RDPRU")
That trigger a rebuild in too in tooling:
CC /tmp/build/perf/arch/x86/util/kvm-stat.o
But this time around no changes in tooling results, as SVM_EXIT_RDPRU
wasn't added to SVM_EXIT_REASONS, that is used in kvm-stat.c.
And addresses this perf build warnings:
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/svm.h' differs from latest version at 'arch/x86/include/uapi/asm/svm.h'
diff -u tools/arch/x86/include/uapi/asm/svm.h arch/x86/include/uapi/asm/svm.h
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jim Mattson <jmattson@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lkml.kernel.org/n/tip-pqzkt1hmfpqph3ts8i6zzmim@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/arch/x86/include/uapi/asm/svm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/arch/x86/include/uapi/asm/svm.h b/tools/arch/x86/include/uapi/asm/svm.h index a9731f8a480f..2e8a30f06c74 100644 --- a/tools/arch/x86/include/uapi/asm/svm.h +++ b/tools/arch/x86/include/uapi/asm/svm.h | |||
@@ -75,6 +75,7 @@ | |||
75 | #define SVM_EXIT_MWAIT 0x08b | 75 | #define SVM_EXIT_MWAIT 0x08b |
76 | #define SVM_EXIT_MWAIT_COND 0x08c | 76 | #define SVM_EXIT_MWAIT_COND 0x08c |
77 | #define SVM_EXIT_XSETBV 0x08d | 77 | #define SVM_EXIT_XSETBV 0x08d |
78 | #define SVM_EXIT_RDPRU 0x08e | ||
78 | #define SVM_EXIT_NPF 0x400 | 79 | #define SVM_EXIT_NPF 0x400 |
79 | #define SVM_EXIT_AVIC_INCOMPLETE_IPI 0x401 | 80 | #define SVM_EXIT_AVIC_INCOMPLETE_IPI 0x401 |
80 | #define SVM_EXIT_AVIC_UNACCELERATED_ACCESS 0x402 | 81 | #define SVM_EXIT_AVIC_UNACCELERATED_ACCESS 0x402 |