From patchwork Sat Nov 4 03:45:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 834161 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Q2laI58y"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yTQ1d0xcZz9sQl for ; Sat, 4 Nov 2017 14:54:29 +1100 (AEDT) Received: from localhost ([::1]:39234 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eApXP-0003og-73 for incoming@patchwork.ozlabs.org; Fri, 03 Nov 2017 23:54:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eApPY-00069g-AV for qemu-devel@nongnu.org; Fri, 03 Nov 2017 23:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eApPX-0000tX-JP for qemu-devel@nongnu.org; Fri, 03 Nov 2017 23:46:20 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:48294) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eApPX-0000s2-DB for qemu-devel@nongnu.org; Fri, 03 Nov 2017 23:46:19 -0400 Received: by mail-lf0-x241.google.com with SMTP id r135so5171454lfe.5 for ; Fri, 03 Nov 2017 20:46:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Rb6V+OnSf8TwHXw3xXqxrCAP915kyl8ezyTkOiyu6Nw=; b=Q2laI58y4uyHmrycEK6Rc18VFn3mzjqFGcqpRqiaIIXd6Qowu2N46Y8b5tir/Xa3j0 D/gAE9yXC0yj5azhbWFAgv4oJs0S8E2nitnGBpZd24ojvrxEkSS2JW6QfxVJDSb4Vjny Q6UTEzkbTttc/J2A1NvliyU51secLD9PP4+T0jb0sg3j+/1f3ha0jNn/eIX3NnU6TxLO eVL+F8f3s0G+ZznX9dMmJhrflN3aQGrm3u3s+MY1mCkwpdA+Iu5fxLa4CkIg/6uTryXh qpfQ+1V9UnSwaxsdgFkPlUexleu6dtnb3Ec+whr5ZHPZSGOo4jM4UUifLXKJAGTLp9ja eUkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Rb6V+OnSf8TwHXw3xXqxrCAP915kyl8ezyTkOiyu6Nw=; b=kbilYmxcL9wBphL/DmwbC+WulxURGooGjGm8I74cY6UrvAcwW3FjWv7pCP/tm5bpDS apCx6CXMQ6/ogVGhZd4HAjEKN07KKY/bLRYEY9CwTVjtmnYpRxYmQ7M/LbqNJtH4EwL4 gk28/e1SJyrSqs2Q6ZdwVgnYkSjaUeGz7D9FJwVeoluXQX9ZelXA8xwjqde4aahwvHYa FRBaBwYVF4RH+K+PwhKCdCPdH5VJxR+ZMcwg9R1LUQBYfl0gJwvn6ungp/uclcG4gBLZ m26jP9/BMbwltEHoOfhVotgrpucDk06GY7B1pVLNCs9lmKy7H1HdHkFBduKLYYoEQ647 smNg== X-Gm-Message-State: AMCzsaVrGmvgiTbp2UFIQYxLDdBIV7bOHIhe9MyWTGQk1BEB8nGMNleP OERrhhjOv9ngQQOiSKb1+teDOw== X-Google-Smtp-Source: ABhQp+RxuQ0GcVd5Xl41CnoxRf7eYUG985vTzPSCSy6weB1loBpA11j0DgLLigQAb4LuOPTzDqK5Tg== X-Received: by 10.46.4.29 with SMTP id 29mr4214779lje.82.1509767178006; Fri, 03 Nov 2017 20:46:18 -0700 (PDT) Received: from octofox.net (jcmvbkbc-1-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:1fa::2]) by smtp.gmail.com with ESMTPSA id h3sm1258383lfj.26.2017.11.03.20.46.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Nov 2017 20:46:17 -0700 (PDT) From: Max Filippov To: qemu-devel@nongnu.org Date: Fri, 3 Nov 2017 20:45:15 -0700 Message-Id: <1509767121-26925-11-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1509767121-26925-1-git-send-email-jcmvbkbc@gmail.com> References: <1509767121-26925-1-git-send-email-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::241 Subject: [Qemu-devel] [PATCH 10/16] target/xtensa: tests: fix memctl SR test X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Max Filippov , Richard Henderson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 --- tests/tcg/xtensa/test_sr.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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