summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2025-05-25 16:47:24 +0800
committerJassi Brar <jassisinghbrar@gmail.com>2025-05-26 16:23:39 -0500
commitf5cb07ec6aabd1bb56adbdeb5f0d70cb524db2cd (patch)
tree0b05071e8770a8a387347a4dd388c499ac7833ae /net/lapb/lapb_subr.c
parentd635ba4207c31940398c41caa0cedd80f3b9c9c7 (diff)
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: 5bfe4067d350 ("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>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions