Aw: Re: [RFC v1 12/14] arm64: dts: mediatek: mt7988: add reserved memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Gesendet: Mittwoch, 27. November 2024 um 14:34
&gt; Von: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@xxxxxxxxxxxxx>
&gt; An: "Frank Wunderlich" <linux@xxxxxxxxx>, "Rob Herring" <robh@xxxxxxxxxx>, "Krzysztof Kozlowski" <krzk+dt@xxxxxxxxxx>, "Conor Dooley" <conor+dt@xxxxxxxxxx>, "Matthias Brugger" <matthias.bgg@xxxxxxxxx>
&gt; CC: "Frank Wunderlich" <frank-w@xxxxxxxxxxxxxxx>, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-mediatek@xxxxxxxxxxxxxxxxxxx
&gt; Betreff: Re: [RFC v1 12/14] arm64: dts: mediatek: mt7988: add reserved memory
&gt;
&gt; Il 29/10/24 11:39, Frank Wunderlich ha scritto:
&gt; &gt; From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
&gt; &gt;
&gt; &gt; Add memory range handled by ATF to not be touched by linux kernel.
&gt; &gt;
&gt; &gt; Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
&gt;
&gt; If you are really sure that this is always the same for all boards based on MT7988,
&gt; I will trust you and give you my R-b once this series gets out of RFC state.

I'm not sure, but ATF is SoC specific and so it should be a SoC specific range, not board specific

&gt; Cheers,
&gt; Angelo
&gt;
&gt; &gt; ---
&gt; &gt;   arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 12 ++++++++++++
&gt; &gt;   1 file changed, 12 insertions(+)
&gt; &gt;
&gt; &gt; diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; index a3a7deda35a5..7721d2ec06ee 100644
&gt; &gt; --- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; +++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
&gt; &gt; @@ -81,6 +81,18 @@ reg_3p3v: regulator-3p3v {
&gt; &gt;   		regulator-always-on;
&gt; &gt;   	};
&gt; &gt;
&gt; &gt; +	reserved-memory {
&gt; &gt; +		#address-cells = &lt;2&gt;;
&gt; &gt; +		#size-cells = &lt;2&gt;;
&gt; &gt; +		ranges;
&gt; &gt; +
&gt; &gt; +		/* 320 KiB reserved for ARM Trusted Firmware (BL31 and BL32) */
&gt; &gt; +		secmon_reserved: secmon@43000000 {
&gt; &gt; +			reg = &lt;0 0x43000000 0 0x50000&gt;;
&gt; &gt; +			no-map;
&gt; &gt; +		};
&gt; &gt; +	};
&gt; &gt; +
&gt; &gt;   	soc {
&gt; &gt;   		compatible = "simple-bus";
&gt; &gt;   		ranges;
&gt;
&gt; </frank-w@xxxxxxxxxxxxxxx></frank-w@xxxxxxxxxxxxxxx></frank-w@xxxxxxxxxxxxxxx></matthias.bgg@xxxxxxxxx></conor+dt@xxxxxxxxxx></krzk+dt@xxxxxxxxxx></robh@xxxxxxxxxx></linux@xxxxxxxxx></angelogioacchino.delregno@xxxxxxxxxxxxx>





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux