Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/qcom-mpm: Add missing mailbox TX done acknowledgment

The mbox_client for qcom-mpm sends NULL doorbell messages via
mbox_send_message() but never signals TX completion.

Set knows_txdone=true and call mbox_client_txdone() after a successful
send, matching the pattern used by other Qualcomm mailbox clients (smp2p,
smsm, qcom_aoss etc).

Fixes: a6199bb514d8a6 "irqchip: Add Qualcomm MPM controller driver"
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260322171533.608436-1-jassisinghbrar@gmail.com

authored by

Jassi Brar and committed by
Thomas Gleixner
cfe02147 6de23f81

+3
+3
drivers/irqchip/irq-qcom-mpm.c
··· 306 306 if (ret < 0) 307 307 return ret; 308 308 309 + mbox_client_txdone(priv->mbox_chan, 0); 310 + 309 311 return 0; 310 312 } 311 313 ··· 436 434 } 437 435 438 436 priv->mbox_client.dev = dev; 437 + priv->mbox_client.knows_txdone = true; 439 438 priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0); 440 439 if (IS_ERR(priv->mbox_chan)) { 441 440 ret = PTR_ERR(priv->mbox_chan);