tree: https://github.com/intel/tdx.git kvm head: a9119ab747d6880e39258627c6b6c693b803f794 commit: a8a04dcf2a0066efa054edfe1bb4eef345ef14a2 [15/94] KVM: TDX: add trace point before/after TDX SEAMCALLs config: i386-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/intel/tdx/commit/a8a04dcf2a0066efa054edfe1bb4eef345ef14a2 git remote add intel-tdx https://github.com/intel/tdx.git git fetch --no-tags intel-tdx kvm git checkout a8a04dcf2a0066efa054edfe1bb4eef345ef14a2 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/trace/define_trace.h:102, from arch/x86/kvm/trace.h:1802, from arch/x86/kvm/x86.c:82: include/trace/../../arch/x86/kvm/trace.h: In function 'trace_raw_output_kvm_tdx_seamcall_exit': >> arch/x86/kvm/vmx/tdx_errno.h:11:35: warning: unsigned conversion from 'long long int' to 'long unsigned int' changes value from '4611686022722355200' to '0' [-Woverflow] 11 | #define TDX_NON_RECOVERABLE_VCPU 0x4000000100000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:105:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 105 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_VCPU), \ | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:105:24: note: in expansion of macro 'TDX_NON_RECOVERABLE_VCPU' 105 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_VCPU), \ | ^~~~~~~~~~~~~~~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:736:8: note: in expansion of macro 'TDX_SEAMCALL_STATUS_CODES' 736 | TDX_SEAMCALL_STATUS_CODES), | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:12:34: warning: unsigned conversion from 'long long int' to 'long unsigned int' changes value from '4611686027017322496' to '0' [-Woverflow] 12 | #define TDX_NON_RECOVERABLE_TD 0x4000000200000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:106:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 106 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_TD), \ | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:106:24: note: in expansion of macro 'TDX_NON_RECOVERABLE_TD' 106 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_TD), \ | ^~~~~~~~~~~~~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:736:8: note: in expansion of macro 'TDX_SEAMCALL_STATUS_CODES' 736 | TDX_SEAMCALL_STATUS_CODES), | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/x86/kvm/vmx/tdx_errno.h:13:36: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '9223372049739677696' to '0' [-Woverflow] 13 | #define TDX_INTERRUPTED_RESUMABLE 0x8000000300000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:107:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 107 | TDX_BUILD_STATUS_CODE(TDX_INTERRUPTED_RESUMABLE), \ | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:107:24: note: in expansion of macro 'TDX_INTERRUPTED_RESUMABLE' 107 | TDX_BUILD_STATUS_CODE(TDX_INTERRUPTED_RESUMABLE), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:736:8: note: in expansion of macro 'TDX_SEAMCALL_STATUS_CODES' 736 | TDX_SEAMCALL_STATUS_CODES), | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:14:38: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '9223372054034644992' to '0' [-Woverflow] 14 | #define TDX_INTERRUPTED_RESTARTABLE 0x8000000400000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:108:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 108 | TDX_BUILD_STATUS_CODE(TDX_INTERRUPTED_RESTARTABLE), \ | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:108:24: note: in expansion of macro 'TDX_INTERRUPTED_RESTARTABLE' 108 | TDX_BUILD_STATUS_CODE(TDX_INTERRUPTED_RESTARTABLE), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:736:8: note: in expansion of macro 'TDX_SEAMCALL_STATUS_CODES' 736 | TDX_SEAMCALL_STATUS_CODES), | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:15:39: warning: unsigned conversion from 'long long int' to 'long unsigned int' changes value from '4611686039902224384' to '0' [-Woverflow] 15 | #define TDX_NON_RECOVERABLE_TD_FATAL 0x4000000500000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:109:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 109 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_TD_FATAL), \ | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:109:24: note: in expansion of macro 'TDX_NON_RECOVERABLE_TD_FATAL' 109 | TDX_BUILD_STATUS_CODE(TDX_NON_RECOVERABLE_TD_FATAL), \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:736:8: note: in expansion of macro 'TDX_SEAMCALL_STATUS_CODES' 736 | TDX_SEAMCALL_STATUS_CODES), | ^~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:16:34: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '13835058081051967488' to '0' [-Woverflow] 16 | #define TDX_INVALID_RESUMPTION 0xC000000600000000 | ^~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:378:27: note: in definition of macro 'DECLARE_EVENT_CLASS' 378 | trace_event_printf(iter, print); \ | ^~~~~ include/trace/trace_events.h:80:9: note: in expansion of macro 'PARAMS' 80 | PARAMS(print)); \ | ^~~~~~ include/trace/../../arch/x86/kvm/trace.h:703:1: note: in expansion of macro 'TRACE_EVENT' 703 | TRACE_EVENT(kvm_tdx_seamcall_exit, | ^~~~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:732:2: note: in expansion of macro 'TP_printk' 732 | TP_printk("cpu: %d op: %s err %s 0x%llx rcx: 0x%llx rdx: 0x%llx r8: 0x%llx r9: 0x%llx r10: 0x%llx r11: 0x%llx", | ^~~~~~~~~ include/trace/../../arch/x86/kvm/trace.h:735:5: note: in expansion of macro '__print_symbolic' 735 | __print_symbolic(__entry->err & TDX_SEAMCALL_STATUS_MASK, | ^~~~~~~~~~~~~~~~ arch/x86/kvm/vmx/tdx_errno.h:110:2: note: in expansion of macro 'TDX_BUILD_STATUS_CODE' 110 | TDX_BUILD_STATUS_CODE(TDX_INVALID_RESUMPTION), \ vim +11 arch/x86/kvm/vmx/tdx_errno.h a8a04dcf2a0066 Isaku Yamahata 2021-06-30 6 ff496f058a109d Sean Christopherson 2019-11-08 7 /* ff496f058a109d Sean Christopherson 2019-11-08 8 * TDX SEAMCALL Status Codes (returned in RAX) ff496f058a109d Sean Christopherson 2019-11-08 9 */ ff496f058a109d Sean Christopherson 2019-11-08 10 #define TDX_SUCCESS 0x0000000000000000 ff496f058a109d Sean Christopherson 2019-11-08 @11 #define TDX_NON_RECOVERABLE_VCPU 0x4000000100000000 ff496f058a109d Sean Christopherson 2019-11-08 12 #define TDX_NON_RECOVERABLE_TD 0x4000000200000000 ff496f058a109d Sean Christopherson 2019-11-08 @13 #define TDX_INTERRUPTED_RESUMABLE 0x8000000300000000 ff496f058a109d Sean Christopherson 2019-11-08 14 #define TDX_INTERRUPTED_RESTARTABLE 0x8000000400000000 ff496f058a109d Sean Christopherson 2019-11-08 15 #define TDX_NON_RECOVERABLE_TD_FATAL 0x4000000500000000 ff496f058a109d Sean Christopherson 2019-11-08 16 #define TDX_INVALID_RESUMPTION 0xC000000600000000 ff496f058a109d Sean Christopherson 2019-11-08 17 #define TDX_NON_RECOVERABLE_TD_NO_APIC 0xC000000700000000 ff496f058a109d Sean Christopherson 2019-11-08 18 #define TDX_OPERAND_INVALID 0xC000010000000000 ff496f058a109d Sean Christopherson 2019-11-08 19 #define TDX_OPERAND_ADDR_RANGE_ERROR 0xC000010100000000 ff496f058a109d Sean Christopherson 2019-11-08 20 #define TDX_OPERAND_BUSY 0x8000020000000000 ff496f058a109d Sean Christopherson 2019-11-08 21 #define TDX_PREVIOUS_TLB_EPOCH_BUSY 0x8000020100000000 ff496f058a109d Sean Christopherson 2019-11-08 22 #define TDX_SYS_BUSY 0x8000020200000000 ff496f058a109d Sean Christopherson 2019-11-08 23 #define TDX_PAGE_METADATA_INCORRECT 0xC000030000000000 ff496f058a109d Sean Christopherson 2019-11-08 24 #define TDX_PAGE_ALREADY_FREE 0x0000030100000000 ff496f058a109d Sean Christopherson 2019-11-08 25 #define TDX_PAGE_NOT_OWNED_BY_TD 0xC000030200000000 ff496f058a109d Sean Christopherson 2019-11-08 26 #define TDX_PAGE_NOT_FREE 0xC000030300000000 ff496f058a109d Sean Christopherson 2019-11-08 27 #define TDX_TD_ASSOCIATED_PAGES_EXIST 0xC000040000000000 ff496f058a109d Sean Christopherson 2019-11-08 28 #define TDX_SYSINIT_NOT_PENDING 0xC000050000000000 ff496f058a109d Sean Christopherson 2019-11-08 29 #define TDX_SYSINIT_NOT_DONE 0xC000050100000000 ff496f058a109d Sean Christopherson 2019-11-08 30 #define TDX_SYSINITLP_NOT_DONE 0xC000050200000000 ff496f058a109d Sean Christopherson 2019-11-08 31 #define TDX_SYSINITLP_DONE 0xC000050300000000 ff496f058a109d Sean Christopherson 2019-11-08 32 #define TDX_SYS_NOT_READY 0xC000050500000000 ff496f058a109d Sean Christopherson 2019-11-08 33 #define TDX_SYS_SHUTDOWN 0xC000050600000000 ff496f058a109d Sean Christopherson 2019-11-08 34 #define TDX_SYSCONFIG_NOT_DONE 0xC000050700000000 ff496f058a109d Sean Christopherson 2019-11-08 35 #define TDX_TD_NOT_INITIALIZED 0xC000060000000000 ff496f058a109d Sean Christopherson 2019-11-08 36 #define TDX_TD_INITIALIZED 0xC000060100000000 ff496f058a109d Sean Christopherson 2019-11-08 37 #define TDX_TD_NOT_FINALIZED 0xC000060200000000 ff496f058a109d Sean Christopherson 2019-11-08 38 #define TDX_TD_FINALIZED 0xC000060300000000 ff496f058a109d Sean Christopherson 2019-11-08 39 #define TDX_TD_FATAL 0xC000060400000000 ff496f058a109d Sean Christopherson 2019-11-08 40 #define TDX_TD_NON_DEBUG 0xC000060500000000 ff496f058a109d Sean Christopherson 2019-11-08 41 #define TDX_TDCX_NUM_INCORRECT 0xC000061000000000 ff496f058a109d Sean Christopherson 2019-11-08 42 #define TDX_VCPU_STATE_INCORRECT 0xC000070000000000 ff496f058a109d Sean Christopherson 2019-11-08 43 #define TDX_VCPU_ASSOCIATED 0x8000070100000000 ff496f058a109d Sean Christopherson 2019-11-08 44 #define TDX_VCPU_NOT_ASSOCIATED 0x8000070200000000 ff496f058a109d Sean Christopherson 2019-11-08 45 #define TDX_TDVPX_NUM_INCORRECT 0xC000070300000000 ff496f058a109d Sean Christopherson 2019-11-08 46 #define TDX_NO_VALID_VE_INFO 0xC000070400000000 ff496f058a109d Sean Christopherson 2019-11-08 47 #define TDX_MAX_VCPUS_EXCEEDED 0xC000070500000000 ff496f058a109d Sean Christopherson 2019-11-08 48 #define TDX_TSC_ROLLBACK 0xC000070600000000 ff496f058a109d Sean Christopherson 2019-11-08 49 #define TDX_FIELD_NOT_WRITABLE 0xC000072000000000 ff496f058a109d Sean Christopherson 2019-11-08 50 #define TDX_FIELD_NOT_READABLE 0xC000072100000000 ff496f058a109d Sean Christopherson 2019-11-08 51 #define TDX_TD_VMCS_FIELD_NOT_INITIALIZED 0xC000073000000000 ff496f058a109d Sean Christopherson 2019-11-08 52 #define TDX_KEY_GENERATION_FAILED 0x8000080000000000 ff496f058a109d Sean Christopherson 2019-11-08 53 #define TDX_TD_KEYS_NOT_CONFIGURED 0x8000081000000000 ff496f058a109d Sean Christopherson 2019-11-08 54 #define TDX_KEY_STATE_INCORRECT 0xC000081100000000 ff496f058a109d Sean Christopherson 2019-11-08 55 #define TDX_KEY_CONFIGURED 0x0000081500000000 ff496f058a109d Sean Christopherson 2019-11-08 56 #define TDX_WBCACHE_NOT_COMPLETE 0x8000081700000000 ff496f058a109d Sean Christopherson 2019-11-08 57 #define TDX_HKID_NOT_FREE 0xC000082000000000 ff496f058a109d Sean Christopherson 2019-11-08 58 #define TDX_NO_HKID_READY_TO_WBCACHE 0x0000082100000000 ff496f058a109d Sean Christopherson 2019-11-08 59 #define TDX_WBCACHE_RESUME_ERROR 0xC000082300000000 ff496f058a109d Sean Christopherson 2019-11-08 60 #define TDX_FLUSHVP_NOT_DONE 0x8000082400000000 ff496f058a109d Sean Christopherson 2019-11-08 61 #define TDX_NUM_ACTIVATED_HKIDS_NOT_SUPPORTED 0xC000082500000000 ff496f058a109d Sean Christopherson 2019-11-08 62 #define TDX_INCORRECT_CPUID_VALUE 0xC000090000000000 ff496f058a109d Sean Christopherson 2019-11-08 63 #define TDX_BOOT_NT4_SET 0xC000090100000000 ff496f058a109d Sean Christopherson 2019-11-08 64 #define TDX_INCONSISTENT_CPUID_FIELD 0xC000090200000000 ff496f058a109d Sean Christopherson 2019-11-08 65 #define TDX_CPUID_LEAF_1F_FORMAT_UNRECOGNIZED 0xC000090400000000 ff496f058a109d Sean Christopherson 2019-11-08 66 #define TDX_INVALID_WBINVD_SCOPE 0xC000090500000000 ff496f058a109d Sean Christopherson 2019-11-08 67 #define TDX_INVALID_PKG_ID 0xC000090600000000 ff496f058a109d Sean Christopherson 2019-11-08 68 #define TDX_CPUID_LEAF_NOT_SUPPORTED 0xC000090800000000 ff496f058a109d Sean Christopherson 2019-11-08 69 #define TDX_SMRR_NOT_LOCKED 0xC000091000000000 ff496f058a109d Sean Christopherson 2019-11-08 70 #define TDX_INVALID_SMRR_CONFIGURATION 0xC000091100000000 ff496f058a109d Sean Christopherson 2019-11-08 71 #define TDX_SMRR_OVERLAPS_CMR 0xC000091200000000 ff496f058a109d Sean Christopherson 2019-11-08 72 #define TDX_SMRR_LOCK_NOT_SUPPORTED 0xC000091300000000 ff496f058a109d Sean Christopherson 2019-11-08 73 #define TDX_SMRR_NOT_SUPPORTED 0xC000091400000000 ff496f058a109d Sean Christopherson 2019-11-08 74 #define TDX_INCONSISTENT_MSR 0xC000092000000000 ff496f058a109d Sean Christopherson 2019-11-08 75 #define TDX_INCORRECT_MSR_VALUE 0xC000092100000000 ff496f058a109d Sean Christopherson 2019-11-08 76 #define TDX_SEAMREPORT_NOT_AVAILABLE 0xC000093000000000 ff496f058a109d Sean Christopherson 2019-11-08 77 #define TDX_PERF_COUNTERS_ARE_PEBS_ENABLED 0x8000094000000000 ff496f058a109d Sean Christopherson 2019-11-08 78 #define TDX_INVALID_TDMR 0xC0000A0000000000 ff496f058a109d Sean Christopherson 2019-11-08 79 #define TDX_NON_ORDERED_TDMR 0xC0000A0100000000 ff496f058a109d Sean Christopherson 2019-11-08 80 #define TDX_TDMR_OUTSIDE_CMRS 0xC0000A0200000000 ff496f058a109d Sean Christopherson 2019-11-08 81 #define TDX_TDMR_ALREADY_INITIALIZED 0x00000A0300000000 ff496f058a109d Sean Christopherson 2019-11-08 82 #define TDX_INVALID_PAMT 0xC0000A1000000000 ff496f058a109d Sean Christopherson 2019-11-08 83 #define TDX_PAMT_OUTSIDE_CMRS 0xC0000A1100000000 ff496f058a109d Sean Christopherson 2019-11-08 84 #define TDX_PAMT_OVERLAP 0xC0000A1200000000 ff496f058a109d Sean Christopherson 2019-11-08 85 #define TDX_INVALID_RESERVED_IN_TDMR 0xC0000A2000000000 ff496f058a109d Sean Christopherson 2019-11-08 86 #define TDX_NON_ORDERED_RESERVED_IN_TDMR 0xC0000A2100000000 ff496f058a109d Sean Christopherson 2019-11-08 87 #define TDX_CMR_LIST_INVALID 0xC0000A2200000000 ff496f058a109d Sean Christopherson 2019-11-08 88 #define TDX_EPT_WALK_FAILED 0xC0000B0000000000 ff496f058a109d Sean Christopherson 2019-11-08 89 #define TDX_EPT_ENTRY_FREE 0xC0000B0100000000 ff496f058a109d Sean Christopherson 2019-11-08 90 #define TDX_EPT_ENTRY_NOT_FREE 0xC0000B0200000000 ff496f058a109d Sean Christopherson 2019-11-08 91 #define TDX_EPT_ENTRY_NOT_PRESENT 0xC0000B0300000000 ff496f058a109d Sean Christopherson 2019-11-08 92 #define TDX_EPT_ENTRY_NOT_LEAF 0xC0000B0400000000 ff496f058a109d Sean Christopherson 2019-11-08 93 #define TDX_EPT_ENTRY_LEAF 0xC0000B0500000000 ff496f058a109d Sean Christopherson 2019-11-08 94 #define TDX_GPA_RANGE_NOT_BLOCKED 0xC0000B0600000000 ff496f058a109d Sean Christopherson 2019-11-08 95 #define TDX_GPA_RANGE_ALREADY_BLOCKED 0x00000B0700000000 ff496f058a109d Sean Christopherson 2019-11-08 96 #define TDX_TLB_TRACKING_NOT_DONE 0xC0000B0800000000 ff496f058a109d Sean Christopherson 2019-11-08 97 #define TDX_EPT_INVALID_PROMOTE_CONDITIONS 0xC0000B0900000000 ff496f058a109d Sean Christopherson 2019-11-08 98 #define TDX_PAGE_ALREADY_ACCEPTED 0x00000B0A00000000 ff496f058a109d Sean Christopherson 2019-11-08 99 #define TDX_PAGE_SIZE_MISMATCH 0xC0000B0B00000000 ff496f058a109d Sean Christopherson 2019-11-08 100 :::::: The code at line 11 was first introduced by commit :::::: ff496f058a109de894c9ee3674ed6f11add52e73 KVM: TDX: Add TDX "architectural" error codes :::::: TO: Sean Christopherson :::::: CC: Isaku Yamahata --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org