Re: [PATCH 1/2] remoteproc: mediatek: Make sure IPI buffer fits in L2TCM

AngeloGioacchino Del Regno
2024-03-27T12:40:53Z

Il 21/03/24 16:25, Mathieu Poirier ha scritto:
> Good day,
>
> On Thu, Mar 21, 2024 at 09:46:13AM +0100, AngeloGioacchino Del Regno wrote:
>> The IPI buffer location is read from the firmware that we load to the
>> System Companion Processor, and it's not granted that both the SRAM
>> (L2TCM) size that is defined in the devicetree node is large enough
>> for that, and while this is especially true for multi-core SCP, it's
>> still useful to check on single-core variants as well.
>>
>> Failing to perform this check may make this driver perform R/W
>> oeprations out of the L2TCM boundary, resulting (at best) in a
>
> s/oeprations/operations
>
> I will fix that when I apply the patch.
>

Thanks for that.

Cheers,
Angelo