Re: [PATCH] arm64: dts: ti: k3-am64-main: Add SYSFW reserved ranges in OCRAM

From: Vignesh Raghavendra
Date: Fri Jun 11 2021 - 14:29:25 EST




On 6/9/21 8:56 PM, Lokesh Vutla wrote:
>
>
> On 09/06/21 7:36 pm, Vignesh Raghavendra wrote:
>> Last 256K of OCRAM (256K@0x701c0000) is reserved for SYSFW usage. Hence
>> add an entry in DT so that its not used for generic pool memory
>> allocation.
>>
>> Without this certain drivers using SRAM as generic shared memory pool
>> may end up being allocated memory from this range and will lead to boot
>> time crash when the reserved range is accessed (due to firewall
>> violation).
>>
>> Signed-off-by: Vignesh Raghavendra <vigneshr@xxxxxx>
>
> You might want to re-base on top of Aswath's patch updating ATF address. Otherwise:
>
> Reviewed-by: Lokesh Vutla <lokeshvutla@xxxxxx>
>

Actually, this patch should go in before Aswath's patch as moving ATF
location around exposed issue of drivers getting memory allocations
overlapping SYSFW reserved ranges

Regards
Vignesh