From patchwork Thu Oct 20 07:58:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 6036 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp129474wrs; Thu, 20 Oct 2022 01:13:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5J1UuWeuJwgEEn0488dmR3nlI9MO0Z6p0j5fXNNfD6RDHbsHR0WWi4zTVSI+4Lg/ir9KLI X-Received: by 2002:a05:6a00:a22:b0:54e:6a90:fbef with SMTP id p34-20020a056a000a2200b0054e6a90fbefmr12816099pfh.53.1666253570767; Thu, 20 Oct 2022 01:12:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666253570; cv=none; d=google.com; s=arc-20160816; b=qLtYL7GiepGC88Q0Iu6rZO/1rmQYgxYtfFwK4wUrcSZYNhrSJLVHgAxDP0yoOoaP9W NCQYeEV8dQ9JyZn+/nV4iejIMpkgTrmIrYLn8+zE/SfSB6D9xoHDosfGnrTkVsqNfK5v cYfV29CpHKxhkNLHvJpJ9xlY9lezFfFAxD4kJUhcDP0h4G0bb14wSLol+RiNQW3lrN7U GV+kLQRUwbrHHj986WHBV0VHTFXRnHjOt1VUvGcGnaSW1jeWJt3YhgHxp0zhmZ0wwGSK bXky0FnOt8vMLbBtxDIQM9Vcd1xxS3DCsGg5C9VkUE4jJFdxsIEhfeHqLoKZLpFlJY9I R+BQ== 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=5TnLW0RVC/l/l6ZpSJGiQ9RS55Sh7Bww2u/zF6eZ2bY=; b=PPZRuWQ3aHyBQcM2syhURYD8oOb87iHmpgdldexIM2bHJfXCOVa8aDoAja928nR0RU 35+N5A252ckoY8KEAk3c3jJ2EsQGiIpYQreixalqxVuYPVzmf92MlZpoEYVp8q8Wsd+5 4Ke3MINOwi3W/GD3GMIHAPLy7t6/o3toT5VncZt7ML+Y7KFB50kWZkaEqtxwjMWlEb6j A6/y8xvCK83uEWUWQXKYEMylZtdCp+6pGoH4iqmd6sthk1NMZbnMTI8kjL+siEn1dBvz 2iGNTZUqAlTJRmO1EVOWM0E2yvhuI6e+jGFhNW3kAJ8ey3rjuPKjNQJUHiM4A0iudX3q cl9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="eL/0WYug"; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g12-20020a056a0023cc00b00565e95c6dcdsi22886969pfc.356.2022.10.20.01.12.37; Thu, 20 Oct 2022 01:12:50 -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=@ventanamicro.com header.s=google header.b="eL/0WYug"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231214AbiJTH7Z (ORCPT + 99 others); Thu, 20 Oct 2022 03:59:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231158AbiJTH7N (ORCPT ); Thu, 20 Oct 2022 03:59:13 -0400 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6FD718027C for ; Thu, 20 Oct 2022 00:59:12 -0700 (PDT) Received: by mail-pg1-x52a.google.com with SMTP id f193so18559306pgc.0 for ; Thu, 20 Oct 2022 00:59:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5TnLW0RVC/l/l6ZpSJGiQ9RS55Sh7Bww2u/zF6eZ2bY=; b=eL/0WYugw3H/1sxFC9WdKuigQo+DLOOuD80Q50Flm9AQs84m3h9nhYf0lLQYFWRd39 DXs4iq9U35DNMud1OLd+16okiAB2eoq7QcO9OSbRglrpg20DSO8trF8j8xmLmCcLLGPC cN3DT63GsaCqDSugUopR1AvikeqYg8gC613t1k9CY7q9hO9lJ8lvKYl8Ek4e6lDvJMlw vPg3fbNz3pUhmLaNqjOoHF5hZZCC/VZeRstJaWGQUmsQd8PNC4hcrRrPGFxTNz1xt4pK Bw1uR/NrBdi2x1QlXQ8AkRO/ok1dsPlcpY1fOB2o0/DwqFlo7APjo4OD+L3+tAq4gC1g HMtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5TnLW0RVC/l/l6ZpSJGiQ9RS55Sh7Bww2u/zF6eZ2bY=; b=WhwFTrE8ftZYt4ogBf4NIcY4ehAP3y9KdJxxEXVVXWbIx6WPeuQNgkTNn1HpXmIuvX +FYu3WIrh/jAvt0smaAu0IOsVHd7UzCp7iTMCklmt5fh+MkDS68U9J8/uqxKMnxMuIOE dhRN+jdQUjM03fIAkvLy52oyKCieJtMGaYlBFU623pRdxz6oiJyIgRvl2iMIXComa6zF diVmFy3YlMXi6TNbjzXdt1bYkC3hDF8f7+UcHlGKjFehfUkusoHEtmROfnU2YlFwo8mm cdzFQk2I6qdgW8u6TuFACiCZpmdWL+u7cN0d0Jw7TnFc404QIiUkfpia4r3ylFrpia/G MK9w== X-Gm-Message-State: ACrzQf1v1+BMm12DyjTxNbW6WhsNKjLUOmBTBu2SIiCZkTY6e88MGRm1 ESIV8yM9hvvjQXDCVkSZBYXHiQ== X-Received: by 2002:a63:ef18:0:b0:439:befc:d89c with SMTP id u24-20020a63ef18000000b00439befcd89cmr10373730pgh.504.1666252752020; Thu, 20 Oct 2022 00:59:12 -0700 (PDT) Received: from anup-ubuntu64-vm.. ([171.76.80.23]) by smtp.gmail.com with ESMTPSA id h30-20020aa79f5e000000b0052dfe83e19csm13206438pfr.16.2022.10.20.00.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 00:59:11 -0700 (PDT) From: Anup Patel To: Palmer Dabbelt , Paul Walmsley Cc: Atish Patra , Heiko Stuebner , Arnd Bergmann , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v5 4/4] RISC-V: Enable PMEM drivers Date: Thu, 20 Oct 2022 13:28:46 +0530 Message-Id: <20221020075846.305576-5-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221020075846.305576-1-apatel@ventanamicro.com> References: <20221020075846.305576-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747193504276565059?= X-GMAIL-MSGID: =?utf-8?q?1747193504276565059?= We now have PMEM arch support available in RISC-V kernel so let us enable relevant drivers in defconfig. Signed-off-by: Anup Patel --- arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index 05fd5fcf24f9..462da9f7410d 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -159,6 +159,7 @@ CONFIG_VIRTIO_MMIO=y CONFIG_RPMSG_CHAR=y CONFIG_RPMSG_CTRL=y CONFIG_RPMSG_VIRTIO=y +CONFIG_LIBNVDIMM=y CONFIG_EXT4_FS=y CONFIG_EXT4_FS_POSIX_ACL=y CONFIG_EXT4_FS_SECURITY=y