From patchwork Thu Oct 20 12:35:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ani Sinha X-Patchwork-Id: 13013635 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF79FC433FE for ; Thu, 20 Oct 2022 15:08:03 +0000 (UTC) Received: from localhost ([::1]:54076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olX9N-0000Sh-4r for qemu-devel@archiver.kernel.org; Thu, 20 Oct 2022 11:08:01 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olWyx-0004Ox-N0 for qemu-devel@archiver.kernel.org; Thu, 20 Oct 2022 10:57:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olUmO-0008BS-Fw for qemu-devel@nongnu.org; Thu, 20 Oct 2022 08:36:22 -0400 Received: from mail-pg1-x536.google.com ([2607:f8b0:4864:20::536]:37557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olUmL-00072K-Rh for qemu-devel@nongnu.org; Thu, 20 Oct 2022 08:36:07 -0400 Received: by mail-pg1-x536.google.com with SMTP id bh13so19090322pgb.4 for ; Thu, 20 Oct 2022 05:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anisinha-ca.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jEk7FxdszojxPPvnT3ShmomJx+A87ZwEhsEjJZPdWVk=; b=E1aoPCPqbEsTqiPDorJoGZQjJSLWSQY5ZD5/3aPrPCA7vuuCxQl07p7QZ+UBAULOx2 BzWyoD8hifghkiYFIqvFZIUZbLehnD+ByuAyCACy0EQXdOP37q76qX3jV8LtO9RhvXsh +YjQzPJWViXOHJAIQXG/2GXesbT4Uc5dBYK2s4MgLNtIa1dYioHIzH1J/NYzQaQ3PAnS 0Gea9caiPAR+XrjSstvNHzk7/KfAWb2u1KT8B8+17YWp0c/F+LDIQfQdArMgEaUHLwZ+ Ucqcp0TU+GbaD5vPiHWIGX0OfBr68L+gb2gebz8Rs1mxthb986nX6VuAePv/nAH0NTJf Z0gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jEk7FxdszojxPPvnT3ShmomJx+A87ZwEhsEjJZPdWVk=; b=pc4xIwOCwqM8XKqgOmUTp6l+gmB8MaTO8VU1o1bpVzkkBemZbgP+uwXuUMbg2wk9Ys KyBmi88KJaKFZleCAFfgLne+NjcVOkgMRapmuZvoW2vKiubhh+KeU0dIrKeZ6tN8i2Ve kkNVZA2VV0W4hMKYiMyNNJBucMsxQaRkyCibcuNYWLSqPe7XyzbsSPzNqh9nYzP4tWB7 LFuerKUTtydiV1uDODDDoWxjIEyopJZJ725xGrFoFbRT3LwSzD6biY7OOXQeohIFdoVx Ph7EL7GcBWTk7KDlLSd7dcYOn8PaC7tjWu6Z0u+VxR0S9WFf2L4ixQblvp5zm+iKPVdX MxRw== X-Gm-Message-State: ACrzQf2OUyo4Kpkn7Siaq1oYsJzE4i0RMHJGHIbhDD+SOLxULpRNLkY+ pNfqwXVWV6NMXtx1EQf+/MB5yQ== X-Google-Smtp-Source: AMsMyM7tMGTh2Be4Ri5LiwZIPVSOG5vC0r54pQIlO+5vn8aqwHrxkgL1S8e3sGlzOz4W10ezu1ckyw== X-Received: by 2002:a63:3155:0:b0:45a:553a:3479 with SMTP id x82-20020a633155000000b0045a553a3479mr11560856pgx.408.1666269364242; Thu, 20 Oct 2022 05:36:04 -0700 (PDT) Received: from anisinha-lenovo.ba.nuagenetworks.net ([203.212.246.137]) by smtp.googlemail.com with ESMTPSA id l11-20020a170903244b00b00176b3c9693esm12794174pls.299.2022.10.20.05.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Oct 2022 05:36:03 -0700 (PDT) From: Ani Sinha To: Cleber Rosa , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Cc: Ani Sinha , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Paolo Bonzini , Maydell Peter , John Snow , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Igor Mammedov , Michael Tsirkin , qemu-devel@nongnu.org Subject: [PATCH v6 06/10] acpi/tests/avocado/bits: disable smilatency test since it does not pass everytime Date: Thu, 20 Oct 2022 18:05:02 +0530 Message-Id: <20221020123506.26363-7-ani@anisinha.ca> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221020123506.26363-1-ani@anisinha.ca> References: <20221020123506.26363-1-ani@anisinha.ca> MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::536; envelope-from=ani@anisinha.ca; helo=mail-pg1-x536.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" smilatency test is latency sensitive and does not pass deterministically when run in QEMU environment under biosbits. Disable the test suite for now. Example failure: ==== SMI latency test ==== Warning: touching the keyboard can affect the results of this test. Starting test. Wait here, I will be back in 15 seconds. [assert] SMI latency < 150us to minimize risk of OS timeouts FAIL 1us < t <= 10us; average = 1372ns; count = 10912449 Times between first few observations: 176us 1646ns 1441ns 1450ns 1462ns 10us < t <= 100us; average = 16us; count = 1187 Times between first few observations: 15ms 3148us 5856us 49ms 33ms 100us < t <= 1ms; average = 259us; count = 8 Times between first few observations: 111ms 2227ms 1779ms 999ms 219ms 0 SMI detected using MSR_SMI_COUNT (MSR 0x34) Summary of impact: observed maximum latency = 298us Summary: 0 passed, 1 failed Cc: Daniel P. Berrangé Cc: Paolo Bonzini Cc: Maydell Peter Cc: John Snow Cc: Thomas Huth Cc: Alex Bennée Cc: Igor Mammedov Cc: Michael Tsirkin Signed-off-by: Ani Sinha --- tests/avocado/acpi-bits/bits-tests/smilatency.py2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/avocado/acpi-bits/bits-tests/smilatency.py2 b/tests/avocado/acpi-bits/bits-tests/smilatency.py2 index d616970b31..e907c55cc2 100644 --- a/tests/avocado/acpi-bits/bits-tests/smilatency.py2 +++ b/tests/avocado/acpi-bits/bits-tests/smilatency.py2 @@ -37,8 +37,9 @@ import time import usb def register_tests(): - testsuite.add_test("SMI latency test", smi_latency); - testsuite.add_test("SMI latency test with USB disabled via BIOS handoff", test_with_usb_disabled, runall=False); + pass + # testsuite.add_test("SMI latency test", smi_latency); + # testsuite.add_test("SMI latency test with USB disabled via BIOS handoff", test_with_usb_disabled, runall=False); def smi_latency(): MSR_SMI_COUNT = 0x34