[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220829125226.511564-1-apatel@ventanamicro.com>
Date: Mon, 29 Aug 2022 18:22:22 +0530
From: Anup Patel <apatel@...tanamicro.com>
To: Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>
Cc: Atish Patra <atishp@...shpatra.org>,
Heiko Stuebner <heiko@...ech.de>,
Anup Patel <anup@...infault.org>,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Anup Patel <apatel@...tanamicro.com>
Subject: [PATCH 0/4] Add PMEM support for RISC-V
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.
These patches can also be found in riscv_pmem_v1 branch at:
https://github.com/avpatel/linux.git
Anup Patel (4):
RISC-V: Fix ioremap_cache() and ioremap_wc() for systems with Svpbmt
RISC-V: Move riscv_init_cbom_blocksize() to cacheflush.c
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/cacheflush.h | 2 ++
arch/riscv/include/asm/io.h | 10 ++++++++
arch/riscv/include/asm/pgtable.h | 2 ++
arch/riscv/mm/Makefile | 1 +
arch/riscv/mm/cacheflush.c | 37 +++++++++++++++++++++++++++++
arch/riscv/mm/dma-noncoherent.c | 36 ----------------------------
arch/riscv/mm/pmem.c | 21 ++++++++++++++++
9 files changed, 75 insertions(+), 36 deletions(-)
create mode 100644 arch/riscv/mm/pmem.c
--
2.34.1
Powered by blists - more mailing lists