Hi Thomas,
after updating my MT7622 ARM64 device from Linux 5.4.52 to 5.4.59, perf
stopped working. Whenever I started it, I got an IRQ storm on the second
arm-pmu IRQ. After some digging, I figured out that reverting commit
9f8d3d2f79ba189ecc122d214d32396e5737963b ("genirq/affinity: Handle
affinity setting on inactive interrupts correctly") made it work again.
Without the revert, the IRQ storm triggered on CPU0 (no interrupts on
CPU1).
With the revert, IRQs fire normally on CPU1 and perf works again.
It seems that setting the IRQ affinity for the arm-pmu IRQs does not
work anymore.
Please let me know if you need me to test anything.
- Felix
On 2020-08-21 19:38, Felix Fietkau wrote:
> Hi Thomas,
>
> after updating my MT7622 ARM64 device from Linux 5.4.52 to 5.4.59, perf
> stopped working. Whenever I started it, I got an IRQ storm on the second
> arm-pmu IRQ. After some digging, I figured out that reverting commit
> 9f8d3d2f79ba189ecc122d214d32396e5737963b ("genirq/affinity: Handle
> affinity setting on inactive interrupts correctly") made it work again.
Never mind, I just found your fix in 5.4.60 and it works for me.
Sorry for the noise :)
- Felix