summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@rivosinc.com>2024-06-05 13:40:52 +0200
committerPalmer Dabbelt <palmer@rivosinc.com>2024-06-26 08:42:45 -0700
commit0546d7043e55becec78fa262f2e84c76a96f6e52 (patch)
tree5c4c252225679174e96908b53f591d6bd516ca72 /drivers/virtio
parentf8c2a240556eb4fcfcd3ee8e5ececce5be1ae734 (diff)
downloadlinux-stable-0546d7043e55becec78fa262f2e84c76a96f6e52.tar.gz
linux-stable-0546d7043e55becec78fa262f2e84c76a96f6e52.tar.bz2
linux-stable-0546d7043e55becec78fa262f2e84c76a96f6e52.zip
virtio-mem: Enable virtio-mem for RISC-V
Now that RISC-V has memory hotplugging support, virtio-mem can be used on the platform. Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Björn Töpel <bjorn@rivosinc.com> Link: https://lore.kernel.org/r/20240605114100.315918-10-bjorn@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 6284538a8184..42a48ac763ee 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -122,7 +122,7 @@ config VIRTIO_BALLOON
config VIRTIO_MEM
tristate "Virtio mem driver"
- depends on X86_64 || ARM64
+ depends on X86_64 || ARM64 || RISCV
depends on VIRTIO
depends on MEMORY_HOTPLUG
depends on MEMORY_HOTREMOVE