qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] hw/arm: fix PMU IRQ registration


From: Peter Maydell
Subject: Re: [PATCH] hw/arm: fix PMU IRQ registration
Date: Fri, 3 Nov 2023 14:27:32 +0000

On Fri, 3 Nov 2023 at 14:14, Sebastian Ott <sebott@redhat.com> wrote:
>
> Since commit 9036e917f8 ("{include/}hw/arm: refactor virt PPI logic")
> PMU IRQ registration fails for arm64 guests:
>
> [    0.563689] hw perfevents: unable to request IRQ14 for ARM PMU counters
> [    0.565160] armv8-pmu: probe of pmu failed with error -22
>
> That commit re-defined VIRTUAL_PMU_IRQ to be a INTID but missed a case
> where the PMU IRQ is actually referred by its PPI index. Fix that by using
> INTID_TO_PPI() in that case.
>
> Fixes: 9036e917f8 ("{include/}hw/arm: refactor virt PPI logic")
> Signed-off-by: Sebastian Ott <sebott@redhat.com>

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1960

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM



reply via email to

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