linux/drivers/soc/qcom
Alex Elder eba757022f soc: qcom: smem: always ignore partitions with 0 offset or size
In qcom_smem_enumerate_partitions(), any partition table entry
having a zero offset or size field is ignored.  Move those checks
earlier in the loop, because there's no sense in examining the
host fields for those entries.

Add the same checks in qcom_smem_set_global_partition(), so the
scan for the global partition skips over these invalid entries.
This allows a later check for zero size or offset once the global
entry is found to be eliminated.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-09-13 16:56:55 -05:00
..
apr.c soc: qcom: apr: Avoid string overflow 2018-09-13 16:11:37 -05:00
cmd-db.c soc: qcom: cmd-db: Make endian-agnostic 2018-05-25 15:53:52 -05:00
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs 2018-09-13 16:11:38 -05:00
llcc-sdm845.c drivers: soc: Add LLCC driver 2018-07-21 13:31:35 -05:00
llcc-slice.c soc: qcom: llcc-slice: Add missing include of sizes.h 2018-09-13 16:11:33 -05:00
Makefile drivers: qcom: rpmh: add RPMH helper functions 2018-07-21 13:32:40 -05:00
mdt_loader.c remoteproc: qcom: mdt_loader: Make the firmware authentication optional 2018-06-18 15:55:31 -07:00
qcom_gsbi.c soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
qcom-geni-se.c soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples 2018-09-13 15:54:21 -05:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi: fix a buffer sizing bug 2018-05-25 15:53:58 -05:00
rmtfs_mem.c soc: qcom: rmtfs-mem: Validate that scm is available 2018-09-13 16:11:39 -05:00
rpmh-internal.h drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
rpmh-rsc.c drivers: qcom: rpmh-rsc: clear wait_for_compl after use 2018-09-13 16:11:39 -05:00
rpmh.c drivers: qcom: rpmh: add support for batch RPMH request 2018-07-21 13:33:36 -05:00
smd-rpm.c soc: qcom: smd-rpm: Add msm8998 compatible 2018-04-25 00:11:28 -05:00
smem_state.c soc: qcom: Update properties for smem state referencing 2016-06-24 22:53:41 -05:00
smem.c soc: qcom: smem: always ignore partitions with 0 offset or size 2018-09-13 16:56:55 -05:00
smp2p.c soc: qcom: smp2p: Use common error handling code in qcom_smp2p_probe() 2018-01-01 00:29:09 -06:00
smsm.c soc: qcom: smsm: fix child-node lookup 2017-12-20 15:38:34 -06:00
spm.c soc: qcom: spm: add SCM probe dependency 2018-09-13 16:11:38 -05:00
trace-rpmh.h drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE 2018-07-21 13:32:31 -05:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Avoid string overflow 2018-09-13 16:11:36 -05:00