Re: [PATCH v6 0/4] soc: qcom: ubwc: Fix link error when QCOM_SMEM=n
"Arnd Bergmann" <[email protected]>
| Newsgroups | org.kernel.vger.linux-arm-msm,dev.linux.lists.imx,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Aug 17, 2026, at 14:35, Daniel Baluta wrote: > DRM_MSM and VIDEO_QCOM_IRIS select QCOM_UBWC_CONFIG, whose > ubwc_config.c calls QCOM_SMEM APIs unconditionally. On configs without > QCOM_SMEM this fails to link, e.g. on SOC_IMX5: > > arm-linux-gnueabihf-ld: ubwc_config.c:(.text+0x2c): undefined > reference to 'qcom_smem_is_available' > > Fix it by making the QCOM_SMEM requirement explicit in Kconfig. > > Changes since v5: > * added patch 4/4 to this series, which was initially sent as a > standalone patch (addresses review from Nathan) > * no other change to the series. > * picked up all R-b and Acked-by tags. > > Link to v5: > https://lore.kernel.org/imx/[email protected]/T/#t Krzysztof pointed me to this series when I ran into the same problem during my last minute regression test for the coming merge window. I've included the four patches as fixups in the soc/drivers branch now and plan to send this to Linus later today when the regression tests finish. Let me know if anyone feels that the patches should go a different way. Arnd