* [PATCHv2] irqchip/qcom-mpm: Fix missing mailbox TX done acknowledgment
@ 2026-03-22 17:15 jassisinghbrar
2026-03-24 16:09 ` [tip: irq/urgent] irqchip/qcom-mpm: Add " tip-bot2 for Jassi Brar
0 siblings, 1 reply; 2+ messages in thread
From: jassisinghbrar @ 2026-03-22 17:15 UTC (permalink / raw)
To: tglx, linux-kernel, linux-arm-kernel
Cc: dianders, shawn.guo, maz, stable, andersson, Jassi Brar
From: Jassi Brar <jassisinghbrar@gmail.com>
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"
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
---
drivers/irqchip/irq-qcom-mpm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/irqchip/irq-qcom-mpm.c b/drivers/irqchip/irq-qcom-mpm.c
index 83f31ea657b7..181320528a47 100644
--- a/drivers/irqchip/irq-qcom-mpm.c
+++ b/drivers/irqchip/irq-qcom-mpm.c
@@ -306,6 +306,8 @@ static int mpm_pd_power_off(struct generic_pm_domain *genpd)
if (ret < 0)
return ret;
+ mbox_client_txdone(priv->mbox_chan, 0);
+
return 0;
}
@@ -434,6 +436,7 @@ static int qcom_mpm_probe(struct platform_device *pdev, struct device_node *pare
}
priv->mbox_client.dev = dev;
+ priv->mbox_client.knows_txdone = true;
priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0);
if (IS_ERR(priv->mbox_chan)) {
ret = PTR_ERR(priv->mbox_chan);
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip: irq/urgent] irqchip/qcom-mpm: Add missing mailbox TX done acknowledgment
2026-03-22 17:15 [PATCHv2] irqchip/qcom-mpm: Fix missing mailbox TX done acknowledgment jassisinghbrar
@ 2026-03-24 16:09 ` tip-bot2 for Jassi Brar
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Jassi Brar @ 2026-03-24 16:09 UTC (permalink / raw)
To: linux-tip-commits
Cc: Jassi Brar, Thomas Gleixner, Douglas Anderson, stable, x86,
linux-kernel, maz
The following commit has been merged into the irq/urgent branch of tip:
Commit-ID: 213a1f66341adf9e911b5c887970f209c132c4c0
Gitweb: https://git.kernel.org/tip/213a1f66341adf9e911b5c887970f209c132c4c0
Author: Jassi Brar <jassisinghbrar@gmail.com>
AuthorDate: Sun, 22 Mar 2026 12:15:33 -05:00
Committer: Thomas Gleixner <tglx@kernel.org>
CommitterDate: Tue, 24 Mar 2026 17:03:26 +01:00
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
---
drivers/irqchip/irq-qcom-mpm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/irqchip/irq-qcom-mpm.c b/drivers/irqchip/irq-qcom-mpm.c
index 83f31ea..1813205 100644
--- a/drivers/irqchip/irq-qcom-mpm.c
+++ b/drivers/irqchip/irq-qcom-mpm.c
@@ -306,6 +306,8 @@ static int mpm_pd_power_off(struct generic_pm_domain *genpd)
if (ret < 0)
return ret;
+ mbox_client_txdone(priv->mbox_chan, 0);
+
return 0;
}
@@ -434,6 +436,7 @@ static int qcom_mpm_probe(struct platform_device *pdev, struct device_node *pare
}
priv->mbox_client.dev = dev;
+ priv->mbox_client.knows_txdone = true;
priv->mbox_chan = mbox_request_channel(&priv->mbox_client, 0);
if (IS_ERR(priv->mbox_chan)) {
ret = PTR_ERR(priv->mbox_chan);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-24 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-22 17:15 [PATCHv2] irqchip/qcom-mpm: Fix missing mailbox TX done acknowledgment jassisinghbrar
2026-03-24 16:09 ` [tip: irq/urgent] irqchip/qcom-mpm: Add " tip-bot2 for Jassi Brar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox