Skip to content

Restructure va_high_addr_switch

Dev Jain linux-kselftest linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] selftests-mm-va_high_addr_switch-dynamically-initialize-testcases-to-enable-lpa2-testing.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests/mm: va_high_addr_switch: Reduce test noisetools/testing/selftests/mm/va_high_addr_switch.sh+0 -40 repliesApplied
2/2selftests/mm: va_high_addr_switch: Dynamically initialize testcases to enable LPA2 testingtools/testing/selftests/mm/va_high_addr_switch.c+232 -2220 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Restructure va_high_addr_switch

The va_high_addr_switch memory selftest tests out some corner cases related to allocation and page/hugepage faulting around the switch boundary. Currently, the page size and hugepage size have been statically defined. Post FEAT_LPA2, the Aarch64 Linux kernel adds support for 4k and 16k translation granules on higher addresses; we restructure the test to support the same. In addition, we avoid invocation of the binary twice, in the shell script, to reduce test noise.

Dev Jain (2):
selftests/mm: va_high_addr_switch: Reduce test noise selftests/mm: va_high_addr_switch: Dynamically initialize testcases to
enable LPA2 testing

 .../selftests/mm/va_high_addr_switch.c        | 454 +++++++++---------
 .../selftests/mm/va_high_addr_switch.sh       |   4 -
 2 files changed, 232 insertions(+), 226 deletions(-)
Signature · 1 line
2.34.1