Skip to content

Remove qe_io{read,write}* IO accessors

Christophe Leroy linux-arm-kernel linux-serial linuxppc-dev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc: fsl: qe: replace qe_io{read,write}* wrappers by generic io{read,write}*drivers/soc/fsl/qe/gpio.c drivers/soc/fsl/qe/qe.c drivers/soc/fsl/qe/qe_ic.c +3 more+97 -970 replies
2/3tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic io{read,write}*drivers/tty/serial/ucc_uart.c+62 -621 reply
3/3Revert "soc: fsl: qe: introduce qe_io{read,write}* wrappers"include/soc/fsl/qe/qe.h+9 -250 replies

Reviews trailers per patch

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

PatchGreg Kroah-Hartman
1/3
2/3A-b
3/3

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

Read the v1 thread

Cover letter [PATCH v1 0/3] Remove qe_io{read,write}* IO accessors

Commit 6ac9b61786cc ("soc: fsl: qe: introduce qe_io{read,write}* wrappers") added specific I/O accessors for qe because at that time ioread/iowrite functions were sub-optimal on powerpc/32 compared to the architecture specific in_/out_ IO accessors.

But as ioread/iowrite accessors are now equivalent since commit 894fa235eb4c ("powerpc: inline iomap accessors"), use them in order to allow removal of the qe specific ones.

Christophe Leroy (3):
soc: fsl: qe: replace qe_io{read,write}* wrappers by generic

    io{read,write}*
  tty: serial: ucc_uart: replace qe_io{read,write}* wrappers by generic
    io{read,write}*

Revert "soc: fsl: qe: introduce qe_io{read,write}* wrappers"

 drivers/soc/fsl/qe/gpio.c     |  20 +++---
 drivers/soc/fsl/qe/qe.c       |  24 +++----
 drivers/soc/fsl/qe/qe_ic.c    |   4 +-
 drivers/soc/fsl/qe/qe_io.c    |  36 +++++-----
 drivers/soc/fsl/qe/ucc_fast.c |  68 +++++++++----------
 drivers/soc/fsl/qe/ucc_slow.c |  42 ++++++------
 drivers/tty/serial/ucc_uart.c | 124 +++++++++++++++++-----------------
 include/soc/fsl/qe/qe.h       |  34 +++-------
 8 files changed, 168 insertions(+), 184 deletions(-)
Signature · 1 line
2.25.0