Skip to content
Commit 8a1e97ee authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] SMTC: Fix recursion in instant IPI replay code.



local_irq_restore -> raw_local_irq_restore -> irq_restore_epilog ->
	smtc_ipi_replay -> smtc_ipi_dq -> spin_unlock_irqrestore ->
	_spin_unlock_irqrestore -> local_irq_restore

The recursion does abort when there is no more IPI queued for a CPU, so
this isn't usually fatal which is why we got away with this for so long
until this was discovered by code inspection.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 6c9fde4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment