Skip to content

VPHN parsing fixes

Greg Kurz linuxppc-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 3 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5powerpc/vphn: clarify the H_HOME_NODE_ASSOCIATIVITY APIarch/powerpc/mm/numa.c+6 -20 replies
2/5powerpc/vphn: move endianness fixing to vphn_unpack_associativity()arch/powerpc/mm/numa.c+6 -40 replies
3/5powerpc/vphn: move VPHN parsing logic to a separate filearch/powerpc/mm/Makefile arch/powerpc/mm/numa.c arch/powerpc/mm/vphn.c +1 more+70 -580 replies
4/5powerpc/vphn: parsing code rewritearch/powerpc/mm/vphn.c arch/powerpc/mm/vphn.h+40 -202 replies
5/5selftests, powerpc: Add test for VPHNtools/testing/selftests/powerpc/Makefile tools/testing/selftests/powerpc/utils.h tools/testing/selftests/powerpc/vphn/.gitignore +4 more+423 -13 replies

Reviews trailers per patch

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

PatchAnshuman KhandualGreg Kurz
SeriesR-b T-b
1/5
2/5
3/5
4/5
5/5R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/5] VPHN parsing fixes

Michael,

As suggested in...

https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-February/124647.html

... I repost the whole series with an extra patch to implement selftests for VPHN (this is the only change between v2 and v3).

Please review.

---

Greg Kurz (5):
powerpc/vphn: clarify the H_HOME_NODE_ASSOCIATIVITY API powerpc/vphn: move endianness fixing to vphn_unpack_associativity() powerpc/vphn: move VPHN parsing logic to a separate file powerpc/vphn: parsing code rewrite
selftests, powerpc: Add test for VPHN

 arch/powerpc/mm/Makefile                          |    1 
 arch/powerpc/mm/numa.c                            |   55 ---
 arch/powerpc/mm/vphn.c                            |   70 ++++
 arch/powerpc/mm/vphn.h                            |   16 +
 tools/testing/selftests/powerpc/Makefile          |    2 
 tools/testing/selftests/powerpc/utils.h           |    1 
 tools/testing/selftests/powerpc/vphn/.gitignore   |    1 
 tools/testing/selftests/powerpc/vphn/Makefile     |   15 +
 tools/testing/selftests/powerpc/vphn/parse-vphn.c |  403 +++++++++++++++++++++
 tools/testing/selftests/powerpc/vphn/vphn.c       |    1 
 tools/testing/selftests/powerpc/vphn/vphn.h       |    1 
 11 files changed, 513 insertions(+), 53 deletions(-)
 create mode 100644 arch/powerpc/mm/vphn.c
 create mode 100644 arch/powerpc/mm/vphn.h
 create mode 100644 tools/testing/selftests/powerpc/vphn/.gitignore
 create mode 100644 tools/testing/selftests/powerpc/vphn/Makefile
 create mode 100644 tools/testing/selftests/powerpc/vphn/parse-vphn.c
 create mode 120000 tools/testing/selftests/powerpc/vphn/vphn.c
 create mode 120000 tools/testing/selftests/powerpc/vphn/vphn.h

--
Greg