Skip to content
  • Arnaldo Carvalho de Melo's avatar
    tools: Sync x86's vmx.h with the kernel · 675f52b2
    Arnaldo Carvalho de Melo authored
    To pick the changes from:
    
      1b07304c ("KVM: nVMX: support descriptor table exits")
    
    That adds entries to VMX_EXIT_REASONS, that is used by
    tools/perf/arch/x86/util/kvm-stat.c.
    
    This also picks the changes in:
    
      1dc35dac ("KVM: nVMX: check host CR3 on vmentry and vmexit")
    
    But these are not used in 'perf kvm stat', do it just to silence the
    kernel/tools file cache coherency detector:
    
      $ make -C tools/perf
      make: Entering directory '/home/acme/git/linux/tools/perf'
        BUILD:   Doing 'make -j4' parallel build
      Warning: arch/x86/include/uapi/asm/vmx.h differs from kernel
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Ladi Prosek <lprosek@redhat.com>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Wang Nan <wangnan0@huawei.com>
    Link: http://lkml.kernel.org/n/tip-56uowkk8t5zje49a42asffcy@git.kernel.org
    
    
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    675f52b2