Separate the concepts of an 'svc', the syscall instruction present on both arm and arm64, and 'svc mode', which is arm's kernel mode, and doesn't exist on arm64. kernel mode on arm64 is modeled with exception level 1 (el1). Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- arm/selftest.c | 4 ++-- arm/unittests.cfg | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arm/selftest.c b/arm/selftest.c index 0de794ea7d696..885a54fee0e4a 100644 --- a/arm/selftest.c +++ b/arm/selftest.c @@ -195,11 +195,11 @@ int main(int argc, char **argv) check_setup(argc-1, &argv[1]); - } else if (strcmp(argv[0], "vectors-svc") == 0) { + } else if (strcmp(argv[0], "vectors-kernel") == 0) { check_vectors(NULL); - } else if (strcmp(argv[0], "vectors-usr") == 0) { + } else if (strcmp(argv[0], "vectors-user") == 0) { void *sp = memalign(PAGE_SIZE, PAGE_SIZE); memset(sp, 0, PAGE_SIZE); diff --git a/arm/unittests.cfg b/arm/unittests.cfg index 57f5f90f3e808..efcca6bf24af6 100644 --- a/arm/unittests.cfg +++ b/arm/unittests.cfg @@ -17,14 +17,14 @@ smp = 1 extra_params = -m 256 -append 'setup smp=1 mem=256' groups = selftest -# Test vector setup and exception handling (svc mode). -[selftest::vectors-svc] +# Test vector setup and exception handling (kernel mode). +[selftest::vectors-kernel] file = selftest.flat -extra_params = -append 'vectors-svc' +extra_params = -append 'vectors-kernel' groups = selftest -# Test vector setup and exception handling (usr mode). -[selftest::vectors-usr] +# Test vector setup and exception handling (user mode). +[selftest::vectors-user] file = selftest.flat -extra_params = -append 'vectors-usr' +extra_params = -append 'vectors-user' groups = selftest -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html