From patchwork Fri Jun 4 15:51:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 454064 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp544939jae; Fri, 4 Jun 2021 09:05:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylKkKT95DpFLCwMQf4DmhHgcqOcOQgrZQefUXlz8Z9H+k6XdDal2iOU66Lsy1hRCT++Xmo X-Received: by 2002:a17:907:6289:: with SMTP id nd9mr4801587ejc.384.1622822728973; Fri, 04 Jun 2021 09:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622822728; cv=none; d=google.com; s=arc-20160816; b=IiGXxkl8q9TgXN5t3KRVFiKaXEXOeyiUEmvgQcuY6yIKZ8IOaT2/MWqZ5htnLZSwzL bEW4/uaoNlkNkden6jZw0NoYE0u/L7AXCen/q9Wjp991KDWLUdm11KvV+DNrNpAgs7ma wCiXFi6uWkVTdphy9fIfSs8XLmNDFlXU0ZvypdGjV4mMCscWXz9wfJ76gEFQehMBVZvb FRC6BmVIbMxnpnoQneLzD+N6PJXYECNiaiuiwn9f5ecj1f3csqxvP1YrQokY3dnIyk3b wwNMtc1wYy8eu7N0FEpt4c+lRdWAJ14SAINjRDUq+jIjTKPJpM0jpzPhS8kjBrn4GZvQ vLmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=67nZUzxSZk/gVJPBhG39pqDikF99Pp1OEKbjWVU7ILs=; b=t/AXs8gjAFPp10AB0ZXjdoePYeuh1yWBvbmEA6wBzib3GTyigUysu2U8dERXOD3qdF T9YgQIC+avqD95OgqRLSv2wPBNQJYPIH53/jSFT07kD2a87IJWIK4tsrVvoiJt2D6XTU XCRB7xd3cTT1WT77CvSHrKEGUmgHSZcXOIJWLENOx+sIBbf71C8+dCr+JfdtgZ36fbM6 rYLERgIUrBCbeVO9D5W6elmdvVgSpHfzDFwHrTpuuA9igtzOh+oUoAwzbJbqulswu4f7 0YiNAovy/TLZZRcjVe3cSN52dV1m5FcbmADkMuiKe93kI3rvKsBMmXcO0HCA1WFoj54f bWcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=m3KM02st; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c9si4989533edv.134.2021.06.04.09.05.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jun 2021 09:05:28 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=m3KM02st; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpCK8-0002vv-0C for patch@linaro.org; Fri, 04 Jun 2021 12:05:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpC8U-0002Xd-Tk for qemu-devel@nongnu.org; Fri, 04 Jun 2021 11:53:26 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:34481) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lpC8P-0008QC-Fe for qemu-devel@nongnu.org; Fri, 04 Jun 2021 11:53:26 -0400 Received: by mail-wm1-x32f.google.com with SMTP id u5-20020a7bc0450000b02901480e40338bso4495442wmc.1 for ; Fri, 04 Jun 2021 08:53:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=67nZUzxSZk/gVJPBhG39pqDikF99Pp1OEKbjWVU7ILs=; b=m3KM02stufm+OUqybEoRGCzWNyZvvNEe6dwY6eFwewV0WulgmwmgiwjcSiyILfgiI5 GK4vPvD2aMrXn0bbWhgitB2yCpeCFQU2PVP0wC/y21vxeV0k/1BVJG8bjh/84ooWmUJU CSLCMZnWlpDOEUysvdArApkjInVlqzC5DHk4GnElnHYdlmNEeLjp17InzU2VS3HEBywV +vxVQ3RjV67Q4YLLfNxjfWoi0jwPdM3OZY8JqqB8+9ftFJlQrSPjJ9tjqGZBxgNIz1pi GOWZr65ReY3bZLzGB/yzXL6D7OdfnqYX4jUJ61//KvKHU6Ohs3AQ4Ti2EidVUVyE/y6Z C2Pw== 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:mime-version:content-transfer-encoding; bh=67nZUzxSZk/gVJPBhG39pqDikF99Pp1OEKbjWVU7ILs=; b=E72mWJUzLUGFTy3yQP/VxkBixEbPQ2+cdj5W7n2KCyXwWWxxC3xLX2TAK4CSMHvppb m8w7x/ZsR11YP8NycIlhGe+yqZBpOHCAkcx3aEV5dpcsxnrxSYkPOEyXb63MNROoo2qV EJ7ZvY5pSXvpSRlb78/VP6KFJ0g7PG+x5J2BenA8oJ9T+qzwVIQmIen6R9UFHP/qodw0 wQfcMHISfu3fEGUdTzgl/FAE1VKHguS4RpNEIPe+2jrQq4bF/MoYXeEaY0vKFEZvPEWe 6EwuJrIFbGWYRF0ZOpwcyY2sJdf6Gx0OixCtd8KGFwRo7ez6SgvHNu/9s0wYEQ0mMsPM 1U7A== X-Gm-Message-State: AOAM530HjyMym/QmCpgE/0ELu9wQ191wI8KDByZSlWix6/BU6zpSaSbC +qFJ75hkbAxi6t25hfGdy6DBZQ== X-Received: by 2002:a05:600c:3658:: with SMTP id y24mr4406058wmq.122.1622822000148; Fri, 04 Jun 2021 08:53:20 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r2sm7160694wrv.39.2021.06.04.08.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 08:53:17 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id CDF2F1FF91; Fri, 4 Jun 2021 16:53:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v16 05/99] qtest/arm-cpu-features: Restrict sve_tests_sve_off_kvm test to KVM Date: Fri, 4 Jun 2021 16:51:38 +0100 Message-Id: <20210604155312.15902-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210604155312.15902-1-alex.bennee@linaro.org> References: <20210604155312.15902-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Andrew Jones , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Thomas Huth , qemu-arm@nongnu.org, Paolo Bonzini , =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé The sve_tests_sve_off_kvm() test is KVM specific. Only run it if KVM is available. Suggested-by: Andrew Jones Reviewed-by: Andrew Jones Reviewed-by: Alex Bennée Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée Message-Id: <20210505125806.1263441-6-philmd@redhat.com> --- tests/qtest/arm-cpu-features.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/tests/qtest/arm-cpu-features.c b/tests/qtest/arm-cpu-features.c index 7f4b252127..66300c3bc2 100644 --- a/tests/qtest/arm-cpu-features.c +++ b/tests/qtest/arm-cpu-features.c @@ -604,6 +604,8 @@ int main(int argc, char **argv) if (g_str_equal(qtest_get_arch(), "aarch64") && qtest_has_accel("kvm")) { qtest_add_data_func("/arm/kvm/query-cpu-model-expansion", NULL, test_query_cpu_model_expansion_kvm); + qtest_add_data_func("/arm/kvm/query-cpu-model-expansion/sve-off", + NULL, sve_tests_sve_off_kvm); } if (g_str_equal(qtest_get_arch(), "aarch64")) { @@ -611,8 +613,6 @@ int main(int argc, char **argv) NULL, sve_tests_sve_max_vq_8); qtest_add_data_func("/arm/max/query-cpu-model-expansion/sve-off", NULL, sve_tests_sve_off); - qtest_add_data_func("/arm/kvm/query-cpu-model-expansion/sve-off", - NULL, sve_tests_sve_off_kvm); } return g_test_run();