mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
drivers/hv: share Hyper-V SynIC constants with userspace
Moved Hyper-V synic contants from guest Hyper-V drivers private header into x86 arch uapi Hyper-V header. Added Hyper-V synic msr's flags into x86 arch uapi Hyper-V header. Signed-off-by: Andrey Smetanin <[email protected]> Reviewed-by: Roman Kagan <[email protected]> Signed-off-by: Denis V. Lunev <[email protected]> CC: Vitaly Kuznetsov <[email protected]> CC: "K. Y. Srinivasan" <[email protected]> CC: Gleb Natapov <[email protected]> CC: Paolo Bonzini <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
This commit is contained in:
parent
f40606b147
commit
c75efa974e
3 changed files with 13 additions and 5 deletions
|
|
@ -63,9 +63,6 @@ enum hv_cpuid_function {
|
|||
/* Define version of the synthetic interrupt controller. */
|
||||
#define HV_SYNIC_VERSION (1)
|
||||
|
||||
/* Define the expected SynIC version. */
|
||||
#define HV_SYNIC_VERSION_1 (0x1)
|
||||
|
||||
/* Define synthetic interrupt controller message constants. */
|
||||
#define HV_MESSAGE_SIZE (256)
|
||||
#define HV_MESSAGE_PAYLOAD_BYTE_COUNT (240)
|
||||
|
|
@ -105,8 +102,6 @@ enum hv_message_type {
|
|||
HVMSG_X64_LEGACY_FP_ERROR = 0x80010005
|
||||
};
|
||||
|
||||
/* Define the number of synthetic interrupt sources. */
|
||||
#define HV_SYNIC_SINT_COUNT (16)
|
||||
#define HV_SYNIC_STIMER_COUNT (4)
|
||||
|
||||
/* Define invalid partition identifier. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue