From: David Heidelberg Subject: [PATCH v4 0/3] Add modemsmem for Google phones Date: Thu, 03 Dec 2026 20:53:15 +0100 Message-Id: <20261203-modemsmem-v4-0-49279fa61909@ixit.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/3WOzQ6CMBAGX4X0bE3/KOLJ9zAeaLtITQDTYoMS3 t0WE5VEj18yM7sT8uAseLTPJuQgWG/7Lg6xyZBuqu4M2Jq4ESNMkpJI3PYGWt9Ci8uKGk1JQep CochfHdR2XFrH02v7m7qAHlIgEY31Q+/uy7FAE/erGygmuOKSC5XnfCfowY522OoHStXA/nose t9PrT3+9iilK49HjwlQugAjQZUfb57nJyziKXsiAQAA X-Change-ID: 20260906-modemsmem-9a1dc1070f7b To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Konrad Dybcio , Abel Vesa , Miro Mraz Cc: Konrad Dybcio , Richard Acayan , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2097; i=david@ixit.cz; h=from:subject:message-id; bh=sWI8N4JqbimC93C7rZLoN+RPey6XzDsRjtxpbTZpEkc=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBrEcitl8IvdPfTal75M/LGgtOq0EHAqC4w5S82n 92qdOWhm/OJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaxHIrQAKCRBgAj/E00kg clcyD/9WjnJgjqECGyl5nE7En7rqSB6+ADQ2Fz8W0oFbagr+ZKx98GF+2PYL7un5Q4PdqhIxrgP 59VPqOBsfoZIEZZPgEyjwApZX9siLn6NargFLk+PCku/RiaY0dD8jCFpKqM7f2OgLJR83sOV1qS WO8qpxjxCpt+dQnuD0ehqYqePdEk+cO9GIt0/pgQWVdan0vX/FGl+etR8urtTSO2p8A7cUW9xAH Z1IDXwnezyqTYUy5dYo54pIBhn3TUoaLW+HR73KNZo9eXV3aomPg+iRF3qCQijNwqN4kOFF9hVV hUGQof1meVuJ8qMhMprygxKRakMMFbX/L+87YiDyENe6uRDq1AC3RKX1d+04ha6EsRj0zhe5NNX GVwL/RTgyBKWASj8bwuvs/qeLA6pLCbZo17XDlFsx0o65VmmFSEHeM8Pg9Qe6iVouzReN9nw0dZ jHoWMJZxzRbrBTvgA+07pz5Ngeps4hHt0SacYbDLShyXoXC8qBpCf5Y0/s1XuaytXKNJMx7D7gs 7FZlPjsbHz7jqF9Gef5Ts7TkxwQ4+F1S6lifAnm+8+OzRD9dPwIZr1uTbrtl6t/nPKR/QWHDc2c tP7PNjXZA+RuT0rUzrSGwyAgX67Z6Vh6XDdE6PdJpVFVZxGQ+OArJU5lSmTbkHUH4QpRuC2yRso 7O/g8hUTtAKl3yg== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 List-Id: B4 Relay Submissions The modem on the Pixel 3 family will not come up without the SoC information Google's downstream kernel publishes in SMEM item 134. This is the upstream version, modelled per review feedback as a property of the modem remoteproc node rather than a standalone node and driver. This replaces the standalone drivers/soc/qcom/modemsmem driver from the previous revision: per review feedback the requirement is better modelled as a property of the modem remoteproc node, with the conditional snippet in the remoteproc driver. Changes in v4: - Replace dev_err_probe() with dev_err() in q6v5_socinfo_publish(), as it runs from q6v5_start() rather than probe. (Konrad) - Validate SMEM item sizes returned by qcom_smem_get() for both socinfo and SMEM_ID_VENDOR0. (Konrad) - Drop alignment padding around '=' in struct modem_smem_info initializer. (Konrad) - Pick up Reviewed-by tags. - Link to v3: https://patch.msgid.link/20261116-modemsmem-v3-0-24ebc7ed6eb9@ixit.cz Changes in v3: - Represent the requirement as a "google,require-socinfo" property on the MSS remoteproc node instead of a standalone node and driver. (Bjorn) - Move the SMEM publish code into the qcom_q6v5_mss remoteproc driver, gated by the property. (Bjorn) - Hard-code SMEM item id 134, no qcom,smem-id property. (Bjorn, Konrad) - Drop the RFC prefix. - Link to v1: https://patch.msgid.link/20260906-modemsmem-v1-0-a3634b553841@ixit.cz --- David Heidelberg (3): dt-bindings: remoteproc: qcom,msm8996-mss-pil: Document google,require-socinfo remoteproc: qcom_q6v5_mss: Publish socinfo for Pixel modems arm64: dts: qcom: sdm845-google: Require modem socinfo .../bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 9 +++ arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 2 + drivers/remoteproc/qcom_q6v5_mss.c | 93 ++++++++++++++++++++++ 3 files changed, 104 insertions(+) --- base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726 change-id: 20260906-modemsmem-9a1dc1070f7b Best regards, -- David Heidelberg