From patchwork Tue Dec 19 05:38:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 10122495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F6F160390 for ; Tue, 19 Dec 2017 05:46:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 90CC62904E for ; Tue, 19 Dec 2017 05:46:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84D512905A; Tue, 19 Dec 2017 05:46:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3499B2904E for ; Tue, 19 Dec 2017 05:46:29 +0000 (UTC) Received: from localhost ([::1]:50655 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRAjU-0006kM-3n for patchwork-qemu-devel@patchwork.kernel.org; Tue, 19 Dec 2017 00:46:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRAdB-00012T-KD for qemu-devel@nongnu.org; Tue, 19 Dec 2017 00:39:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRAdA-0001yo-Nb for qemu-devel@nongnu.org; Tue, 19 Dec 2017 00:39:57 -0500 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]:33491) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRAdA-0001yK-H6 for qemu-devel@nongnu.org; Tue, 19 Dec 2017 00:39:56 -0500 Received: by mail-wr0-x244.google.com with SMTP id v21so6296647wrc.0 for ; Mon, 18 Dec 2017 21:39:56 -0800 (PST) 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=Eo1d979P2bGi77m7mUCVkufuMShN9gTsEE/Mfh+tZKOfYu2lAeA2xeBGsVu3/Q8OL9 If+lyk6AjFlw1xxZsHrBd/9IFNSmr8TB09Mf3Q83uN8AiTUFNAKkHS49a7ekY1Zfi29G 7s8QdrfmxjWxVYlZlcTFn8dmDeUz4WMV2rvJRj/4cc6aZOe9HHUBuJRejcmSo/KiYu1M ZT6dS5cpD2DyYhsMmOmaDCYZbn73/Mo1S7Ws77zyNfEABbHk+OkzL4DVZeHw0wMG14cB 5GfDnfqyAGozWN8LVzpnLQ+9ZJmTBqpjnY295hEvYTgAlbgdwczzHEHeMpz1t/N/cDXw Np3w== 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=uNoqYDIBz3JKwIID02yuksRSwhQb+B5Oi/PvaPnNK0EzfVcSTGyrHa3q3S5cZkIXnx 7JSp9RJADQZjsfFJkhcFMp6YM2i8zpWoMOAFR4lIoLCFI34S601neXbXM8yhbdVgJuYJ 5g2xI7dWRazqx07nAHH/61Jwpl/mLwlBQ/3acw50dRmToFJ6l4Gcz4qwo3N/teulZEe3 aRkIfRw3hS7ny4oCZmiIYC4E8zDmv94xN6VWMwKQ1H2rkxLeARb+iTNf7whCEiCOhL2o MYhccBthprIwF3efR4zXl/f33KS9zU0JXSebRakal+1dbGPh5OdiIj8tERfjeEGU2bjy GRlQ== X-Gm-Message-State: AKGB3mKBu1dAXSB8N5bvs7Vpztti6bi0SfZnN6ngDTH44/wXeCGxCP+c iE/m1fpPLjXoi2CkGm2I6Ze/Xg== X-Google-Smtp-Source: ACJfBouWJAPHnfYanY6yvXG6i9zRn6GFATXe7vVe1N9/nudxtcpUkseUvdB08SupBmmsJT8ZMC+DBA== X-Received: by 10.25.150.137 with SMTP id y131mr1245737lfd.91.1513661995341; Mon, 18 Dec 2017 21:39:55 -0800 (PST) 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 f67sm673187lfb.83.2017.12.18.21.39.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Dec 2017 21:39:54 -0800 (PST) From: Max Filippov To: qemu-devel@nongnu.org Date: Mon, 18 Dec 2017 21:38:46 -0800 Message-Id: <1513661932-6849-11-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1513661932-6849-1-git-send-email-jcmvbkbc@gmail.com> References: <1513661932-6849-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:400c:c0c::244 Subject: [Qemu-devel] [PATCH v2 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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