linux/drivers/mailbox
Peng Fan f5cb07ec6a mailbox: imx: Fix TXDB_V2 sending
i.MX95 features several processing domains, Cortex-M7, Cortex-A55
secure, Cortex-A55 non-secure. Each domain could communicate with
SCMI firmware with a dedicated MU. But the current NXP SCMI firmware
is not a RTOS, all processing logic codes are in interrupt context.
So if high priority Cortex-M7 is communicating with SCMI firmware and
requires a bit more time to handle the SCMI call, Linux MU TXDB_V2
will be timeout with high possiblity in 1000us(the current value in
imx-mailbox.c). Per NXP SCMI firmware design, if timeout, there is
no recover logic, so SCMI agents should never timeout and always
wait until the check condition met.

Based on the upper reason, enlarge the timeout value to 10ms which
is less chance to timeout, and retry if timeout really happends.

Fixes: 5bfe4067d3 ("mailbox: imx: support channel type tx doorbell v2")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
2025-05-26 16:23:39 -05:00
..
Kconfig mailbox: mchp-ipc-sbi: Fix COMPILE_TEST build error 2025-05-26 16:23:38 -05:00
Makefile mailbox: add Samsung Exynos driver 2025-01-18 16:18:48 -06:00
arm_mhu.c mailbox: arm_mhu: Constify amba_id table 2025-03-26 20:58:25 -05:00
arm_mhu_db.c mailbox: arm_mhu_db: Constify amba_id table 2025-03-26 20:58:25 -05:00
arm_mhuv2.c mailbox: arm_mhuv2: Constify amba_id table 2025-03-26 20:58:25 -05:00
arm_mhuv3.c mailbox: arm_mhuv3: Add driver 2024-05-19 22:30:09 -05:00
armada-37xx-rwtm-mailbox.c
bcm-flexrm-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
bcm-pdc-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
bcm2835-mailbox.c mailbox: bcm2835: Fix timeout during suspend mode 2024-09-22 19:19:17 -05:00
exynos-mailbox.c mailbox: Remove unneeded semicolon 2025-03-26 20:58:26 -05:00
hi3660-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
hi6220-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
imx-mailbox.c mailbox: imx: Fix TXDB_V2 sending 2025-05-26 16:23:39 -05:00
mailbox-altera.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mailbox-mchp-ipc-sbi.c mailbox: add Microchip IPC support 2025-01-18 16:09:48 -06:00
mailbox-mpfs.c mailbox: mpfs: fix copy and paste bug in probe 2025-01-18 16:04:51 -06:00
mailbox-sti.c mailbox: Use device_get_match_data() 2023-10-15 12:39:16 -05:00
mailbox-test.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
mailbox-th1520.c mailbox: th1520: Fix memory corruption due to incorrect array size 2025-01-18 16:20:55 -06:00
mailbox-xgene-slimpro.c mailbox: xgene-slimpro: Make use of the helper function devm_platform_ioremap_resource() 2021-10-16 14:39:49 -05:00
mailbox.c misc: Constify amba_id table 2025-03-29 18:25:34 -07:00
mailbox.h mailbox: explicitly include <linux/bits.h> 2025-03-26 20:58:25 -05:00
mtk-adsp-mailbox.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
mtk-cmdq-mailbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
omap-mailbox.c kfifo: don't include dma-mapping.h in kfifo.h 2024-10-23 08:05:20 +02:00
pcc.c mailbox: pcc: Refactor and simplify check_and_ack() 2025-03-26 20:58:26 -05:00
pl320-ipc.c mailbox: pl320-ipc: Constify amba_id table 2025-03-26 20:58:24 -05:00
platform_mhu.c mailbox: Explicitly include correct DT includes 2023-09-05 10:10:58 -05:00
qcom-apcs-ipc-mailbox.c mailbox: qcom: Add support for IPQ5424 APCS IPC 2025-01-18 16:17:21 -06:00
qcom-cpucp-mbox.c mailbox: qcom-cpucp: Mark the irq with IRQF_NO_SUSPEND flag 2024-11-24 12:56:31 -06:00
qcom-ipcc.c mailbox: qcom-ipcc: Reset CLEAR_ON_RECV_RD if set from boot firmware 2025-01-18 16:15:33 -06:00
rockchip-mailbox.c mailbox: rockchip: fix a typo in module autoloading 2024-09-22 19:19:17 -05:00
sprd-mailbox.c mailbox: sprd: Use devm_clk_get_enabled() helpers 2024-09-22 19:19:17 -05:00
stm32-ipcc.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
sun6i-msgbox.c mailbox: Switch back to struct platform_driver::remove() 2024-11-24 13:11:01 -06:00
tegra-hsp.c mailbox: tegra-hsp: Define dimensioning masks in SoC data 2025-03-26 20:58:24 -05:00
ti-msgmgr.c mailbox: ti-msgmgr: Remove use of of_match_ptr() helper 2024-11-24 12:57:49 -06:00
zynqmp-ipi-mailbox.c mailbox: zynqmp: Remove invalid __percpu annotation in zynqmp_ipi_probe() 2025-01-18 16:20:21 -06:00