linux-yocto/drivers/mailbox
Peng Fan 35cda8619d mailbox: Not protect module_put with spin_lock_irqsave
[ Upstream commit dddbd233e6 ]

&chan->lock is not supposed to protect 'chan->mbox'.
And in __mbox_bind_client, try_module_get is also not protected
by &chan->lock. So move module_put out of the lock protected
region.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-06 11:00:05 +02:00
..
apple-mailbox.c
arm_mhu_db.c
arm_mhu.c
arm_mhuv2.c
armada-37xx-rwtm-mailbox.c
bcm-flexrm-mailbox.c
bcm-pdc-mailbox.c
bcm2835-mailbox.c
hi3660-mailbox.c
hi6220-mailbox.c
imx-mailbox.c
Kconfig
mailbox-altera.c
mailbox-mpfs.c
mailbox-sti.c
mailbox-test.c
mailbox-xgene-slimpro.c
mailbox.c mailbox: Not protect module_put with spin_lock_irqsave 2025-07-06 11:00:05 +02:00
mailbox.h
Makefile
mtk-adsp-mailbox.c
mtk-cmdq-mailbox.c
omap-mailbox.c
pcc.c mailbox: pcc: Use acpi_os_ioremap() instead of ioremap() 2025-06-04 14:41:54 +02:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c
qcom-ipcc.c
rockchip-mailbox.c
sprd-mailbox.c
stm32-ipcc.c
sun6i-msgbox.c
tegra-hsp.c mailbox: tegra-hsp: Define dimensioning masks in SoC data 2025-04-25 10:45:28 +02:00
ti-msgmgr.c
zynqmp-ipi-mailbox.c