Skip to content

arm64 pmem support

Robin Murphy linux-arm-kernel linux-nvdimm nvdimm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm64: mm: Fix set_memory_valid() declarationarch/arm64/include/asm/cacheflush.h+1 -10 replies
2/6arm64: Convert __inval_cache_range() to area-basedarch/arm64/include/asm/cacheflush.h arch/arm64/kernel/head.S arch/arm64/mm/cache.S+24 -180 replies
3/6arm64: Expose DC CVAP to userspaceDocumentation/arm64/cpu-feature-registers.txt arch/arm64/include/asm/sysreg.h arch/arm64/include/uapi/asm/hwcap.h +2 more+7 -00 replies
4/6arm64: Handle trapped DC CVAParch/arm64/include/asm/esr.h arch/arm64/kernel/traps.c+5 -10 replies
5/6arm64: Implement pmem API supportarch/arm64/Kconfig arch/arm64/include/asm/assembler.h arch/arm64/include/asm/cacheflush.h +4 more+63 -12 replies
5/6arm64: Implement pmem API support+0 -01 reply
5/6arm64: Implement pmem API support+0 -01 reply
6/6arm64: uaccess: Implement *_flushcache variantsarch/arm64/Kconfig arch/arm64/include/asm/string.h arch/arm64/include/asm/uaccess.h +2 more+66 -03 replies

Reviews trailers per patch

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

PatchWill Deacon
SeriesR-b
1/6
2/6
3/6
4/6
5/6
5/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] arm64 pmem support

Hi all,

With the latest updates to the pmem API, the arch code contribution becomes very straightforward to wire up - I think there's about as much code here to just cope with the existence of our new instruction as there is to actually make use of it. I don't have access to any NVDIMMs nor suitable hardware to put them in, so this is written purely to spec - the extent of testing has been the feature detection on a v8.2 Fast Model vs. v8.0 systems.

Patch #1 could go in as a fix ahead of the rest; it just needs to come before patch #5 to prevent that blowing up the build.

Robin.

Robin Murphy (6):
arm64: mm: Fix set_memory_valid() declaration
arm64: Convert __inval_cache_range() to area-based
arm64: Expose DC CVAP to userspace
arm64: Handle trapped DC CVAP
arm64: Implement pmem API support
arm64: uaccess: Implement *_flushcache variants

 Documentation/arm64/cpu-feature-registers.txt |  2 ++
 arch/arm64/Kconfig                            | 12 +++++++
 arch/arm64/include/asm/assembler.h            |  6 ++++
 arch/arm64/include/asm/cacheflush.h           |  4 ++-
 arch/arm64/include/asm/cpucaps.h              |  3 +-
 arch/arm64/include/asm/esr.h                  |  3 +-
 arch/arm64/include/asm/string.h               |  4 +++
 arch/arm64/include/asm/sysreg.h               |  1 +
 arch/arm64/include/asm/uaccess.h              | 12 +++++++
 arch/arm64/include/uapi/asm/hwcap.h           |  1 +
 arch/arm64/kernel/cpufeature.c                | 13 ++++++++
 arch/arm64/kernel/cpuinfo.c                   |  1 +
 arch/arm64/kernel/head.S                      | 18 +++++-----
 arch/arm64/kernel/traps.c                     |  3 ++
 arch/arm64/lib/Makefile                       |  2 ++
 arch/arm64/lib/uaccess_flushcache.c           | 47 +++++++++++++++++++++++++++
 arch/arm64/mm/cache.S                         | 37 ++++++++++++++++-----
 arch/arm64/mm/pageattr.c                      | 18 ++++++++++
 18 files changed, 166 insertions(+), 21 deletions(-)
 create mode 100644 arch/arm64/lib/uaccess_flushcache.c
Signature · 6 lines
2.12.2.dirty

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm