diff mbox series

[10/16] target/xtensa: tests: fix memctl SR test

Message ID 1509767121-26925-11-git-send-email-jcmvbkbc@gmail.com
State New
Headers show
Series target/xtensa: switch to libisa | expand

Commit Message

Max Filippov Nov. 4, 2017, 3:45 a.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/tcg/xtensa/test_sr.S b/tests/tcg/xtensa/test_sr.S
index 42e3e5e386d4..052f1e04a72c 100644
--- a/tests/tcg/xtensa/test_sr.S
+++ b/tests/tcg/xtensa/test_sr.S
@@ -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