diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2017-03-14 18:01:39 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 15:10:49 +0900 |
commit | 6c248aad81c8903981db9f12fd74189fa01b3789 (patch) | |
tree | be0719944f1822567d507d12f12c76aa4e1e4301 /arch | |
parent | 4539673a6ac027e3ba95901379b5f36c5eb3c9dc (diff) | |
download | linux-stable-6c248aad81c8903981db9f12fd74189fa01b3789.tar.gz linux-stable-6c248aad81c8903981db9f12fd74189fa01b3789.tar.bz2 linux-stable-6c248aad81c8903981db9f12fd74189fa01b3789.zip |
Drivers: hv: Base autoeoi enablement based on hypervisor hints
Don't enable auto-eoi if the hypervisor recommends otherwise. This will
enable vAPIC functionality if available.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/uapi/asm/hyperv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/uapi/asm/hyperv.h b/arch/x86/include/uapi/asm/hyperv.h index 32ea7a3ad5b4..432df4b1baec 100644 --- a/arch/x86/include/uapi/asm/hyperv.h +++ b/arch/x86/include/uapi/asm/hyperv.h @@ -148,6 +148,11 @@ #define HV_X64_RELAXED_TIMING_RECOMMENDED (1 << 5) /* + * Virtual APIC support + */ +#define HV_X64_DEPRECATING_AEOI_RECOMMENDED (1 << 9) + +/* * Crash notification flag. */ #define HV_CRASH_CTL_CRASH_NOTIFY (1ULL << 63) |