Re: [PATCH] arm64: dts: ti: phycore-am64: Add R5F DMA Region and Mailboxes

From: Nishanth Menon
Date: Mon Dec 04 2023 - 08:44:35 EST


On 10:00-20231103, Wadim Egorov wrote:
> Hi Nishanth,
>
> Am 03.11.23 um 01:17 schrieb Nishanth Menon:
> > On 13:12-20231102, Garrett Giordano wrote:
> > > Communication between the R5F subsystem and Linux takes place using DMA
> > > memory regions and mailboxes. Here we add DT nodes for the memory
> > > regions and mailboxes to facilitate communication between the R5
> > > clusters and Linux as remoteproc will fail to start if no memory
> > > regions or mailboxes are provided.
> > >
> > > Fixes: c48ac0efe6d7 ("arm64: dts: ti: Add support for phyBOARD-Electra-AM642")
> > is this fixes? Sounds more or less like rproc support is added in?
>
> I would say it is also a fix, as the R5 cores are enabled by default at the
> SoC level devicetree and also require mboxes & memory regions to be
> configured. The docs mention both as mandatory.
>
> Otherwise, we will encounter errors such as
>
>   platform 78000000.r5f: device does not have reserved memory regions, ret =
> -22
>

Please repost this, for some reason, the patch[1] does not appear[2] in the
archives and b4 drops out.

[1] https://lore.kernel.org/all/5effa700-480b-4030-8335-304ebc4444b7@xxxxxxxxx/
[2] https://lore.kernel.org/all/20231102201216.3771589-1-ggiordano@xxxxxxxxxx/
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D