Re: [PATCH v2 0/3] Fix sleeping function called from invalid context

2025-09-05 Thread AngeloGioacchino Del Regno
Il 29/08/25 11:15, Jason-JH Lin ha scritto: We found that there is a spin_lock_irqsave protection in msg_submit() of mailbox.c and it is in the atomic context. So when the mailbox controller driver calls pm_runtime_get_sync() in mbox_chan_ops->send_data(), it will get this BUG report. "BUG: sleep

[PATCH v2 0/3] Fix sleeping function called from invalid context

2025-08-29 Thread Jason-JH Lin
We found that there is a spin_lock_irqsave protection in msg_submit() of mailbox.c and it is in the atomic context. So when the mailbox controller driver calls pm_runtime_get_sync() in mbox_chan_ops->send_data(), it will get this BUG report. "BUG: sleeping function called from invalid context at d