Commit 6f4abbaa authored by Gavin Shan's avatar Gavin Shan Committed by Michael S. Tsirkin

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: default avatarGavin Shan <gshan@redhat.com>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20220119010551.181405-1-gshan@redhat.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarGavin Shan <gshan@redhat.com>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Acked-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent f443e374
...@@ -105,7 +105,7 @@ config VIRTIO_BALLOON ...@@ -105,7 +105,7 @@ config VIRTIO_BALLOON
config VIRTIO_MEM config VIRTIO_MEM
tristate "Virtio mem driver" tristate "Virtio mem driver"
depends on X86_64 depends on X86_64 || ARM64
depends on VIRTIO depends on VIRTIO
depends on MEMORY_HOTPLUG depends on MEMORY_HOTPLUG
depends on MEMORY_HOTREMOVE depends on MEMORY_HOTREMOVE
...@@ -115,8 +115,9 @@ config VIRTIO_MEM ...@@ -115,8 +115,9 @@ config VIRTIO_MEM
This driver provides access to virtio-mem paravirtualized memory This driver provides access to virtio-mem paravirtualized memory
devices, allowing to hotplug and hotunplug memory. devices, allowing to hotplug and hotunplug memory.
This driver was only tested under x86-64, but should theoretically This driver was only tested under x86-64 and arm64, but should
work on all architectures that support memory hotplug and hotremove. theoretically work on all architectures that support memory hotplug
and hotremove.
If unsure, say M. If unsure, say M.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment