[6/7] virtio-mem: Enable virtio-mem for RISC-V

Message ID 20230512145737.985671-7-bjorn@kernel.org
State New
Headers
Series riscv: Memory Hot(Un)Plug support |

Commit Message

Björn Töpel May 12, 2023, 2:57 p.m. UTC
  From: Björn Töpel <bjorn@rivosinc.com>

Now that RISC-V has memory hot add/remove support, virtio-mem can be
used on the platform.

Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
---
 drivers/virtio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
index 0a53a61231c2..358e79ece169 100644
--- a/drivers/virtio/Kconfig
+++ b/drivers/virtio/Kconfig
@@ -117,7 +117,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