Re: [PATCH] arm64: dts: mediatek: mt8195-demo: fix the memory size of node secmon

From: Miles Chen
Date: Mon Sep 26 2022 - 03:06:01 EST


Hi Macpaul,

> The size of device tree node secmon (bl31_secmon_reserved) was
> incorrect. It should be increased to 2MiB (0x200000).

192K should work when the patch(6147314aeedc) was accepted.
Does the trusted-firmware-a get larger now, so we need to
increase the size to 2MiB?

thanks,
Miles

>
> The origin setting will cause some abnormal behavior due to
> trusted-firmware-a and related firmware didn't load correctly.
> The incorrect behavior may vary because of different software stacks.
> For example, it will cause build error in some Yocto project because
> it will check if there was enough memory to load trusted-firmware-a
> to the reserved memory.
>
> Cc: stable@xxxxxxxxxxxxxxx # v5.19
> Fixes: 6147314aeedc ("arm64: dts: mediatek: Add device-tree for MT8195 Demo board")
> Signed-off-by: Macpaul Lin <macpaul.lin@xxxxxxxxxxxx>