From f79fc75dc73547539f8df15df0139b7651001d5e Mon Sep 17 00:00:00 2001 From: br Date: Tue, 18 Oct 2016 10:20:58 +0000 Subject: [PATCH] Fix comment. We have different VM layout on MIPS, so test is skipped. Requested by: kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 --- tests/sys/kern/kern_copyin.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/sys/kern/kern_copyin.c b/tests/sys/kern/kern_copyin.c index 7eea95e8c782..a8cf0422eec5 100644 --- a/tests/sys/kern/kern_copyin.c +++ b/tests/sys/kern/kern_copyin.c @@ -60,7 +60,12 @@ ATF_TC_BODY(kern_copyin, tc) char template[] = "copyin.XXXXXX"; #ifdef __mips__ - /* MIPS has no shared page implemented yet. */ + /* + * MIPS has different VM layout: the UVA map on mips ends the + * highest mapped entry at the VM_MAXUSER_ADDRESS - PAGE_SIZE, + * while all other arches map either stack or shared page up + * to the VM_MAXUSER_ADDRESS. + */ atf_tc_skip("Platform is not supported."); #endif -- 2.41.0