Skip to content

Add __ioread32_copy() and use it

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v23 patches 4 repliesSuperseded
  3. v13 patches 8 repliesSuperseded

Changes in v3 from the cover letter

* Make bcm patch actually compile
* Add new patch for frv to avoid warnings

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4frv: io: Accept const void pointers for read{b,w,l}()arch/frv/include/asm/io.h+14 -30 replies
2/4lib: iomap_copy: Add __ioread32_copy()include/linux/io.h lib/iomap_copy.c+22 -00 replies
3/4soc: qcom: smd: Use __ioread32_copy() instead of open-coding itdrivers/soc/qcom/smd.c+4 -92 replies
4/4FIRMWARE: bcm47xx_nvram: Use __ioread32_copy() instead of open-codingdrivers/firmware/broadcom/bcm47xx_nvram.c+3 -80 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchBjorn AnderssonAndy Gross
1/4
2/4
3/4R-b A-b
4/4

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

Read the v3 thread

Cover letter [PATCH v3 0/4] Add __ioread32_copy() and use it

The SMD driver is reading and writing chunks of data to iomem, and there's an __iowrite32_copy() function for the writing part, but no __ioread32_copy() function for the reading part. This series adds __ioread32_copy() and uses it in two places.

This is a respin with some small fixes found with soaking in -next.

Andrew, the patches should apply cleanly to linux-next, so I hope you can pick them up directly now, instead of the previous plan where they would go through Andy's tree.

Changes from v2:
* Make bcm patch actually compile
* Add new patch for frv to avoid warnings

Cc Hauke Mehrtens <[email protected]>
Cc Rafa? Mi?ecki <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc linux-mips at linux-mips.org
Cc David Howells <[email protected]>
Cc linux-soc at vger.kernel.org

Stephen Boyd (4):
frv: io: Accept const void pointers for read{b,w,l}()
lib: iomap_copy: Add __ioread32_copy()
soc: qcom: smd: Use __ioread32_copy() instead of open-coding it
FIRMWARE: bcm47xx_nvram: Use __ioread32_copy() instead of open-coding

 arch/frv/include/asm/io.h                 | 17 ++++++++++++++---
 drivers/firmware/broadcom/bcm47xx_nvram.c | 11 +++--------
 drivers/soc/qcom/smd.c                    | 13 ++++---------
 include/linux/io.h                        |  1 +
 lib/iomap_copy.c                          | 21 +++++++++++++++++++++
 5 files changed, 43 insertions(+), 20 deletions(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project