summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@oss.qualcomm.com>2026-06-12 14:09:08 +0300
committerBjorn Andersson <andersson@kernel.org>2026-07-15 12:18:05 -0500
commitbb7c5d6f5b41d192fa81ce404e463f5d3ce70cb3 (patch)
treef43b00d5f1bdb8d03e25621ab215e120775d114a /include
parent44f4911ab8e6f4d69afad5f2571bbd2da421c918 (diff)
remoteproc: qcom: q6v5: Make handover IRQ one-shot
The handover interrupt is expected to be consumed once during each prepare cycle. If the remote processor keeps signalling handover after the first event, qcom_q6v5 currently logs the duplicate interrupt repeatedly while leaving the IRQ enabled. Track the handover IRQ enable state explicitly and route all handover IRQ enable/disable operations through idempotent helpers. Request the handover IRQ with IRQF_NO_AUTOEN so it is only enabled through the helper during prepare. The handover handler disables it after marking handover as issued, while unprepare disables and synchronizes it before checking whether handover was issued. Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260612-rproc-q6v5-handover-irq-one-shot-v1-1-bb688f4446b3@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions