Skip to content

Refine mtk-cmdq-mailbox callback mechanism

Chun-Kuang Hu linux-arm-kernel linux-mediatek lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mailbox: mtk-cmdq: Remove cmdq_cb_statusdrivers/mailbox/mtk-cmdq-mailbox.c include/linux/mailbox/mtk-cmdq-mailbox.h+6 -115 replies
2/3mailbox: mtk-cmdq: Use mailbox rx_callbackdrivers/mailbox/mtk-cmdq-mailbox.c+9 -52 replies
3/3mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_datadrivers/mailbox/mtk-cmdq-mailbox.c include/linux/mailbox/mtk-cmdq-mailbox.h+3 -02 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchYongqiang Niu
SeriesR-b
1/3R-b
2/3R-b
3/3R-b

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 0/3] Refine mtk-cmdq-mailbox callback mechanism

mtk-cmdq-mailbox use proprietary callback mechanism and proprietary error number, but these could be replaced by standard callback mechanism and standard error number. In addition, use cmdq_pkt as callback data to prevent redundnat assignment.

Because client driver still use proprietary mechanism, so keep proprietary mechanism until client driver use the standard one.

Chun-Kuang Hu (3):
mailbox: mtk-cmdq: Remove cmdq_cb_status
mailbox: mtk-cmdq: Use mailbox rx_callback
mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_data

 drivers/mailbox/mtk-cmdq-mailbox.c       | 24 +++++++++++++++---------
 include/linux/mailbox/mtk-cmdq-mailbox.h |  8 ++------
 2 files changed, 17 insertions(+), 15 deletions(-)
Signature · 7 lines
2.17.1


_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek