Re: [PATCH 1/2] soc: fsl: qbman: Always disable interrupts when taking cgr_lock

2023-03-31 Thread Sean Anderson
vger.kernel.org; David S . >> Miller ; Claudiu Manoil ; >> Roy Pledge ; Vladimir Oltean >> ; Camelia Alexandra Groza >> ; Sean Anderson >> Subject: [PATCH 1/2] soc: fsl: qbman: Always disable interrupts when taking >> cgr_lock >> >> smp_call_functio

RE: [PATCH 1/2] soc: fsl: qbman: Always disable interrupts when taking cgr_lock

2023-03-31 Thread Camelia Alexandra Groza
Pledge ; Vladimir Oltean > ; Camelia Alexandra Groza > ; Sean Anderson > Subject: [PATCH 1/2] soc: fsl: qbman: Always disable interrupts when taking > cgr_lock > > smp_call_function_single disables IRQs when executing the callback. To > prevent deadlocks, we must disable IRQs when

[PATCH 1/2] soc: fsl: qbman: Always disable interrupts when taking cgr_lock

2023-03-27 Thread Sean Anderson
smp_call_function_single disables IRQs when executing the callback. To prevent deadlocks, we must disable IRQs when taking cgr_lock elsewhere. This is already done by qman_update_cgr and qman_delete_cgr; fix the other lockers. Fixes: c535e923bb97 ("soc/fsl: Introduce DPAA 1.x QMan device driver")