linux-postmarketos-qcom-milos: pmic_glink fails sends while the ADSP is down
All checks were successful
image / image (push) Successful in 55m31s

combined-stable gains "soc: qcom: pmic_glink: fail sends while the
remoteproc is down" (9169881dc733, merged as 27825d9fdbd7). From the
ADSP's shutdown notification until it is back up, pmic_glink now fails the
requests of its battery, UCSI and altmode clients at once and reports the
service down to them, which also unregisters the USB-C port for that span.
Until now the requests were sent on to the crashed or stopping remoteproc.
On the dev phone a crashed charger firmware left battery reads timing out
for minutes while the ADSP recovery was stuck: on 2026-10-22 until
PipeWire, which held the sound card open, was killed by hand; on
2026-11-09, on this package's 7.3.0_git20261031 build, until the phone was
reset with the power key.

The config gains CONFIG_QCOM_RPROC_COMMON=y: the fix selects the remoteproc
common code, which carries the SSR notifier, into the kernel beside the
built-in pmic_glink, so the qcom_common module is no longer packaged.

Verified on the dev phone as 7.3.0 #pglink73 built from this tree and this
config: during a commanded ADSP stop every battery read fails immediately
and the USB-C port is unregistered within half a second; both are back
within a second of the restart.
This commit is contained in:
Jorijn van der Graaf 2026-11-09 23:57:47 +01:00
commit 41f6fb4f28
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB

View file

@ -6317,7 +6317,7 @@ CONFIG_REMOTEPROC=y
# CONFIG_REMOTEPROC_CDEV is not set # CONFIG_REMOTEPROC_CDEV is not set
# CONFIG_AMD_MBV_BRAM_REMOTEPROC is not set # CONFIG_AMD_MBV_BRAM_REMOTEPROC is not set
CONFIG_QCOM_PIL_INFO=m CONFIG_QCOM_PIL_INFO=m
CONFIG_QCOM_RPROC_COMMON=m CONFIG_QCOM_RPROC_COMMON=y
CONFIG_QCOM_Q6V5_COMMON=m CONFIG_QCOM_Q6V5_COMMON=m
# CONFIG_QCOM_Q6V5_ADSP is not set # CONFIG_QCOM_Q6V5_ADSP is not set
# CONFIG_QCOM_Q6V5_MSS is not set # CONFIG_QCOM_Q6V5_MSS is not set