lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210106030709.GD14794@thinkpad>
Date:   Wed, 6 Jan 2021 08:37:09 +0530
From:   Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To:     Bjorn Andersson <bjorn.andersson@...aro.org>
Cc:     agross@...nel.org, linux-arm-msm@...r.kernel.org,
        linux-kernel@...r.kernel.org, Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH v2 02/18] ARM: dts: qcom: sdx55: Add reserved memory nodes

On Tue, Jan 05, 2021 at 12:05:49PM -0600, Bjorn Andersson wrote:
> On Tue 05 Jan 06:26 CST 2021, Manivannan Sadhasivam wrote:
> 
> > From: Vinod Koul <vkoul@...nel.org>
> > 
> > This adds reserved memory nodes to the SDX55 dtsi as defined by v8 of
> > the memory map
> > 
> > Signed-off-by: Vinod Koul <vkoul@...nel.org>
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
> > ---
> >  arch/arm/boot/dts/qcom-sdx55.dtsi | 67 +++++++++++++++++++++++++++++++
> >  1 file changed, 67 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi
> > index 08b4a40338fa..eeb6bf392f93 100644
> > --- a/arch/arm/boot/dts/qcom-sdx55.dtsi
> > +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi
> > @@ -60,6 +60,73 @@ psci {
> >  		method = "smc";
> >  	};
> >  
> > +	reserved-memory {
> > +		#address-cells = <1>;
> > +		#size-cells = <1>;
> > +		ranges;
> > +
> > +		mpss_debug_mem: memory@...00000 {
> > +			no-map;
> > +			reg = <0x8ef00000 0x800000>;
> > +		};
> > +
> > +		hyp_mem: memory@...00000 {
> > +			no-map;
> > +			reg = <0x8fc00000 0x80000>;
> > +		};
> > +
> > +		ac_db_mem: memory@...80000 {
> > +			no-map;
> > +			reg = <0x8fc80000 0x40000>;
> > +		};
> > +
> > +		secdata_mem: memory@...fd000 {
> > +			no-map;
> > +			reg = <0x8fcfd000 0x1000>;
> > +		};
> > +
> > +		ipa_fw_mem: memory@...ed000 {
> > +			no-map;
> > +			reg = <0x8fced000 0x10000>;
> > +		};
> > +
> > +		sbl_mem: memory@...00000 {
> > +			no-map;
> > +			reg = <0x8fd00000 0x100000>;
> > +		};
> > +
> > +		aop_image: memory@...00000 {
> > +			no-map;
> > +			reg = <0x8fe00000 0x20000>;
> > +		};
> > +
> > +		aop_cmd_db: memory@...20000 {
> > +			compatible = "qcom,cmd-db";
> > +			reg = <0x8fe20000 0x20000>;
> > +			no-map;
> > +		};
> > +
> > +		smem_mem: memory@...40000 {
> > +			no-map;
> > +			reg = <0x8fe40000 0xc0000>;
> > +		};
> > +
> > +		tz_mem: memory@...00000 {
> > +			no-map;
> > +			reg = <0x8ff00000 0x100000>;
> > +		};
> > +
> > +		tz_apps_mem: memory@...0000000 {
> > +			no-map;
> > +			reg = <0x90000000 0x500000>;
> > +		};
> > +
> > +		mpss_adsp_mem: memory@...00000 {
> > +			no-map;
> > +			reg = <0x90800000 0xf800000>;
> 
> Didn't you say this moved to 0x9c000000?
> 

That's for an old bootloader which is used in the MTP. But I guess we should
always use the latest mem map for the latest bootloader.

Thanks,
Mani

> Regards,
> Bjorn
> 
> > +		};
> > +	};
> > +
> >  	soc: soc {
> >  		#address-cells = <1>;
> >  		#size-cells = <1>;
> > -- 
> > 2.25.1
> > 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ