diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-03-03 00:38:17 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-03-08 20:32:59 +0300 |
commit | 946f4b8680b8ad177f6489e023a1d95e82d502e2 (patch) | |
tree | a6666cd372480c9c0eec0e37ecb0d7e48a883bdc /arch/x86/include/asm/mshyperv.h | |
parent | b548a7742791e7818bc2780b2354b9714fd8f8d9 (diff) | |
download | linux-946f4b8680b8ad177f6489e023a1d95e82d502e2.tar.xz |
Drivers: hv: vmbus: Handle auto EOI quirk inline
On x86/x64, Hyper-V provides a flag to indicate auto EOI functionality,
but it doesn't on ARM64. Handle this quirk inline instead of calling
into code under arch/x86 (and coming, under arch/arm64).
No functional change.
Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/1614721102-2241-6-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r-- | arch/x86/include/asm/mshyperv.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h index 2590ce584f21..a6c608df0217 100644 --- a/arch/x86/include/asm/mshyperv.h +++ b/arch/x86/include/asm/mshyperv.h @@ -27,9 +27,6 @@ static inline u64 hv_get_register(unsigned int reg) return value; } -#define hv_recommend_using_aeoi() \ - (!(ms_hyperv.hints & HV_DEPRECATING_AEOI_RECOMMENDED)) - #define hv_set_clocksource_vdso(val) \ ((val).vdso_clock_mode = VDSO_CLOCKMODE_HVCLOCK) #define hv_enable_vdso_clocksource() \ |