From patchwork Fri May 12 14:57:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= X-Patchwork-Id: 13239439 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98285C7EE2A for ; Fri, 12 May 2023 14:58:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2BF0F6B007E; Fri, 12 May 2023 10:58:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 26ED36B0080; Fri, 12 May 2023 10:58:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 111566B0081; Fri, 12 May 2023 10:58:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 0344E6B007E for ; Fri, 12 May 2023 10:58:19 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B21B9C0FAC for ; Fri, 12 May 2023 14:58:18 +0000 (UTC) X-FDA: 80781908676.24.D634D34 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf13.hostedemail.com (Postfix) with ESMTP id F3DAF2000C for ; Fri, 12 May 2023 14:58:16 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NcLbHLWx; spf=pass (imf13.hostedemail.com: domain of bjorn@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=bjorn@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1683903497; a=rsa-sha256; cv=none; b=O52vF7viMBUZZICDTE1erA54POivsm5YFgyeRdDqND3Xv9keTcSr6m5B5gFjac/NCvZvsi Pu1BISQGnAavIKyAf9Ee7KzaR3I5RnnkAkzdQT73OkTEVEmg7fFCEQOyKX9L7YzxGugZwm FrT8l/12Qb1HYlszdpouo7TPdddnluA= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=NcLbHLWx; spf=pass (imf13.hostedemail.com: domain of bjorn@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=bjorn@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1683903497; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QELtVjSMwEIWESkCCY1X5XuG9zF4GxpJdhvIwi0XLec=; b=Z/jfgxk5EZk7yt+b1STvhKd3hSVKss6L4NF5ffeUxjfm6O0mzpsFekc+e2OcPWZvAkJfBn GVM/ZgqoWSQKSRdtemxyf8Q5Mp7XoEJ3uKDguBD+sS++t268eJu7/JgTLWjpybukhZ2204 3fjDhsG2TM011TBCZ9dQCUAPmmZCmvU= 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 06B8965766; 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?b?QmrDtnJuIFTDtnBlbA==?= To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: =?utf-8?b?QmrDtnJuIFTDtnBlbA==?= , 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 X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: F3DAF2000C X-Stat-Signature: 9yk55parfp473dhmganhu1w3kuctp11q X-HE-Tag: 1683903496-941872 X-HE-Meta: U2FsdGVkX19crGTKjsIhUJ7w9l+dc+MQWadAorIQ8Qnx/E4eP00YjaCYPVFfoH+RNy2nFnvanCyH7TkqHfbX+n6B2V1aHXKIG3GXMj8U4vs83OX5I0SoaJch7PxWGLFCYDv+Y4OxGn7O1CwAbmch4A9AdBbRhgr4/TdsSCP6IQ0pluG+pEBDRiFHDeDtQMQxJJqXL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tebHmRg1/zwsftbQGTI3drZB5RSrRNDWlsM5e/xmmez9ZUmRODz8s9lzCaycH8r+H9ny3uVmqDVvOQ//ZoXEtNPZxRKIpitWBW0rXS9Xt0Oght4kLdqDgMIB3X2gK7n43i1LHypNB3VISv X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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