linux-stable/drivers/remoteproc
Arnd Bergmann 9c12b96ee2 mailbox, remoteproc: k3-m4+: fix compile testing
The k3-m4 remoteproc driver was merged with incorrect dependencies.
Despite multiple people trying to fix this, the version 6.12-rc2
remains broken and causes a build failure with CONFIG_TI_SCI_PROTOCOL=m
when the driver is built-in.

arm-linux-gnueabi-ld: drivers/remoteproc/ti_k3_m4_remoteproc.o: in function `k3_m4_rproc_probe':
ti_k3_m4_remoteproc.c:(.text.k3_m4_rproc_probe+0x76): undefined reference to `devm_ti_sci_get_by_phandle'

Fix the dependency again to make it work in all configurations.
The 'select OMAP2PLUS_MBOX' no longer matches what the other drivers
dependencies. The link failure can be avoided with a simple 'depends
do, so turn that into the same 'depends' to ensure we get no circular
on TI_SCI_PROTOCOL', but the extra COMPILE_TEST alternative is what
we use elsehwere. On the other hand, building for OMAP2PLUS makes
no sense since the hardware only exists on K3.

Fixes: ebcf9008a8 ("remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem")
Fixes: ba0c0cb56f ("remoteproc: k3-m4: use the proper dependencies")
Fixes: 54595f2807 ("mailbox, remoteproc: omap2+: fix compile testing")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20241007132441.2732215-1-arnd@kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2024-10-16 09:49:24 -06:00
..
da8xx_remoteproc.c remoteproc: da8xx: Simplify with dev_err_probe() 2024-10-15 11:23:57 -06:00
imx_dsp_rproc.c remoteproc: Use of_property_present() 2024-08-13 09:23:11 -06:00
imx_rproc.c remoteproc: imx_rproc: Add support for poweroff and reboot 2024-08-26 10:25:15 -06:00
imx_rproc.h remoteproc: imx_rproc: Add support for poweroff and reboot 2024-08-26 10:25:15 -06:00
ingenic_rproc.c remoteporc: ingenic: Use devm_platform_ioremap_resource_byname() 2024-09-09 09:50:54 -06:00
Kconfig mailbox, remoteproc: k3-m4+: fix compile testing 2024-10-16 09:49:24 -06:00
keystone_remoteproc.c remoteproc: keystone: Use devm_rproc_alloc() helper 2024-08-13 09:41:51 -06:00
Makefile remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem 2024-08-21 11:22:54 -06:00
meson_mx_ao_arc.c remoteproc: meson_mx_ao_arc: Convert to platform remove callback returning void 2023-05-09 13:17:22 -06:00
mtk_common.h remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp_ipi.c remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp.c remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size 2024-07-08 09:57:16 -06:00
omap_remoteproc.c remoteproc: omap: Use devm_rproc_add() helper 2024-06-13 10:05:11 -06:00
omap_remoteproc.h remoteproc/omap: Switch to SPDX license identifiers 2020-03-25 22:29:51 -07:00
pru_rproc.c remoteproc: pru: add support for configuring GPMUX based on client setup 2023-08-21 15:19:28 -06:00
pru_rproc.h remoteproc: pru: Add support for PRU specific interrupt configuration 2020-12-10 10:56:01 -06:00
qcom_common.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_common.h remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_pil_info.c remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided 2021-12-13 16:58:05 -06:00
qcom_pil_info.h remoteproc: qcom: Introduce helper to store pil info in IMEM 2020-07-01 22:10:18 -07:00
qcom_q6v5_adsp.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5_mss.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5_pas.c remoteproc: qcom: pas: Add support for SA8775p ADSP, CDSP and GPDSP 2024-08-14 19:58:43 -07:00
qcom_q6v5_wcss.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5.c soc: qcom: aoss: Tidy up qmp_send() callers 2023-08-13 19:27:32 -07:00
qcom_q6v5.h remoteproc: qcom: q6v5: Add interconnect path proxy vote 2022-03-11 14:22:03 -06:00
qcom_sysmon.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
qcom_wcnss_iris.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
qcom_wcnss.c remoteproc: qcom_wcnss: Use devm_rproc_alloc() helper 2024-03-05 20:00:04 -08:00
qcom_wcnss.h remoteproc: qcom: wcnss: remove unused qcom_iris_driver declaration 2022-12-28 09:50:07 -06:00
rcar_rproc.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
remoteproc_cdev.c remoteproc: core: Move state checking to remoteproc_core 2022-04-14 11:13:33 -06:00
remoteproc_core.c remoteproc: Use iommu_paging_domain_alloc() 2024-09-30 09:59:42 -06:00
remoteproc_coredump.c remoteproc: core: Export the rproc coredump APIs 2023-07-15 12:56:48 -07:00
remoteproc_debugfs.c remoteproc: Don't bother checking the return value of debugfs_create* 2022-04-11 10:04:40 -06:00
remoteproc_elf_helpers.h remoteproc: fix an typo in fw_elf_get_class code comments 2021-07-28 14:57:30 -05:00
remoteproc_elf_loader.c ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
remoteproc_internal.h remoteproc: Make rproc_class constant 2024-03-26 11:24:38 -06:00
remoteproc_sysfs.c remoteproc: Make rproc_class constant 2024-03-26 11:24:38 -06:00
remoteproc_virtio.c virtio: rename find_vqs_info() op to find_vqs() 2024-07-17 05:20:57 -04:00
st_remoteproc.c remoteproc: st: Use devm_rproc_alloc() helper 2024-02-02 11:36:27 -07:00
st_slim_rproc.c remoteproc: st_slim: Use devm_platform_ioremap_resource_byname() 2024-09-09 09:50:31 -06:00
stm32_rproc.c remoteproc: stm32_rproc: Fix mailbox interrupts queuing 2024-05-28 13:25:38 -06:00
ti_k3_dsp_remoteproc.c remoteproc: k3: Call of_node_put(rmem_np) only once in three functions 2024-09-30 09:50:20 -06:00
ti_k3_m4_remoteproc.c remoteproc: k3: Call of_node_put(rmem_np) only once in three functions 2024-09-30 09:50:20 -06:00
ti_k3_r5_remoteproc.c remoteproc: ti_k3_r5: Simplify with scoped for each OF child loop 2024-10-15 11:42:59 -06:00
ti_sci_proc.h remoteproc: k3: Factor out TI-SCI processor control OF get function 2024-08-21 11:21:02 -06:00
wkup_m3_rproc.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
xlnx_r5_remoteproc.c remoteproc: xlnx: Add sram support 2024-09-05 10:09:22 -06:00