mbox series

[v5,0/5] drivers: remoteproc: xilinx: add mailbox support

Message ID 20230311012407.1292118-1-tanmay.shah@amd.com (mailing list archive)
Headers show
Series drivers: remoteproc: xilinx: add mailbox support | expand

Message

Shah, Tanmay March 11, 2023, 1:24 a.m. UTC
This series adds mailbox support required for rpmsg communication
in Xilinx remoteproc driver. It also fixes few bugs in Xilinx
zynqmp-ipi driver that handles corner cases.

---

Changes in v5:
  - mailbox node count should not be 0 for driver to probe
  - Remove spurious change
  - Include kick op regardless status of mailbox nodes in dts

Changes in v4:
  - split mailbox driver patch into 3 different patches
  - use of_phandle_iterator_next to get memory-region nodes
  - move zynqmp_r5_setup_mbox from zynqmp_r5_add_rproc_core to
    zynqmp_r5_cluster_init

Changes in v3:
  - split single patch into multiple patches
  - add appropriate fixes tag for patches fixing previous bug in the driver
  - make enhancements in zynqmp-ipi driver that handles corener cases
  - fix memory-region carveout names
  - fix multi-line comment format
  - do not mixup mailbox information with memory-regions
  - fix redundant dev_warn for split mode
  - Setting up mailboxes should return an error code
  - Move mailbox setup during driver probe
  - Add .kick function only if mailbox setup is success

v2: https://lore.kernel.org/all/20230126213154.1707300-1-tanmay.shah@amd.com/


Tanmay Shah (5):
  mailbox: zynqmp: fix counts of child nodes
  mailbox: zynqmp: fix IPI isr handling
  mailbox: zynqmp: fix typo in IPI documentation
  drivers: remoteproc: xilinx: fix carveout names
  remoteproc: xilinx: add mailbox channels for rpmsg

 drivers/mailbox/zynqmp-ipi-mailbox.c       |  13 +-
 drivers/remoteproc/xlnx_r5_remoteproc.c    | 308 ++++++++++++++++-----
 include/linux/mailbox/zynqmp-ipi-message.h |   2 +-
 3 files changed, 247 insertions(+), 76 deletions(-)


base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6

Comments

Mathieu Poirier March 14, 2023, 7:29 p.m. UTC | #1
On Fri, Mar 10, 2023 at 05:24:03PM -0800, Tanmay Shah wrote:
> This series adds mailbox support required for rpmsg communication
> in Xilinx remoteproc driver. It also fixes few bugs in Xilinx
> zynqmp-ipi driver that handles corner cases.
> 
> ---
> 
> Changes in v5:
>   - mailbox node count should not be 0 for driver to probe
>   - Remove spurious change
>   - Include kick op regardless status of mailbox nodes in dts
> 
> Changes in v4:
>   - split mailbox driver patch into 3 different patches
>   - use of_phandle_iterator_next to get memory-region nodes
>   - move zynqmp_r5_setup_mbox from zynqmp_r5_add_rproc_core to
>     zynqmp_r5_cluster_init
> 
> Changes in v3:
>   - split single patch into multiple patches
>   - add appropriate fixes tag for patches fixing previous bug in the driver
>   - make enhancements in zynqmp-ipi driver that handles corener cases
>   - fix memory-region carveout names
>   - fix multi-line comment format
>   - do not mixup mailbox information with memory-regions
>   - fix redundant dev_warn for split mode
>   - Setting up mailboxes should return an error code
>   - Move mailbox setup during driver probe
>   - Add .kick function only if mailbox setup is success
> 
> v2: https://lore.kernel.org/all/20230126213154.1707300-1-tanmay.shah@amd.com/
> 
> 
> Tanmay Shah (5):
>   mailbox: zynqmp: fix counts of child nodes
>   mailbox: zynqmp: fix IPI isr handling
>   mailbox: zynqmp: fix typo in IPI documentation
>   drivers: remoteproc: xilinx: fix carveout names
>   remoteproc: xilinx: add mailbox channels for rpmsg
> 
>  drivers/mailbox/zynqmp-ipi-mailbox.c       |  13 +-
>  drivers/remoteproc/xlnx_r5_remoteproc.c    | 308 ++++++++++++++++-----
>  include/linux/mailbox/zynqmp-ipi-message.h |   2 +-
>  3 files changed, 247 insertions(+), 76 deletions(-)
>

I have applied this set.

Thanks,
Mathieu

> 
> base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
> -- 
> 2.25.1
>