]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
virtio-mem: Enable virtio-mem for RISC-V
authorBjörn Töpel <bjorn@rivosinc.com>
Wed, 5 Jun 2024 11:40:52 +0000 (13:40 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Jun 2024 15:42:45 +0000 (08:42 -0700)
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>
drivers/virtio/Kconfig

index 6284538a8184c8e762c46f7fecbf6ff43fbadccd..42a48ac763ee058647c9cf21aba81b117c65e339 100644 (file)
@@ -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