Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4073492rdb; Thu, 14 Sep 2023 10:55:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFCZ/CDy7bjUr37w/UCwqmMQL9n7M04+3KrcMxytDfOoh68swCdzzgfGVXqPSfbHzZopDm/ X-Received: by 2002:a05:6358:728:b0:142:d71b:59ce with SMTP id e40-20020a056358072800b00142d71b59cemr6317379rwj.26.1694714151192; Thu, 14 Sep 2023 10:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694714151; cv=none; d=google.com; s=arc-20160816; b=P1nQC9s8kn6ZMx8AMWBH7BoQrzj2s3OWh2UXaGhhpW5F8F0r5xxl/sP7RPWXiABlpD Gkw/QvQsAP/ic8FyI68MgBrXOlF6vHBq7Ro26QWZWI2okEGhvRqxWUUQYeaQwPagx458 xFdjQvoAETNfb+a1YB3ZnREUbHF57TO5Rj2iNcUwiQYgrhnuBCa9TdRxAS7LBwEDPKZy MbZrVN12fLZRzm3iJGC6iIr4UtxOFTQxMDB0KOvcpncIn4QZ4E4URBa7Mzs3syHLhqGf zhgjI4pcmfLXwT3ZKDMlyOXAj3Bp5INAF3EXSyFgfqtiqKoqPGICgC0Uh6fDvA3sCQs3 S8kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=87hkIaEeaycrb+JmT+Kn5bO8XmPQAs/7YcVaTE26sUI=; fh=myaEZ+3JjsUaUGW3p9v1N5heI7mO6fDyU9RRcCTgvUM=; b=EQaiWhJKUJ5ycq3QLwtq+41wJ4+/5dxq9v/JELSXcKGiIduv59Vwzp8TA5Nvc9SUf9 vs7xmSgTd/iqpNHat+KT97j9pbwzKJlzmxag1V5e648VWVrRQSk+bh78NQb6ZxGdNZY7 RnSHTzF6CUwYyMYddWSdqipzQDCPRVGBhGmqzcxeBHbaGYVvqecEz/lgv9ZR9aZ+aVDC 3ZXykhU7MrVSgix6ipDA5CkVOvrz3wz2j7gCwg44g0iY6ANg6qlZTLR48BS8p6SMZzBd 594rdcNYjPtTA7W7mqtDh79PXRsQSdFFYiceHYTt8pEt9I3eUOIP2PXq4HY6MDm2iR/6 8Chg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=KF5cQPlh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id m1-20020a656a01000000b005775161c510si2016579pgu.504.2023.09.14.10.55.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 10:55:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=KF5cQPlh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CAFF18324986; Thu, 14 Sep 2023 02:52:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233151AbjINJwL (ORCPT + 99 others); Thu, 14 Sep 2023 05:52:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237464AbjINJwJ (ORCPT ); Thu, 14 Sep 2023 05:52:09 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 314901FC2 for ; Thu, 14 Sep 2023 02:52:03 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-31f7638be6eso669123f8f.3 for ; Thu, 14 Sep 2023 02:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1694685121; x=1695289921; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=87hkIaEeaycrb+JmT+Kn5bO8XmPQAs/7YcVaTE26sUI=; b=KF5cQPlhzQZJn23fWS1ibp4Z4H8CuKL7wivlrBWqGKQBC0Eyfv9HS02MTXJ2iSo9YI opQgPDoEbYiikbQoyEbzxrOnkA24Qf27nJwX/gmA7FP/2Xl709igvbkEFpWLJB2IwAfE ngkMOiybQz/ekgnugz/gVc/KY8QQ66qcRt+J9GCexzgWdSNBm+aUyrtCddcIoi5NMdQp SAnw7yGg3tbUwgexKVaCfSXH/2iMN9MOGMwxKjfZaee2QIiymNl1hIJ5ocaqHolDELGP h0EiKEoe2UsDSod6JS/4lOSNN/JQAsgdXLFWYgtTJb6rLo3xxhmLuLbUD8S3ctwmfea5 rImQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694685121; x=1695289921; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=87hkIaEeaycrb+JmT+Kn5bO8XmPQAs/7YcVaTE26sUI=; b=K6aJTkDpLecB4ln107upud/lMVFgMgynJRTifCg5FEL91ExDk9hgzn9aIIeBrVzdZw Sb4l0hA6PU+NTgxJF96iRIgbGy/8yvDhaENom7+yWMsC7WAbTc7h3T+83PVByOLGOUPB kzuzE8chZp9XmXblMjooz3YkkIp4+X6pxqpDjz9UTUY0BjBLiApW5qeaYUsLhtmRhbr0 hCQkyYKfn48jGN4JMtCDNLd9P0d7x28Hy13SWUOEcC04dMhhK+N2RAOmRC0o9V7AN/Oj k4PzUYBfiORlR66p1u2sg0bKjT5rtzSV9d4lFZ+Q/54SyxqCYuK6f/ypDW0do7+/cD+b wFBQ== X-Gm-Message-State: AOJu0Yxhi8Ui1TKtKOoUGNlBpcyFgijXzOu86U6xAJi84Z4Mfg4G2bdR Rz1pQm0emmb7sVr/pIRVCboGew== X-Received: by 2002:adf:e7cb:0:b0:318:8ad:f9f with SMTP id e11-20020adfe7cb000000b0031808ad0f9fmr4346446wrn.24.1694685121603; Thu, 14 Sep 2023 02:52:01 -0700 (PDT) Received: from localhost (cst2-173-16.cust.vodafone.cz. [31.30.173.16]) by smtp.gmail.com with ESMTPSA id j4-20020a5d6184000000b003176c6e87b1sm1290730wru.81.2023.09.14.02.52.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:52:00 -0700 (PDT) Date: Thu, 14 Sep 2023 11:51:59 +0200 From: Andrew Jones To: Haibo Xu Cc: xiaobo55x@gmail.com, Paul Walmsley , Palmer Dabbelt , Albert Ou , Paolo Bonzini , Shuah Khan , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Anup Patel , Atish Patra , Sean Christopherson , Ricardo Koller , Vishal Annapurve , Vitaly Kuznetsov , Vipin Sharma , David Matlack , Colton Lewis , Aaron Lewis , Thomas Huth , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org Subject: Re: [PATCH v3 9/9] KVM: riscv: selftests: Add sstc timer test Message-ID: <20230914-d2e594e7d84503ad14036e2d@orel> References: <64e0637cd6f22dd7557ed44bd2242001e7830d1c.1694421911.git.haibo1.xu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <64e0637cd6f22dd7557ed44bd2242001e7830d1c.1694421911.git.haibo1.xu@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:52:16 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On Thu, Sep 14, 2023 at 09:37:03AM +0800, Haibo Xu wrote: > Add a KVM selftests to validate the Sstc timer functionality. > The test was ported from arm64 arch timer test. I just tried this test out. Running it over and over again on QEMU I see it works sometimes, but it frequently fails with the GUEST_ASSERT_EQ(config_iter + 1, irq_iter) assert and at least once I also saw the __GUEST_ASSERT(xcnt >= cmp) assert. Thanks, drew