[PATCH v3 9/9] KVM: riscv: selftests: Add sstc timer test

Andrew Jones ajones at ventanamicro.com
Thu Sep 14 02:51:59 PDT 2023


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



More information about the kvm-riscv mailing list