linux/drivers/soc/qcom
Alex Elder abc006b7a6 soc: qcom: smem: require order of host ids to match
In qcom_smem_enumerate_partitions(), we find all partitions that
have a given local host id in either its host0 or its host1 field
in the partition table entry.  We then verify that the header
structure at the start of each partition also contains the same two
host ids as is found in the table of contents.

There is no requirement that the order of the two host ids be the
same in the table of contents and in the partition header.

This patch changes that, requiring host0 to in the partition table
entry to equal host0 in the partition header structure (and similar
for the host1 values).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-09-13 16:56:59 -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
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
smem.c soc: qcom: smem: require order of host ids to match 2018-09-13 16:56:59 -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