aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2022-01-19 09:05:51 +0800
committerMichael S. Tsirkin <[email protected]>2022-03-28 16:52:57 -0400
commit6f4abbaa1bd3c87f3190a6c5c07ee5e55d7ea322 (patch)
treebf13a84acea332bcd527ec047322de2fa755b7af
parentf443e374ae131c168a065ea1748feac6b2e76613 (diff)
drivers/virtio: Enable virtio mem for ARM64
This enables virtio-mem device support by allowing to enable the corresponding kernel config option (CONFIG_VIRTIO_MEM) on the architecture. Signed-off-by: Gavin Shan <[email protected]> Acked-by: David Hildenbrand <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Gavin Shan <[email protected]> Acked-by: David Hildenbrand <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Acked-by: Michael S. Tsirkin <[email protected]>
-rw-r--r--drivers/virtio/Kconfig7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 492fc26f0b65..b5adf6abd241 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -105,7 +105,7 @@ config VIRTIO_BALLOON
config VIRTIO_MEM
tristate "Virtio mem driver"
- depends on X86_64
+ depends on X86_64 || ARM64
depends on VIRTIO
depends on MEMORY_HOTPLUG
depends on MEMORY_HOTREMOVE
@@ -115,8 +115,9 @@ config VIRTIO_MEM
This driver provides access to virtio-mem paravirtualized memory
devices, allowing to hotplug and hotunplug memory.
- This driver was only tested under x86-64, but should theoretically
- work on all architectures that support memory hotplug and hotremove.
+ This driver was only tested under x86-64 and arm64, but should
+ theoretically work on all architectures that support memory hotplug
+ and hotremove.
If unsure, say M.