[PATCH v3 1/3] drivers: mailbox: zynqmp: handle multiple child nodes

Datta, Shubhrajyoti shubhrajyoti.datta at amd.com
Tue Feb 21 21:28:29 PST 2023


[AMD Official Use Only - General]

Hi,


> -----Original Message-----
> From: Tanmay Shah <tanmay.shah at amd.com>
> Sent: Tuesday, February 14, 2023 2:48 AM
> To: Simek, Michal <michal.simek at amd.com>; andersson at kernel.org;
> mathieu.poirier at linaro.org; jaswinder.singh at linaro.org; Levinsky, Ben
> <ben.levinsky at amd.com>; Datta, Shubhrajyoti
> <shubhrajyoti.datta at amd.com>
> Cc: linux-kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
> linux-remoteproc at vger.kernel.org; Shah, Tanmay
> <tanmay.shah at amd.com>
> Subject: [PATCH v3 1/3] drivers: mailbox: zynqmp: handle multiple child
> nodes
> 
> As of now only one child node is handled by zynqmp-ipi mailbox driver.
> Upon introducing remoteproc r5 core mailbox nodes, found few
> enhancements in Xilinx zynqmp mailbox driver as following:
> 
> - fix mailbox child node counts
>   If child mailbox node status is disabled it causes
>   crash in interrupt handler. Fix this by assigning
>   only available child node during driver probe.
> 
> - fix typo in IPI documentation %s/12/32/
>   Xilinx IPI message buffers allows 32-byte data transfer.
>   Fix documentation that says 12 bytes
> 
> - fix bug in zynqmp-ipi isr handling
>   Multiple IPI channels are mapped to same interrupt handler.
>   Current isr implementation handles only one channel per isr.
>   Fix this behavior by checking isr status bit of all child
>   mailbox nodes.

It does multiple things it will be good if one patch does one stuff.



More information about the linux-arm-kernel mailing list