All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Jones <ajones@ventanamicro.com>
To: Haibo Xu <haibo1.xu@intel.com>
Cc: xiaobo55x@gmail.com, Paul Walmsley <paul.walmsley@sifive.com>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Shuah Khan <shuah@kernel.org>, Marc Zyngier <maz@kernel.org>,
	Oliver Upton <oliver.upton@linux.dev>,
	James Morse <james.morse@arm.com>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	Anup Patel <anup@brainfault.org>,
	Atish Patra <atishp@atishpatra.org>,
	Sean Christopherson <seanjc@google.com>,
	Ricardo Koller <ricarkol@google.com>,
	Vishal Annapurve <vannapurve@google.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	Vipin Sharma <vipinsh@google.com>,
	David Matlack <dmatlack@google.com>,
	Colton Lewis <coltonlewis@google.com>,
	Aaron Lewis <aaronlewis@google.com>,
	Thomas Huth <thuth@redhat.com>,
	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
Date: Thu, 14 Sep 2023 11:51:59 +0200	[thread overview]
Message-ID: <20230914-d2e594e7d84503ad14036e2d@orel> (raw)
In-Reply-To: <64e0637cd6f22dd7557ed44bd2242001e7830d1c.1694421911.git.haibo1.xu@intel.com>

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

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Jones <ajones@ventanamicro.com>
To: Haibo Xu <haibo1.xu@intel.com>
Cc: xiaobo55x@gmail.com, Paul Walmsley <paul.walmsley@sifive.com>,
	 Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	 Paolo Bonzini <pbonzini@redhat.com>,
	Shuah Khan <shuah@kernel.org>, Marc Zyngier <maz@kernel.org>,
	 Oliver Upton <oliver.upton@linux.dev>,
	James Morse <james.morse@arm.com>,
	 Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	 Anup Patel <anup@brainfault.org>,
	Atish Patra <atishp@atishpatra.org>,
	 Sean Christopherson <seanjc@google.com>,
	Ricardo Koller <ricarkol@google.com>,
	 Vishal Annapurve <vannapurve@google.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	 Vipin Sharma <vipinsh@google.com>,
	David Matlack <dmatlack@google.com>,
	 Colton Lewis <coltonlewis@google.com>,
	Aaron Lewis <aaronlewis@google.com>,
	 Thomas Huth <thuth@redhat.com>,
	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
Date: Thu, 14 Sep 2023 11:51:59 +0200	[thread overview]
Message-ID: <20230914-d2e594e7d84503ad14036e2d@orel> (raw)
In-Reply-To: <64e0637cd6f22dd7557ed44bd2242001e7830d1c.1694421911.git.haibo1.xu@intel.com>

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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Jones <ajones@ventanamicro.com>
To: Haibo Xu <haibo1.xu@intel.com>
Cc: xiaobo55x@gmail.com, Paul Walmsley <paul.walmsley@sifive.com>,
	 Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	 Paolo Bonzini <pbonzini@redhat.com>,
	Shuah Khan <shuah@kernel.org>, Marc Zyngier <maz@kernel.org>,
	 Oliver Upton <oliver.upton@linux.dev>,
	James Morse <james.morse@arm.com>,
	 Suzuki K Poulose <suzuki.poulose@arm.com>,
	Zenghui Yu <yuzenghui@huawei.com>,
	 Anup Patel <anup@brainfault.org>,
	Atish Patra <atishp@atishpatra.org>,
	 Sean Christopherson <seanjc@google.com>,
	Ricardo Koller <ricarkol@google.com>,
	 Vishal Annapurve <vannapurve@google.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	 Vipin Sharma <vipinsh@google.com>,
	David Matlack <dmatlack@google.com>,
	 Colton Lewis <coltonlewis@google.com>,
	Aaron Lewis <aaronlewis@google.com>,
	 Thomas Huth <thuth@redhat.com>,
	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
Date: Thu, 14 Sep 2023 11:51:59 +0200	[thread overview]
Message-ID: <20230914-d2e594e7d84503ad14036e2d@orel> (raw)
In-Reply-To: <64e0637cd6f22dd7557ed44bd2242001e7830d1c.1694421911.git.haibo1.xu@intel.com>

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2023-09-14  9:52 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14  1:36 [PATCH v3 0/9] RISCV: Add kvm Sstc timer selftests Haibo Xu
2023-09-14  1:36 ` Haibo Xu
2023-09-14  1:36 ` Haibo Xu
2023-09-14  1:36 ` Haibo Xu
2023-09-14  1:36 ` [PATCH v3 1/9] KVM: selftests: Unify the codes for guest exception handling Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36 ` [PATCH v3 2/9] KVM: selftests: Unify the makefile rule for split targets Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  8:46   ` Andrew Jones
2023-09-14  8:46     ` Andrew Jones
2023-09-14  8:46     ` Andrew Jones
2023-10-03 10:28   ` Andrew Jones
2023-10-03 10:28     ` Andrew Jones
2023-10-03 10:28     ` Andrew Jones
2023-10-08  2:58     ` Haibo Xu
2023-10-08  2:58       ` Haibo Xu
2023-10-08  2:58       ` Haibo Xu
2023-11-22  8:13       ` Andrew Jones
2023-11-22  8:13         ` Andrew Jones
2023-11-22  8:13         ` Andrew Jones
2023-11-23  2:50         ` Haibo Xu
2023-11-23  2:50           ` Haibo Xu
2023-11-23  2:50           ` Haibo Xu
2023-09-14  1:36 ` [PATCH v3 3/9] KVM: arm64: selftests: Split arch_timer test code Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  8:43   ` Andrew Jones
2023-09-14  8:43     ` Andrew Jones
2023-09-14  8:43     ` Andrew Jones
2023-09-14  1:36 ` [PATCH v3 4/9] tools: riscv: Add header file csr.h Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  8:14   ` Andrew Jones
2023-09-14  8:14     ` Andrew Jones
2023-09-14  8:14     ` Andrew Jones
2023-09-15  6:08     ` Haibo Xu
2023-09-15  6:08       ` Haibo Xu
2023-09-15  6:08       ` Haibo Xu
2023-09-14  1:36 ` [PATCH v3 5/9] KVM: riscv: selftests: Switch to use macro from csr.h Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  1:36   ` Haibo Xu
2023-09-14  8:52   ` Andrew Jones
2023-09-14  8:52     ` Andrew Jones
2023-09-14  8:52     ` Andrew Jones
2023-09-15  6:13     ` Haibo Xu
2023-09-15  6:13       ` Haibo Xu
2023-09-15  6:13       ` Haibo Xu
2023-09-14  1:37 ` [PATCH v3 6/9] KVM: riscv: selftests: Add exception handling support Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37 ` [PATCH v3 7/9] KVM: riscv: selftests: Add guest helper to get vcpu id Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37 ` [PATCH v3 8/9] KVM: riscv: selftests: Change vcpu_has_ext to a common function Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  9:05   ` Andrew Jones
2023-09-14  9:05     ` Andrew Jones
2023-09-14  9:05     ` Andrew Jones
2023-09-15  6:14     ` Haibo Xu
2023-09-15  6:14       ` Haibo Xu
2023-09-15  6:14       ` Haibo Xu
2023-09-14  1:37 ` [PATCH v3 9/9] KVM: riscv: selftests: Add sstc timer test Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  1:37   ` Haibo Xu
2023-09-14  9:36   ` Andrew Jones
2023-09-14  9:36     ` Andrew Jones
2023-09-14  9:36     ` Andrew Jones
2023-09-14  9:52     ` Conor Dooley
2023-09-14  9:52       ` Conor Dooley
2023-09-14  9:52       ` Conor Dooley
2023-09-14 10:15       ` Andrew Jones
2023-09-14 10:15         ` Andrew Jones
2023-09-14 10:15         ` Andrew Jones
2023-09-15  6:23         ` Haibo Xu
2023-09-15  6:23           ` Haibo Xu
2023-09-15  6:23           ` Haibo Xu
2023-09-14  9:51   ` Andrew Jones [this message]
2023-09-14  9:51     ` Andrew Jones
2023-09-14  9:51     ` Andrew Jones
2023-09-15  6:21     ` Haibo Xu
2023-09-15  6:21       ` Haibo Xu
2023-09-15  6:21       ` Haibo Xu
2023-12-04  2:42       ` Haibo Xu
2023-12-04  2:42         ` Haibo Xu
2023-12-04  2:42         ` Haibo Xu
2023-12-04 11:32         ` Andrew Jones
2023-12-04 11:32           ` Andrew Jones
2023-12-04 11:32           ` Andrew Jones
2023-12-05  7:58           ` Haibo Xu
2023-12-05  7:58             ` Haibo Xu
2023-12-05  7:58             ` Haibo Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230914-d2e594e7d84503ad14036e2d@orel \
    --to=ajones@ventanamicro.com \
    --cc=aaronlewis@google.com \
    --cc=anup@brainfault.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=atishp@atishpatra.org \
    --cc=coltonlewis@google.com \
    --cc=dmatlack@google.com \
    --cc=haibo1.xu@intel.com \
    --cc=james.morse@arm.com \
    --cc=kvm-riscv@lists.infradead.org \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.linux.dev \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=maz@kernel.org \
    --cc=oliver.upton@linux.dev \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=pbonzini@redhat.com \
    --cc=ricarkol@google.com \
    --cc=seanjc@google.com \
    --cc=shuah@kernel.org \
    --cc=suzuki.poulose@arm.com \
    --cc=thuth@redhat.com \
    --cc=vannapurve@google.com \
    --cc=vipinsh@google.com \
    --cc=vkuznets@redhat.com \
    --cc=xiaobo55x@gmail.com \
    --cc=yuzenghui@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.