[PATCH resend 00/12] soc: qcom: smem: some refactoring
From: Alex Elder
Date: Mon Jun 25 2018 - 21:01:23 EST
(This is just a rebase of https://lkml.org/lkml/2018/5/1/670)
This series contains a few general cleanups in the Qualcomm SMEM
code, reorganizing some things so memory partitions are treated
more consistently, and to avoid some duplication. A few patches
change existing behavior, as highlighted below. Each of these
changes has been tested and verified to function with available
hardware.
-Alex
Alex Elder (12):
soc: qcom: smem: rename variable in qcom_smem_get_global()
soc: qcom: smem: initialize region struct only when successful
soc: qcom: smem: always ignore partitions with 0 offset or size
soc: qcom: smem: small refactor in qcom_smem_enumerate_partitions()
soc: qcom: smem: verify both host ids in partition header
soc: qcom: smem: require order of host ids to match
soc: qcom: smem: introduce qcom_smem_partition_header()
soc: qcom: smem: verify partition header size
soc: qcom: smem: verify partition offset_free_uncached
soc: qcom: smem: small change in global entry loop
soc: qcom: smem: verify partition host ids match
soc: qcom: smem: a few last cleanups
drivers/soc/qcom/smem.c | 173 +++++++++++++++++++---------------------
1 file changed, 82 insertions(+), 91 deletions(-)
--
2.17.1