WSL2-Linux-Kernel/drivers/interconnect/qcom
Arnd Bergmann 512d4a26ab interconnect: qcom: fix rpmh link failures
When CONFIG_COMPILE_TEST is set, it is possible to build some
of the interconnect drivers into the kernel while their dependencies
are loadable modules, which is bad:

arm-linux-gnueabi-ld: drivers/interconnect/qcom/bcm-voter.o: in function `qcom_icc_bcm_voter_commit':
(.text+0x1f8): undefined reference to `rpmh_invalidate'
arm-linux-gnueabi-ld: (.text+0x20c): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: (.text+0x2b0): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: (.text+0x2e8): undefined reference to `rpmh_write_batch'
arm-linux-gnueabi-ld: drivers/interconnect/qcom/icc-rpmh.o: in function `qcom_icc_bcm_init':
(.text+0x2ac): undefined reference to `cmd_db_read_addr'
arm-linux-gnueabi-ld: (.text+0x2c8): undefined reference to `cmd_db_read_aux_data'

The exact dependencies are a bit complicated, so split them out into a
hidden Kconfig symbol that all drivers can in turn depend on to get it
right.

Fixes: 976daac4a1 ("interconnect: qcom: Consolidate interconnect RPMh support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201204165030.3747484-1-arnd@kernel.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
2020-12-28 14:03:02 +02:00
..
Kconfig interconnect: qcom: fix rpmh link failures 2020-12-28 14:03:02 +02:00
Makefile interconnect: qcom: Add SM8250 interconnect provider driver 2020-09-08 16:28:53 +03:00
bcm-voter.c interconnect: qcom: Simplify the vcd compare function 2020-11-30 17:26:22 +02:00
bcm-voter.h interconnect: qcom: Consolidate interconnect RPMh support 2020-02-28 12:11:40 +02:00
icc-rpmh.c interconnect: qcom: Ensure that the floor bandwidth value is enforced 2020-10-22 13:26:26 +03:00
icc-rpmh.h interconnect: qcom: Implement xlate_extended() to parse tags 2020-09-08 16:29:00 +03:00
msm8916.c interconnect: qcom: msm8916: Remove rpm-ids from non-RPM nodes 2020-11-20 15:51:51 +02:00
msm8974.c interconnect: qcom: msm8974: Don't boost the NoC rate during boot 2020-11-18 00:21:47 +02:00
osm-l3.c Merge branch 'icc-syncstate' into icc-next 2020-09-18 09:13:40 +03:00
qcs404.c interconnect: qcom: qcs404: Remove GPU and display RPM IDs 2020-11-20 15:52:05 +02:00
sc7180.c interconnect: qcom: sc7180: Init BCMs before creating the nodes 2020-10-15 09:24:00 +03:00
sc7180.h interconnect: qcom: Add OSM L3 support on SC7180 2020-03-03 19:02:52 +02:00
sdm845.c Qualcomm ARM64 DT updates for 5.11 2020-12-08 23:50:08 +01:00
sdm845.h interconnect: qcom: Add OSM L3 interconnect provider support 2020-03-03 19:02:52 +02:00
sm8150.c interconnect: qcom: use icc_sync state for sm8[12]50 2020-10-27 16:01:22 +02:00
sm8150.h interconnect: qcom: Add OSM L3 support on SM8150 2020-09-08 16:29:01 +03:00
sm8250.c interconnect: qcom: use icc_sync state for sm8[12]50 2020-10-27 16:01:22 +02:00
sm8250.h interconnect: qcom: Add EPSS L3 support on SM8250 2020-09-08 16:29:01 +03:00
smd-rpm.c
smd-rpm.h