Re: [PATCH 4/4] dts: Reserve memory region for NSS and TZ

From: Konrad Dybcio
Date: Fri Jun 23 2023 - 06:23:59 EST


On 23.06.2023 11:44, Sricharan Ramabadhran wrote:
> Add reserved memory region for NSS and fix the name
> for tz region explicitly.
>
> Signed-off-by: Sricharan Ramabadhran <quic_srichara@xxxxxxxxxxx>
> ---
The commit title is divergent from what's in the commit message and
the patch body. Please separate these two changes.

> arch/arm64/boot/dts/qcom/ipq8074.dtsi | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> index 791af73334cb..d51ff9b4f5c1 100644
> --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
> @@ -86,6 +86,11 @@ reserved-memory {
> #size-cells = <2>;
> ranges;
>
> + nss@40000000 {
> + reg = <0x0 0x40000000 0x0 0x01000000>;
Drop the leading zeroes from the size part.

Konrad
> + no-map;
> + };
> +
> bootloader@4a600000 {
> reg = <0x0 0x4a600000 0x0 0x400000>;
> no-map;
> @@ -104,7 +109,7 @@ smem@4ab00000 {
> hwlocks = <&tcsr_mutex 0>;
> };
>
> - memory@4ac00000 {
> + tz@4ac00000 {
> reg = <0x0 0x4ac00000 0x0 0x400000>;
> no-map;
> };