mbox series

[0/2] Restructure va_high_addr_switch

Message ID 20240522070435.773918-1-dev.jain@arm.com (mailing list archive)
Headers show
Series Restructure va_high_addr_switch | expand

Message

Dev Jain May 22, 2024, 7:04 a.m. UTC
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(-)