Skip to content

Add PMEM support for RISC-V

Anup Patel linux-riscv lkml 6 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 5 repliesApplied 3/3
  2. v54 patches 4 repliesSuperseded
  3. v44 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v34 patches4 repliesSuperseded
v24 patches15 repliesSuperseded
v14 patches3 repliesSuperseded

Changes in v6 from the cover letter

- Rebased on Linux-6.1-rc5
- Directly add pmem.o in obj-y of PATCH3
- Dropped PATCH1 since this is already merged.

Patches in v6 All 3 applied

#Subject and filesSizeRepliesApplied
1/3RISC-V: Fix MEMREMAP_WB for systems with Svpbmtarch/riscv/include/asm/io.h+5 -00 repliesApplied
2/3RISC-V: Implement arch specific PMEM APIsarch/riscv/Kconfig arch/riscv/mm/Makefile arch/riscv/mm/pmem.c+23 -00 repliesApplied
3/3RISC-V: Enable PMEM driversarch/riscv/configs/defconfig+1 -00 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchConor Dooley
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] 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.

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/[email protected]/

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
Signature · 1 line
2.34.1