From 41f6fb4f28095b7c8b0832245d16418bbbd6c2b7 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Mon, 9 Nov 2026 23:57:47 +0100 Subject: [PATCH] linux-postmarketos-qcom-milos: pmic_glink fails sends while the ADSP is down 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. --- .../config-postmarketos-qcom-milos.aarch64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aports/device/linux-postmarketos-qcom-milos/config-postmarketos-qcom-milos.aarch64 b/aports/device/linux-postmarketos-qcom-milos/config-postmarketos-qcom-milos.aarch64 index f331623..28efb35 100644 --- a/aports/device/linux-postmarketos-qcom-milos/config-postmarketos-qcom-milos.aarch64 +++ b/aports/device/linux-postmarketos-qcom-milos/config-postmarketos-qcom-milos.aarch64 @@ -6317,7 +6317,7 @@ CONFIG_REMOTEPROC=y # CONFIG_REMOTEPROC_CDEV is not set # CONFIG_AMD_MBV_BRAM_REMOTEPROC is not set CONFIG_QCOM_PIL_INFO=m -CONFIG_QCOM_RPROC_COMMON=m +CONFIG_QCOM_RPROC_COMMON=y CONFIG_QCOM_Q6V5_COMMON=m # CONFIG_QCOM_Q6V5_ADSP is not set # CONFIG_QCOM_Q6V5_MSS is not set