diff options
| author | Ryan Roberts <[email protected]> | 2023-07-24 09:25:19 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 10:12:43 -0700 |
| commit | 49f09526b16361db6af387726082ffdda796c101 (patch) | |
| tree | 6c8a53de884dbb88426a99c8e7585dd2fb6628dd /tools/perf/scripts/python | |
| parent | 6e16f5133501440699dcca3c5aba367cf6f9c227 (diff) | |
selftests/mm: va_high_addr_switch should skip unsupported arm64 configs
va_high_addr_switch has a mechanism to determine if the tests should be
run or skipped (supported_arch()). This currently returns unconditionally
true for arm64. However, va_high_addr_switch also requires a large
virtual address space for the tests to run, otherwise they spuriously
fail.
Since arm64 can only support VA > 48 bits when the page size is 64K, let's
decide whether we should skip the test suite based on the page size. This
reduces noise when running on 4K and 16K kernels.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ryan Roberts <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Cc: Florent Revest <[email protected]>
Cc: Jérôme Glisse <[email protected]>
Cc: John Hubbard <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions