Re: [PATCH] irqchip/sifive-plic: Fix broken irq_set_affinity() callback

2020-10-25 Thread Marc Zyngier
On Tue, 20 Oct 2020 16:15:32 +0800, Greentime Hu wrote: > It will always enable the interrupt after calling plic_set_affinity() > however it should set to it previous setting. Staying disabled or enabled. > > This patch can also fix this pwm hang issue in Unleashed board. > > [ 919.015783] rcu:

Re: [PATCH] irqchip/sifive-plic: Fix broken irq_set_affinity() callback

2020-10-20 Thread Anup Patel
On Tue, Oct 20, 2020 at 1:45 PM Greentime Hu wrote: > > It will always enable the interrupt after calling plic_set_affinity() > however it should set to it previous setting. Staying disabled or enabled. > > This patch can also fix this pwm hang issue in Unleashed board. > > [ 919.015783] rcu: INF

[PATCH] irqchip/sifive-plic: Fix broken irq_set_affinity() callback

2020-10-20 Thread Greentime Hu
It will always enable the interrupt after calling plic_set_affinity() however it should set to it previous setting. Staying disabled or enabled. This patch can also fix this pwm hang issue in Unleashed board. [ 919.015783] rcu: INFO: rcu_sched detected stalls on CPUs/tasks: [ 919.020922] rcu: