diff options
Diffstat (limited to 'arch/x86/include/asm/hyperv-tlfs.h')
| -rw-r--r-- | arch/x86/include/asm/hyperv-tlfs.h | 21 | 
1 files changed, 14 insertions, 7 deletions
diff --git a/arch/x86/include/asm/hyperv-tlfs.h b/arch/x86/include/asm/hyperv-tlfs.h index e977b6b3a538..4139f7650fe5 100644 --- a/arch/x86/include/asm/hyperv-tlfs.h +++ b/arch/x86/include/asm/hyperv-tlfs.h @@ -38,6 +38,8 @@  #define HV_MSR_TIME_REF_COUNT_AVAILABLE		(1 << 1)  /* Partition reference TSC MSR is available */  #define HV_MSR_REFERENCE_TSC_AVAILABLE		(1 << 9) +/* Partition Guest IDLE MSR is available */ +#define HV_X64_MSR_GUEST_IDLE_AVAILABLE		(1 << 10)  /* A partition's reference time stamp counter (TSC) page */  #define HV_X64_MSR_REFERENCE_TSC		0x40000021 @@ -246,6 +248,9 @@  #define HV_X64_MSR_STIMER3_CONFIG		0x400000B6  #define HV_X64_MSR_STIMER3_COUNT		0x400000B7 +/* Hyper-V guest idle MSR */ +#define HV_X64_MSR_GUEST_IDLE			0x400000F0 +  /* Hyper-V guest crash notification MSR's */  #define HV_X64_MSR_CRASH_P0			0x40000100  #define HV_X64_MSR_CRASH_P1			0x40000101 @@ -726,19 +731,21 @@ struct hv_enlightened_vmcs {  #define HV_STIMER_AUTOENABLE		(1ULL << 3)  #define HV_STIMER_SINT(config)		(__u8)(((config) >> 16) & 0x0F) -struct ipi_arg_non_ex { -	u32 vector; -	u32 reserved; -	u64 cpu_mask; -}; -  struct hv_vpset {  	u64 format;  	u64 valid_bank_mask;  	u64 bank_contents[];  }; -struct ipi_arg_ex { +/* HvCallSendSyntheticClusterIpi hypercall */ +struct hv_send_ipi { +	u32 vector; +	u32 reserved; +	u64 cpu_mask; +}; + +/* HvCallSendSyntheticClusterIpiEx hypercall */ +struct hv_send_ipi_ex {  	u32 vector;  	u32 reserved;  	struct hv_vpset vp_set;  | 
