]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target/xtensa: tests: fix memctl SR test
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 4 Nov 2017 03:30:30 +0000 (20:30 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 9 Jan 2018 17:55:38 +0000 (09:55 -0800)
memctl SR is not available on dc232b, as it was introduced in more
recent hardware release. Now that this information is available through
the libisa the test fails. Fix the test.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
tests/tcg/xtensa/test_sr.S

index 42e3e5e386d4e70d085a3a51dbe3751d819572b3..052f1e04a72cb85c9a12953080437dbf907705ed 100644 (file)
@@ -44,7 +44,6 @@ test_end
 
 test_sr acchi, 1
 test_sr acclo, 1
-test_sr /*memctl*/97, 0
 test_sr_mask /*atomctl*/99, 0, 0
 test_sr_mask /*br*/4, 0, 0
 test_sr_mask /*cacheattr*/98, 0, 0
@@ -76,6 +75,7 @@ test_sr lcount, 1
 test_sr lend, 1
 test_sr litbase, 1
 test_sr m0, 1
+test_sr_mask /*memctl*/97, 0, 0
 test_sr misc0, 1
 test_sr_mask /*prefctl*/40, 0, 0
 test_sr_mask /*prid*/235, 0, 1