mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
@ 2023-03-08 21:06 Luca Weiss
  2023-03-08 23:47 ` Konrad Dybcio
  2023-03-15 23:35 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Weiss @ 2023-03-08 21:06 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel, Luca Weiss

Turns out these two memory regions also need to be avoided, otherwise
weird things will happen when Linux tries to use this memory.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
index de2fb1c01b6e3..b82381229adf6 100644
--- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
+++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
@@ -27,6 +27,16 @@ chosen {
 	};
 
 	reserved-memory {
+		sbl_region: sbl@2f00000 {
+			reg = <0x02f00000 0x100000>;
+			no-map;
+		};
+
+		external_image_region: external-image@3100000 {
+			reg = <0x03100000 0x200000>;
+			no-map;
+		};
+
 		adsp_region: adsp@3300000 {
 			reg = <0x03300000 0x1400000>;
 			no-map;

---
base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
change-id: 20230308-lenok-reserved-memory-b9373f9c8993

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
  2023-03-08 21:06 [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory Luca Weiss
@ 2023-03-08 23:47 ` Konrad Dybcio
  2023-03-15 23:35 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2023-03-08 23:47 UTC (permalink / raw)
  To: Luca Weiss, ~postmarketos/upstreaming, phone-devel, Andy Gross,
	Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree, linux-kernel



On 8.03.2023 22:06, Luca Weiss wrote:
> Turns out these two memory regions also need to be avoided, otherwise
> weird things will happen when Linux tries to use this memory.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
> index de2fb1c01b6e3..b82381229adf6 100644
> --- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
> +++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
> @@ -27,6 +27,16 @@ chosen {
>  	};
>  
>  	reserved-memory {
> +		sbl_region: sbl@2f00000 {
oh that must have been fun


Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
> +			reg = <0x02f00000 0x100000>;
> +			no-map;
> +		};
> +
> +		external_image_region: external-image@3100000 {
> +			reg = <0x03100000 0x200000>;
> +			no-map;
> +		};
> +
>  		adsp_region: adsp@3300000 {
>  			reg = <0x03300000 0x1400000>;
>  			no-map;
> 
> ---
> base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
> change-id: 20230308-lenok-reserved-memory-b9373f9c8993
> 
> Best regards,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
  2023-03-08 21:06 [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory Luca Weiss
  2023-03-08 23:47 ` Konrad Dybcio
@ 2023-03-15 23:35 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2023-03-15 23:35 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Konrad Dybcio, phone-devel,
	Luca Weiss, ~postmarketos/upstreaming, Andy Gross
  Cc: devicetree, linux-arm-msm, linux-kernel

On Wed, 08 Mar 2023 22:06:03 +0100, Luca Weiss wrote:
> Turns out these two memory regions also need to be avoided, otherwise
> weird things will happen when Linux tries to use this memory.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory
      commit: ecd240875e877d78fd03efbc62292f550872df3f

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-15 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 21:06 [PATCH] ARM: dts: qcom: apq8026-lg-lenok: add missing reserved memory Luca Weiss
2023-03-08 23:47 ` Konrad Dybcio
2023-03-15 23:35 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®