Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1876367rwb; Sat, 19 Nov 2022 05:16:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6FHNQHdPIVUkiF5vjrSKwfy7c0UVHKOXOCTGFZYBBg3VgrZoJgcLK8HiM6VHM4FFuoZVFv X-Received: by 2002:a17:90a:7003:b0:212:f169:140e with SMTP id f3-20020a17090a700300b00212f169140emr11984463pjk.215.1668863790683; Sat, 19 Nov 2022 05:16:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668863790; cv=none; d=google.com; s=arc-20160816; b=PNQ+E66z184z88mi2zyLc+UPi6SpwEUhWlhbOwzzMK/7ULxmkflgzsv2ya7FwblZWZ myLRgEu1AEq93qAkm3MQpvbtpflKsIau4Gp1gG5mkjiPdRyD1XlReeljZUNgdR+F5eM5 n5vi3V4/uv/owMKd1ljjmaNrCXjfUkZaOLM6zxeXvDCehXh6aF4En7Z1sNIvlFQcsn2x i1xGVS3XBIOwucS2wyn7KWYkLxO1dU+Ux2bPCrsQ3AeSvgri3JLm4oF9vRYl2F8wWXw7 HOIedv6QM6Lm1eze+UbOmASvbwdiQOuD5sykdqpXSTvqMLh0oixOhy+Or91kzWDLlnDi ehQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8LF58AAHgwdcrLWSTZGMymJu2eVBOEMHQaQo0Ner2Go=; b=GBx2wS7XGLb98vr68FiBM6IyP1HBZEpVsKkW/jo3nQHoyjKccUamBCN4rp87OuzRC2 TFforizbNEe5bhc+avkazXtuZqXHGpCjvlKCuk0XbMkvqPzS7sCRF9Gfs08rmadNA7fl oj5sjUMJqVkltEa4omNoGaYY+hZyS6Br9ScJhh33F8Ar/VJuKT/HWBKgsRavivIE/IL7 K14+O2B7dKifZBbZ+s6EQeQvj27O+SN94kDb5uYtZpO7Wa9c8aFBdnl3xK5/4u0B5WJW 69I10pSc24oqcbeecwEZX7+HnEKrvGlsfslgiWdSNcuCI9TYTiMR0/L3CC5n7RFfJq9X gHLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nAiCl4P9; 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 b7-20020a656687000000b0042b438eeee1si6456792pgw.148.2022.11.19.05.16.19; Sat, 19 Nov 2022 05:16:30 -0800 (PST) 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=nAiCl4P9; 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 S232969AbiKSM7r (ORCPT + 90 others); Sat, 19 Nov 2022 07:59:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbiKSM7i (ORCPT ); Sat, 19 Nov 2022 07:59:38 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97206786F4 for ; Sat, 19 Nov 2022 04:59:36 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 046F8B80188 for ; Sat, 19 Nov 2022 12:59:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0C29C433D6; Sat, 19 Nov 2022 12:59:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668862773; bh=GH3OcFTGlji7WySEZa1Up9GuNvYEjwIehpkqlTEViZs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nAiCl4P9y7wF9WsoYQyqr2LJq65mihj6peyGogp2ziBuvHVgAdj9KnEV5ug9jiw9j bL9/GXu6mA8nG1HNr5KCX2/zG0032Y0eAMvNkk+06GIb6FwWI9zeCutvrrwfrFlSTg yPZSR9jdVQeZnAHOeR0nAOpWSyR0r4s9mYhyJGj5APGNWESnojXf2FooKGC5oDoi82 tLcHqe/Lo6myGvZG+rcO0b6CPOimDOFW4HZL9WX/KViXBrG9V/h8m5OoJ6KuAy6Maq rwmibpPDv3aiKN2c0g2gaWVcy7n4pFbI/5j60Ig9wmtsUr8bfZyrjoKoq+DoNbL8Im hf6InOForGWvA== Date: Sat, 19 Nov 2022 12:59:29 +0000 From: Conor Dooley To: Anup Patel Cc: Palmer Dabbelt , Paul Walmsley , Atish Patra , Heiko Stuebner , Arnd Bergmann , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/3] Add PMEM support for RISC-V Message-ID: References: <20221114090536.1662624-1-apatel@ventanamicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Sat, Nov 19, 2022 at 06:11:08PM +0530, Anup Patel wrote: > On Mon, Nov 14, 2022 at 10:11 PM Conor Dooley wrote: > > > > Hey Anup, > > > > Looks like patches 2 and 3 are failing for the nommu defconfigs: > > https://patchwork.kernel.org/project/linux-riscv/list/?series=694995 > > Unfortunately, if the build fails NIPA doesn't appear to save a log. > > > > In case it's relevant, should be gcc-11 & bintutils 2.37. > > I tried nommu defconfigs with gcc-12.1.0 and binutils-2.39 and I did > not see any failure. In the interim, I got my new machine set up properly and have gcc-11 locally now (11.1.0) with binutils 2.37. I just gave the series a try and I cannot see the failure either but I am not using tuxmake. Apologies for the noise Anup! FWIW: Acked-by: Conor Dooley > > Regards, > Anup > > > > > Thanks, > > Conor. > > > > On Mon, Nov 14, 2022 at 02:35:33PM +0530, Anup Patel wrote: > > > The Linux NVDIMM PEM drivers require arch support to map and access the > > > persistent memory device. This series adds RISC-V PMEM support using > > > recently added Svpbmt and Zicbom support. > > > > > > First two patches are fixes and remaining two patches add the required > > > PMEM support for Linux RISC-V. > > > > > > These patches can also be found in riscv_pmem_v6 branch at: > > > https://github.com/avpatel/linux.git > > > > > > Changes since v5: > > > - Rebased on Linux-6.1-rc5 > > > - Directly add pmem.o in obj-y of PATCH3 > > > - Dropped PATCH1 since this is already merged. > > > > > > Changes since v4: > > > - Simplify PATCH2 by implementing RISC-V specific arch_memremap_wb() > > > > > > Changes since v3: > > > - Pickup correct version of Drew's patch as PATCH1 > > > > > > Changes since v2: > > > - Rebased on Linux-6.1-rc1 > > > - Replaced PATCH1 with the patch proposed by Drew > > > > > > Changes since v1: > > > - Fix error reported by test bot > > > https://lore.kernel.org/all/202208272028.IwrNZ0Ur-lkp@intel.com/ > > > > > > Anup Patel (3): > > > RISC-V: Fix MEMREMAP_WB for systems with Svpbmt > > > RISC-V: Implement arch specific PMEM APIs > > > RISC-V: Enable PMEM drivers > > > > > > arch/riscv/Kconfig | 1 + > > > arch/riscv/configs/defconfig | 1 + > > > arch/riscv/include/asm/io.h | 5 +++++ > > > arch/riscv/mm/Makefile | 1 + > > > arch/riscv/mm/pmem.c | 21 +++++++++++++++++++++ > > > 5 files changed, 29 insertions(+) > > > create mode 100644 arch/riscv/mm/pmem.c > > > > > > -- > > > 2.34.1 > > >