Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10456695rwr; Fri, 12 May 2023 08:21:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72oAsD5tWBVv7LfJJzgP+WH+Y+OAYgLMgfrtzm02jAVgaampnPr+k7LLC0H7kwOdHuoOUf X-Received: by 2002:a17:903:11d1:b0:1a9:8ba4:d0e3 with SMTP id q17-20020a17090311d100b001a98ba4d0e3mr29327324plh.59.1683904911589; Fri, 12 May 2023 08:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683904911; cv=none; d=google.com; s=arc-20160816; b=aS9dioO7wg2QqkoCO6OPyVV/K5NXU+YpAaFCWXweKF/aPmHciZZTEU3+GGNapJusv5 aALaVotPGMsr4Pxj37zqKSqNBSbN6PBZErE1v37ZDjl1nx0CVBFtx1sTVA+h/F2a5LQ7 79wWzrNunBPP7sLDAQpZzy26mEJiCe2n1KMm1wSbimQa65J/MhlFaeioTgywcJGz/cMy 3h1/ja2dA/RqmGO+N5p7QMhAp71QaSd3vFa2BZbwkxTXcPSh3LTl+hK2DUiqtGschSQy S1xUuMi8vQT6JGGYBzDzGwwYXb8U8IbJ5d/S41ZJrvDL6rgTn08uK6sEX4mwrGsCK0Ig DhAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QELtVjSMwEIWESkCCY1X5XuG9zF4GxpJdhvIwi0XLec=; b=x3ylcy+PIZ/0+feNLkHeTYsippY67CX3P/ysTC5XZozwZDqfFjJeZZgn/TV9sU80Ph j5Ew84RwYssctrPEyIJxvT/orIfx/cWtw6T/uKBY6FoKk302vW6HIq4+lAaWw+FYSX01 6cAu/4e+7DK8yPrM1orRTtXCHI32wA8qiq4kph/tj5qRGziCQAWGlm2twWMHQ/zh+AZw aRLwmRs9QckC8PKEhnuDZL0jNA5/ob+7qhe1dtricY+rImbgdHQ9WV8mcvtJRqJglLoO DzV1egqrh5u0L/h+uyTT3yN6djBVXul8O9HJgt8Y1ilxgZRS5QzUk1jbgzTlJ4yU53Jc yrCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NcLbHLWx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a170902e88a00b0019cec50618csi9997999plg.159.2023.05.12.08.21.38; Fri, 12 May 2023 08:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NcLbHLWx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241644AbjELO6q (ORCPT + 99 others); Fri, 12 May 2023 10:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241641AbjELO6a (ORCPT ); Fri, 12 May 2023 10:58:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A518DC58 for ; Fri, 12 May 2023 07:58:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A6A86576E for ; Fri, 12 May 2023 14:58:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF583C4339B; Fri, 12 May 2023 14:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683903495; bh=OlUUIHh8F/ikEn4ruOXdEkA3wElniYzLmKIr7MhQ0Hw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NcLbHLWxqI2bumvNceUzMAPv+C0Y746k1Jp/7tXA1GgJqday/8MB/23BL0VcKD2EF l7sOoE8BAouxMF63X6G55suALJoO0H7hzI5XVSs9OXLwTPoBkriEnruif/KXQ3aW+/ SFMo23v3zgADZZc+8aPweKC+kX6VdWxTcQh0IOUvIyRD43+WepPIyPmdzGCt6wUJWx R49ozGhEMEXMJZEifDbl4mVjzatCqLEVcObGNbLsH/wJ2aox1/STvfILMriazGRm51 mnOGBU56o6Scmd5rVB7pPYs1z+zlGd1OdAwUcUAL4VkEWtJlONEsexD186+SZnZ1pr dXjChETIBrCjA== From: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: =?UTF-8?q?Bj=C3=B6rn=20T=C3=B6pel?= , linux-kernel@vger.kernel.org, linux-mm@kvack.org, David Hildenbrand , Oscar Salvador , virtualization@lists.linux-foundation.org, linux@rivosinc.com, Alexandre Ghiti Subject: [PATCH 6/7] virtio-mem: Enable virtio-mem for RISC-V Date: Fri, 12 May 2023 16:57:36 +0200 Message-Id: <20230512145737.985671-7-bjorn@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512145737.985671-1-bjorn@kernel.org> References: <20230512145737.985671-1-bjorn@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Björn Töpel 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 --- drivers/virtio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2