[PATCH v4 0/3] soc: qcom: ubwc: Fix link error

From: Daniel Baluta

Date: Wed Aug 12 2026 - 11:25:51 EST


Fix link error caused by the fact that drivers/soc/qcom/ubwc_config.c
enabled via QCOM_UBWC_CONFIG uses unconditionally symbols from
drivers/soc/qcom/smem.c enabled via CONFIG_QCOM_SMEM.

Changes since v3:
- fix issues pointed by sashiko https://sashiko.dev/#/patchset/20260812130421.670527-1-daniel.baluta%40nxp.com
- add new patches 2/3 in order to fix unmet dependcy for VIDEO_QCOM_IRIS
- Use IS_REACHABLE instead of IS_ENABLED to avoid the situation we use
some symbols in builtin kernel but their definitions sits in a
module.

Remark for Dmitry, at this point I think v1 would have been a better
option.
Link to v1:
- https://lore.kernel.org/imx/1521da8e-18df-4d7b-a255-5ca133bd5ccc@xxxxxxxxxxx/T/#t



Daniel Baluta (3):
soc: qcom: ubwc: Fix link error when QCOM_SMEM=n
media: iris: Fix unmet dependency when QCOM_SMEM=n
soc: qcom: ubwc: Use IS_REACHABLE() instead of IS_ENABLED()

drivers/gpu/drm/msm/Kconfig | 2 +-
drivers/media/platform/qcom/iris/Kconfig | 2 +-
drivers/soc/qcom/Kconfig | 1 +
include/linux/soc/qcom/ubwc.h | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)

--
2.45.2