Skip to content

SPMI patches for the merge window

Stephen Boyd linux-patches lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8spmi: mtk-pmif: Serialize PMIF status check and command submissiondrivers/spmi/spmi-mtk-pmif.c+16 -41 reply
2/8spmi: mediatek: Fix UAF on device removedrivers/spmi/spmi-mtk-pmif.c+5 -20 replies
3/8spmi: Introduce device-managed functionsdrivers/spmi/Makefile drivers/spmi/spmi-devres.c include/linux/spmi.h+68 -10 replies
4/8spmi: Use devm_spmi_controller_alloc()drivers/spmi/hisi-spmi-controller.c drivers/spmi/spmi-mtk-pmif.c drivers/spmi/spmi-pmic-arb.c+46 -890 replies
5/8spmi: mtk-pmif: Reorder driver remove sequencedrivers/spmi/spmi-mtk-pmif.c+1 -10 replies
6/8spmi: hisi-spmi-controller: Use devm_spmi_controller_add()drivers/spmi/hisi-spmi-controller.c+1 -90 replies
7/8spmi: Return meaningful errors in spmi_controller_alloc()drivers/spmi/spmi-devres.c drivers/spmi/spmi.c+5 -50 replies
8/8spmi: mediatek: add device id checkdrivers/spmi/spmi-mtk-pmif.c+6 -00 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchAngeloGioacchino Del RegnoAlexandre MergnatFei ShaoChen-Yu Tsai
1/8R-b R-b
2/8T-b R-b R-b
3/8R-b
4/8R-b
5/8R-b
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] SPMI patches for the merge window

Hi Greg,

Here's a collection of SPMI patches that I picked up a bit ago but didn't send because we were too close to the merge window. The first patch should probably be applied now though, because we're hanging the PMIF interface on some mediatek boards when async probing. Otherwise the patches improve mediatek spmi controllers and introduce some devm wrappers for spmi controllers to simplify.

Fei Shao (5):
spmi: Introduce device-managed functions
spmi: Use devm_spmi_controller_alloc()
spmi: mtk-pmif: Reorder driver remove sequence
spmi: hisi-spmi-controller: Use devm_spmi_controller_add()
spmi: Return meaningful errors in spmi_controller_alloc()

Nícolas F. R. A. Prado (1):
spmi: mtk-pmif: Serialize PMIF status check and command submission

Sen Chu (1):
spmi: mediatek: add device id check

Yu-Che Cheng (1):
spmi: mediatek: Fix UAF on device remove

 drivers/spmi/Makefile               |  2 +-
 drivers/spmi/hisi-spmi-controller.c | 32 +++--------
 drivers/spmi/spmi-devres.c          | 64 +++++++++++++++++++++
 drivers/spmi/spmi-mtk-pmif.c        | 61 ++++++++++++--------
 drivers/spmi/spmi-pmic-arb.c        | 87 ++++++++++-------------------
 drivers/spmi/spmi.c                 |  6 +-
 include/linux/spmi.h                |  3 +
 7 files changed, 146 insertions(+), 109 deletions(-)
 create mode 100644 drivers/spmi/spmi-devres.c

base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d

Signature · 2 lines
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/
https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git