Skip to content

Commit da845e4

Browse files
committed
tools headers x86 svm: Sync svm headers with the kernel sources
To pick the changes in: 827547b ("KVM: SVM: Add architectural definitions/assets for Bus Lock Threshold") That triggers: CC /tmp/build/perf-tools/arch/x86/util/kvm-stat.o LD /tmp/build/perf-tools/arch/x86/util/perf-util-in.o LD /tmp/build/perf-tools/arch/x86/perf-util-in.o LD /tmp/build/perf-tools/arch/perf-util-in.o LD /tmp/build/perf-tools/perf-util-in.o AR /tmp/build/perf-tools/libperf-util.a LINK /tmp/build/perf-tools/perf The SVM_EXIT_BUS_LOCK exit reason was added to SVM_EXIT_REASONS, used in kvm-stat.c. This addresses this perf build warning: Warning: Kernel ABI header differences: diff -u tools/arch/x86/include/uapi/asm/svm.h arch/x86/include/uapi/asm/svm.h Cc: Adrian Hunter <[email protected]> Cc: Ian Rogers <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Nikunj A Dadhania <[email protected]> Cc: Sean Christopherson <[email protected]> Link: https://lore.kernel.org/r/aErcjuTTCVEZ-8Nb@x1 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c30c187 commit da845e4

File tree

1 file changed

+2
-0
lines changed
  • tools/arch/x86/include/uapi/asm

1 file changed

+2
-0
lines changed

tools/arch/x86/include/uapi/asm/svm.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
#define SVM_EXIT_CR14_WRITE_TRAP 0x09e
9696
#define SVM_EXIT_CR15_WRITE_TRAP 0x09f
9797
#define SVM_EXIT_INVPCID 0x0a2
98+
#define SVM_EXIT_BUS_LOCK 0x0a5
9899
#define SVM_EXIT_IDLE_HLT 0x0a6
99100
#define SVM_EXIT_NPF 0x400
100101
#define SVM_EXIT_AVIC_INCOMPLETE_IPI 0x401
@@ -225,6 +226,7 @@
225226
{ SVM_EXIT_CR4_WRITE_TRAP, "write_cr4_trap" }, \
226227
{ SVM_EXIT_CR8_WRITE_TRAP, "write_cr8_trap" }, \
227228
{ SVM_EXIT_INVPCID, "invpcid" }, \
229+
{ SVM_EXIT_BUS_LOCK, "buslock" }, \
228230
{ SVM_EXIT_IDLE_HLT, "idle-halt" }, \
229231
{ SVM_EXIT_NPF, "npf" }, \
230232
{ SVM_EXIT_AVIC_INCOMPLETE_IPI, "avic_incomplete_ipi" }, \

0 commit comments

Comments
 (0)