Skip to content

soc: qcom: smem: some refactoring

Alex Elder linux-arm-msm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/212 patches 0 repliesNew
  2. v1 posting 1/212 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12soc: qcom: smem: rename variable in qcom_smem_get_global()drivers/soc/qcom/smem.c+5 -50 replies
2/12soc: qcom: smem: initialize region struct only when successfuldrivers/soc/qcom/smem.c+5 -30 replies
3/12soc: qcom: smem: always ignore partitions with 0 offset or sizedrivers/soc/qcom/smem.c+10 -130 replies
4/12soc: qcom: smem: small refactor in qcom_smem_enumerate_partitions()drivers/soc/qcom/smem.c+3 -40 replies
5/12soc: qcom: smem: verify both host ids in partition headerdrivers/soc/qcom/smem.c+1 -10 replies
6/12soc: qcom: smem: require order of host ids to matchdrivers/soc/qcom/smem.c+2 -80 replies
7/12soc: qcom: smem: introduce qcom_smem_partition_header()drivers/soc/qcom/smem.c+31 -140 replies
8/12soc: qcom: smem: verify partition header sizedrivers/soc/qcom/smem.c+8 -110 replies
9/12soc: qcom: smem: verify partition offset_free_uncacheddrivers/soc/qcom/smem.c+7 -140 replies
10/12soc: qcom: smem: small change in global entry loopdrivers/soc/qcom/smem.c+4 -30 replies
11/12soc: qcom: smem: verify partition host ids matchdrivers/soc/qcom/smem.c+15 -210 replies
12/12soc: qcom: smem: a few last cleanupsdrivers/soc/qcom/smem.c+6 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH resend 00/12] soc: qcom: smem: some refactoring

(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(-)
Signature · 1 line
2.17.1