• Arnaldo Carvalho de Melo's avatar
    tools headers UAPI: Synch KVM's svm.h header with the kernel · b71df82d
    Arnaldo Carvalho de Melo authored
    To pick up the changes from:
    
      d1949b93 ("KVM: SVM: Add support for CR8 write traps for an SEV-ES guest")
      5b51cb13 ("KVM: SVM: Add support for CR4 write traps for an SEV-ES guest")
      f27ad38a ("KVM: SVM: Add support for CR0 write traps for an SEV-ES guest")
      2985afbc ("KVM: SVM: Add support for EFER write traps for an SEV-ES guest")
      291bd20d ("KVM: SVM: Add initial support for a VMGEXIT VMEXIT")
    
    Picking these new SVM exit reasons:
    
      +	{ SVM_EXIT_EFER_WRITE_TRAP,	"write_efer_trap" }, \
      +	{ SVM_EXIT_CR0_WRITE_TRAP,	"write_cr0_trap" }, \
      +	{ SVM_EXIT_CR4_WRITE_TRAP,	"write_cr4_trap" }, \
      +	{ SVM_EXIT_CR8_WRITE_TRAP,	"write_cr8_trap" }, \
      +	{ SVM_EXIT_VMGEXIT,		"vmgexit" }, \
      +	{ SVM_VMGEXIT_MMIO_READ,	"vmgexit_mmio_read" }, \
      +	{ SVM_VMGEXIT_MMIO_WRITE,	"vmgexit_mmio_write" }, \
      +	{ SVM_VMGEXIT_NMI_COMPLETE,	"vmgexit_nmi_complete" }, \
      +	{ SVM_VMGEXIT_AP_HLT_LOOP,	"vmgexit_ap_hlt_loop" }, \
      +	{ SVM_VMGEXIT_AP_JUMP_TABLE,	"vmgexit_ap_jump_table" }, \
    
    And address this perf build warning:
    
      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: Ian Rogers <irogers@google.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Tom Lendacky <thomas.lendacky@amd.com>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    b71df82d
svm.h 8.62 KB