tests/tcg/aarch64: userspace system register test
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 16 Mar 2020 17:21:47 +0000 (17:21 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 17 Mar 2020 17:38:38 +0000 (17:38 +0000)
commitfe185734d0164234b1af1c9fcaaf39aefb089d15
tree9671dc0d9d2e5668c927e37a5e651320ea8b9119
parent976b99b6ec2e15cd7c36d72fdb9b60c37c5494f8
tests/tcg/aarch64: userspace system register test

This tests a bunch of registers that the kernel allows userspace to
read including the CPUID registers. We need a SVE aware compiler as we
are testing the id_aa64zfr0_el1 register in the set.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200316172155.971-21-alex.bennee@linaro.org>
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/sysregs.c [new file with mode: 0644]