On Fri, Sep 29, 2023 at 09:19:37PM +0000, Matthias Rosenfelder wrote: > Hello, > > I think one of the test conditions for the KVM PMU unit test "basic_event_count" is not strong enough. It only checks whether an overflow occurred for counter #0, but it should also check that none happened for the other counter(s): > > report(read_sysreg(pmovsclr_el0) & 0x1, > "check overflow happened on #0 only"); > > This should be "==" instead of "&". > > Note that this test uses one more counter (#1), which must not overflow. This should also be checked, even though this would be visible through the "report_info()" a few lines above. But the latter does not mark the test failing - it is purely informational, so any test automation will not notice. > > > I apologize in advance if my email program at work messes up any formatting. Please let me know and I will try to reconfigure and resend if necessary. Thank you. Hey Matthias, We let you know the formatting was wrong, but we haven't yet received a resend. But, since Eric already reviewed it, I've gone ahead and applied it to arm/queue with this fixes tag Fixes: 4ce2a8045624 ("arm: pmu: Basic event counter Tests") drew