summaryrefslogtreecommitdiffstats
path: root/drivers/hv/Kconfig
diff options
context:
space:
mode:
authorSaurabh Sengar <ssengar@linux.microsoft.com>2023-03-20 00:47:40 -0700
committerWei Liu <wei.liu@kernel.org>2023-04-17 19:16:22 +0000
commitf83705a51275ed29117d46e1d68e8b16dcb40507 (patch)
tree6320044ce19da209f34d735d0e9a757eb12d8544 /drivers/hv/Kconfig
parent61f7a325927e6f15de09aef96eea54801b227864 (diff)
downloadlinux-stable-f83705a51275ed29117d46e1d68e8b16dcb40507.tar.gz
linux-stable-f83705a51275ed29117d46e1d68e8b16dcb40507.tar.bz2
linux-stable-f83705a51275ed29117d46e1d68e8b16dcb40507.zip
Driver: VMBus: Add Devicetree support
Update the driver to support Devicetree boot as well along with ACPI. At present the Devicetree parsing only provides the mmio region info and is not the exact copy of ACPI parsing. This is sufficient to cater all the current Devicetree usecases for VMBus. Currently Devicetree is supported only for x86 systems. Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Link: https://lore.kernel.org/r/1679298460-11855-6-git-send-email-ssengar@linux.microsoft.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/hv/Kconfig')
-rw-r--r--drivers/hv/Kconfig5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index 0747a8f1fcee..47132b30b7ee 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -4,11 +4,12 @@ menu "Microsoft Hyper-V guest support"
config HYPERV
tristate "Microsoft Hyper-V client drivers"
- depends on ACPI && ((X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
- || (ARM64 && !CPU_BIG_ENDIAN))
+ depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
+ || (ACPI && ARM64 && !CPU_BIG_ENDIAN)
select PARAVIRT
select X86_HV_CALLBACK_VECTOR if X86
select VMAP_PFN
+ select OF_EARLY_FLATTREE if OF
help
Select this option to run Linux as a Hyper-V client operating
system.