qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [kvm-unit-tests PATCH v2 6/9] arm: pmu: Test chained counter


From: Peter Maydell
Subject: Re: [kvm-unit-tests PATCH v2 6/9] arm: pmu: Test chained counter
Date: Tue, 11 Feb 2020 16:24:52 +0000

On Thu, 30 Jan 2020 at 11:26, Eric Auger <address@hidden> wrote:
>
> Add 2 tests exercising chained counters. The first one uses
> CPU_CYCLES and the second one uses SW_INCR.
>
> Signed-off-by: Eric Auger <address@hidden>
> +static void test_chained_sw_incr(void)
> +{
> +       uint32_t events[] = { 0x0 /* SW_INCR */, 0x0 /* SW_INCR */};

Cut-n-paste error? This test relies on the CHAIN event but it
isn't present in this list of events to pass to satisfy_prerequisites(),
so I suspect the second element should be "0x1e /* CHAIN */" ?

(This makes the test fail on QEMU TCG, because we don't implement
CHAIN.)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]