linux/drivers/soc/qcom
Luca Weiss 749d56bd5c soc: qcom: rmtfs: handle optional qcom,vmid correctly
Older platforms don't have qcom,vmid set, handle -EINVAL return value
correctly. And since num_vmids is passed to of_property_read_u32_array
later we should make sure it has a sane value before continuing.

Fixes: e656cd0bcf ("soc: qcom: rmtfs: Optionally map RMTFS to more VMs")
Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230305-rmtfs-vmid-fix-v1-2-6a7206081602@z3ntu.xyz
2023-03-06 20:13:06 -08:00
..
apr.c driver core: make struct bus_type.uevent() take a const * 2023-01-27 13:45:52 +01:00
cmd-db.c soc: qcom: cmd-db: Mark device as having no PM support 2022-10-17 17:58:15 -05:00
cpr.c PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() 2023-01-10 09:48:13 -06:00
icc-bwmon.c soc: qcom: icc-bwmon: force clear counter/irq registers 2022-09-05 21:51:08 -05:00
Kconfig soc: qcom: pmic_glink: add CONFIG_NET/CONFIG_OF dependencies 2023-02-06 11:57:39 -08:00
kryo-l2-accessors.c soc: qcom: kryo-l2-accessors: Fix misnaming of 'val' 2020-11-10 23:23:02 -06:00
llcc-qcom.c soc: qcom: llcc: Fix slice configuration values for SC8280XP 2023-03-06 19:42:04 -08:00
Makefile Merge branch '20230201041853.1934355-1-quic_bjorande@quicinc.com' into drivers-for-6.3 2023-02-04 11:01:06 -08:00
mdt_loader.c firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/ 2023-02-08 19:15:16 -08:00
ocmem.c firmware: qcom_scm: Move qcom_scm.h to include/linux/firmware/qcom/ 2023-02-08 19:15:16 -08:00
pdr_interface.c soc: qcom: pdr: replace usage of found with dedicated list iterator variable 2022-04-07 22:20:27 -05:00
pdr_internal.h soc: qcom: pdr: Make QMI message rules const 2022-10-17 13:19:40 -05:00
pmic_glink_altmode.c soc: qcom: pmic_glink: remove redundant calculation of svid 2023-02-06 12:25:00 -08:00
pmic_glink.c soc: qcom: pmic_glink: Introduce base PMIC GLINK driver 2023-02-04 10:54:30 -08:00
qcom_aoss.c soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register 2022-06-30 22:03:58 -05:00
qcom_gsbi.c soc: qcom: gsbi: Make use of the helper function devm_platform_ioremap_resource() 2021-09-21 17:41:48 -05:00
qcom_stats.c soc: qcom: stats: Populate all subsystem debugfs files 2023-02-06 12:13:30 -08:00
qcom-geni-se.c soc: qcom: geni-se: Move qcom-geni-se.h to linux/soc/qcom/geni-se.h 2023-02-09 13:27:07 +01:00
qmi_encdec.c soc: qcom: qmi: use const for struct qmi_elem_info 2022-08-29 17:33:01 -05:00
qmi_interface.c net/sock: Introduce trace_sk_data_ready() 2023-01-23 11:26:50 +00:00
ramp_controller.c soc: qcom: ramp_controller: Make things static 2023-01-10 22:00:27 -06:00
rmtfs_mem.c soc: qcom: rmtfs: handle optional qcom,vmid correctly 2023-03-06 20:13:06 -08:00
rpmh-internal.h soc: qcom: rpmh-rsc: Avoid unnecessary checks on irq-done response 2022-12-05 15:12:17 -06:00
rpmh-rsc.c soc: qcom: rpmh-rsc: Avoid unnecessary checks on irq-done response 2022-12-05 15:12:17 -06:00
rpmh.c soc: qcom: rpmh-rsc: Avoid unnecessary checks on irq-done response 2022-12-05 15:12:17 -06:00
rpmhpd.c soc: qcom: rmphpd: add power domains for sa8775p 2023-01-10 10:28:02 -06:00
rpmpd.c Revert "soc: qcom: rpmpd: Add SM4250 support" 2023-01-18 21:13:10 -06:00
smd-rpm.c soc: qcom: smd-rpm: Add IPQ9574 compatible 2023-02-06 12:47:14 -08:00
smem_state.c soc: qcom: smem_state: Add refcounting for the 'state->of_node' 2022-08-18 14:13:46 -05:00
smem.c soc: qcom: smem: use correct format characters 2022-07-04 14:26:51 +02:00
smp2p.c soc: qcom: move from strlcpy with unused retval to strscpy 2022-10-17 13:19:39 -05:00
smsm.c soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() 2022-08-18 14:13:46 -05:00
socinfo.c soc: qcom: socinfo: Add IDs for IPQ5332 and its variant 2023-02-08 19:36:16 -08:00
spm.c soc: qcom: spm: Implement support for SAWv2.3, MSM8976 L2 PM 2022-11-05 23:27:32 -05:00
trace-rpmh.h soc: qcom: rpmh-rsc: Avoid unnecessary checks on irq-done response 2022-12-05 15:12:17 -06:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Allow reading firmware-name from DT 2021-04-05 22:35:06 -05:00