@@ -91,7 +91,7 @@ endif
endif
ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 riscv64 s390x sh64 sparc64 x86_64))
-TEST_GEN_FILES += va_128TBswitch
+TEST_GEN_FILES += va_high_addr_switch
TEST_GEN_FILES += virtual_address_range
TEST_GEN_FILES += write_to_hugetlbfs
endif
@@ -100,7 +100,7 @@ TEST_PROGS := run_vmtests.sh
TEST_FILES := test_vmalloc.sh
TEST_FILES += test_hmm.sh
-TEST_FILES += va_128TBswitch.sh
+TEST_FILES += va_high_addr_switch.sh
include ../lib.mk
@@ -223,7 +223,7 @@ if [ $VADDR64 -ne 0 ]; then
CATEGORY="hugevm" run_test ./virtual_address_range
# virtual address 128TB switch test
- CATEGORY="hugevm" run_test ./va_128TBswitch.sh
+ CATEGORY="hugevm" run_test ./va_high_addr_switch.sh
fi # VADDR64
# vmalloc stability smoke test
similarity index 100%
rename from tools/testing/selftests/mm/va_128TBswitch.c
rename to tools/testing/selftests/mm/va_high_addr_switch.c
similarity index 98%
rename from tools/testing/selftests/mm/va_128TBswitch.sh
rename to tools/testing/selftests/mm/va_high_addr_switch.sh
@@ -51,4 +51,4 @@ check_test_requirements()
}
check_test_requirements
-./va_128TBswitch
+./va_high_addr_switch
As the initial selftest only took into consideration PowperPC and x86 architectures, on adding support for arm64, a platform independent naming convention is chosen. Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Shuah Khan <shuah@kernel.org> Cc: linux-mm@kvack.org Cc: linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Chaitanya S Prakash <chaitanyas.prakash@arm.com> --- tools/testing/selftests/mm/Makefile | 4 ++-- tools/testing/selftests/mm/run_vmtests.sh | 2 +- .../selftests/mm/{va_128TBswitch.c => va_high_addr_switch.c} | 0 .../mm/{va_128TBswitch.sh => va_high_addr_switch.sh} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename tools/testing/selftests/mm/{va_128TBswitch.c => va_high_addr_switch.c} (100%) rename tools/testing/selftests/mm/{va_128TBswitch.sh => va_high_addr_switch.sh} (98%)