]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests/mm: fix comment for check_test_requirements
authorChunyu Hu <chuhu@redhat.com>
Sun, 21 Dec 2025 04:00:25 +0000 (12:00 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:52 +0000 (19:24 -0800)
The test supports arm64 as well so the comment is incorrect.  And there's
a check for arm64 in va_high_addr_switch.c.

Link: https://lkml.kernel.org/r/20251221040025.3159990-5-chuhu@redhat.com
Fixes: 983e760bcdb6 ("selftest/mm: va_high_addr_switch: add ppc64 support check")
Fixes: f556acc2facd ("selftests/mm: skip test for non-LPA2 and non-LVA systems")
Signed-off-by: Chunyu Hu <chuhu@redhat.com>
Reviewed-by: Luiz Capitulino <luizcap@redhat.com>
Cc: "David Hildenbrand (Red Hat)" <david@kernel.org>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/va_high_addr_switch.sh

index a0c93d348b11b00b833b550b1dc6967dfa633136..9492c2d72634b6dfd8c6f8bee97459228683be5c 100755 (executable)
@@ -61,9 +61,9 @@ check_supported_ppc64()
 
 check_test_requirements()
 {
-       # The test supports x86_64 and powerpc64. We currently have no useful
-       # eligibility check for powerpc64, and the test itself will reject other
-       # architectures.
+       # The test supports x86_64, powerpc64 and arm64. There's check for arm64
+       # in va_high_addr_switch.c. The test itself will reject other architectures.
+
        case `uname -m` in
                "x86_64")
                        check_supported_x86_64