Skip to content

FROMLIST: rpmsg: glink: Make glink smem interrupt wakeup capable#1144

Open
quic-vishsant wants to merge 1 commit into
qualcomm-linux:tech/mproc/rpmsgfrom
quic-vishsant:for-glink-smem-intr
Open

FROMLIST: rpmsg: glink: Make glink smem interrupt wakeup capable#1144
quic-vishsant wants to merge 1 commit into
qualcomm-linux:tech/mproc/rpmsgfrom
quic-vishsant:for-glink-smem-intr

Conversation

@quic-vishsant
Copy link
Copy Markdown

There are certain usecases which require glink interrupt to be wakeup capable. For example if handset is in sleep state and usb charger is plugged in, dsp wakes up and sends glink interrupt to host for glink pmic channel communication. Glink is suppose to wakeup host processor completely for further glink data handling. IRQF_NO_SUSPEND does not gurantee complete wakeup, system may again enter sleep after interrupt handling and glink data may not be handled by pmic client driver.

To ensure data handling by client configure glink smem device as wakeup source and attach glink interrupt as wakeup irq. Remove IRQF_NO_SUSPEND flag as it is no longer required

https://lore.kernel.org/linux-arm-msm/20240603073648.3475123-1-quic_deesin@quicinc.com/

There are certain usecases which require glink interrupt to be
wakeup capable. For example if handset is in sleep state and
usb charger is plugged in, dsp wakes up and sends glink interrupt
to host for glink pmic channel communication. Glink is suppose to
wakeup host processor completely for further glink data handling.
IRQF_NO_SUSPEND does not gurantee complete wakeup, system may again
enter sleep after interrupt handling and glink data may not be
handled by pmic client driver.

To ensure data handling by client configure glink smem device as
wakeup source and attach glink interrupt as wakeup irq. Remove
IRQF_NO_SUSPEND flag as it is no longer required.

Link: https://lore.kernel.org/r/20240603073648.3475123-1-quic_deesin@quicinc.com
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Vishnu Santhosh <vishnu.santhosh@oss.qualcomm.com>
@qcomlnxci qcomlnxci requested review from a team, my-hub-app, quic-clew and quic-deesin and removed request for a team May 14, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants