From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43006C433FE for ; Sat, 19 Nov 2022 12:59:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233217AbiKSM7r (ORCPT ); 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: 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 > > >