Skip to content

SMEM/SMD/SMD_RPM big endian support + tidying

Stephen Boyd linux-arm-kernel linux-arm-msm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 10 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8soc: qcom: Make qcom_smem_get() return a pointerdrivers/soc/qcom/smd.c drivers/soc/qcom/smem.c include/linux/soc/qcom/smem.h+48 -561 reply
2/8soc: qcom: smem: Handle big endian CPUsdrivers/soc/qcom/smem.c+138 -911 reply
3/8soc: qcom: smd: Represent channel layout in structuresdrivers/soc/qcom/smd.c+33 -280 replies
4/8soc: qcom: smd: Use __iowrite32_copy() instead of open-coding itdrivers/soc/qcom/smd.c+4 -90 replies
5/8soc: qcom: smd: Remove use of VLAISdrivers/soc/qcom/smd-rpm.c+19 -133 replies
6/8soc: qcom: smd: Handle big endian CPUsdrivers/soc/qcom/smd.c+116 -652 replies
7/8soc: qcom: smd_rpm: Handle big endian CPUsdrivers/soc/qcom/smd-rpm.c+26 -241 reply
8/8regulator: qcom_smd: Handle big endian CPUsdrivers/regulator/qcom_smd-regulator.c+14 -142 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchBjorn Andersson
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/8] SMEM/SMD/SMD_RPM big endian support + tidying

This supersedes the 3 "series" of patches to move smem to big endian, smd to big endian, and make qcom_smem_get() return a pointer.

I've moved the qcom_smem_get() returning a pointer part to the beginning of the series so it can be applied earlier if desired. I imagine the first 7 patches can go through arm-soc, and the last patch Mark can pick up anytime. All patches tested on apq8074 dragonboard.

I've already written the patches to add __ioread32_copy(), but I'm holding them until -rc1 drops because I'd rather not involve even more people in this series just yet.

Stephen Boyd (8):
soc: qcom: Make qcom_smem_get() return a pointer
soc: qcom: smem: Handle big endian CPUs
soc: qcom: smd: Represent channel layout in structures
soc: qcom: smd: Use __iowrite32_copy() instead of open-coding it
soc: qcom: smd: Remove use of VLAIS
soc: qcom: smd: Handle big endian CPUs
soc: qcom: smd_rpm: Handle big endian CPUs
regulator: qcom_smd: Handle big endian CPUs

 drivers/regulator/qcom_smd-regulator.c |  28 ++--
 drivers/soc/qcom/smd-rpm.c             |  68 ++++----
 drivers/soc/qcom/smd.c                 | 259 +++++++++++++++++------------
 drivers/soc/qcom/smem.c                | 293 +++++++++++++++++++--------------
 include/linux/soc/qcom/smem.h          |   2 +-
 5 files changed, 374 insertions(+), 276 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project