linux-yocto/drivers/mailbox
Peng Fan 8a997e1ab5 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:01:32 +02:00
..
arm_mhu_db.c
arm_mhu.c
arm_mhuv2.c mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb() 2024-12-05 14:02:17 +01:00
arm_mhuv3.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 mailbox: imx: Fix TXDB_V2 sending 2025-06-19 15:32:07 +02:00
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:01:32 +02:00
mailbox.h
Makefile
mtk-adsp-mailbox.c
mtk-cmdq-mailbox.c mailbox: mtk-cmdq: Refine GCE_GCTL_VALUE setting 2025-06-19 15:32:07 +02:00
omap-mailbox.c kfifo: don't include dma-mapping.h in kfifo.h 2024-12-05 14:03:03 +01:00
pcc.c mailbox: pcc: Use acpi_os_ioremap() instead of ioremap() 2025-05-29 11:02:04 +02:00
pl320-ipc.c
platform_mhu.c
qcom-apcs-ipc-mailbox.c
qcom-cpucp-mbox.c mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag 2024-11-12 19:45:25 +01:00
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-20 10:15:45 +02:00
ti-msgmgr.c
zynqmp-ipi-mailbox.c mailbox: zynqmp: Remove invalid __percpu annotation in zynqmp_ipi_probe() 2025-02-17 10:05:40 +01:00