Drivers: hv: Move AEOI determination to architecture dependent code
authorMichael Kelley <mikelley@microsoft.com>
Mon, 20 Apr 2020 16:49:26 +0000 (09:49 -0700)
committerWei Liu <wei.liu@kernel.org>
Tue, 21 Apr 2020 09:02:38 +0000 (10:02 +0100)
commit2ddddd0b4e89e1fc30ed257653239005d2f31f5b
tree266125b4c992f9b48e6ce3692ebf4fea088ef230
parent1a06d017fb3f388734ffbe5dedee6f8c3af5f2db
Drivers: hv: Move AEOI determination to architecture dependent code

Hyper-V on ARM64 doesn't provide a flag for the AEOI recommendation
in ms_hyperv.hints, so having the test in architecture independent
code doesn't work. Resolve this by moving the check of the flag
to an architecture dependent helper function. No functionality is
changed.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/20200420164926.24471-1-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
arch/x86/include/asm/mshyperv.h
drivers/hv/hv.c