public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Nickolay Goppen <setotau@mainlining.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Alexey Minnekhanov <alexeymin@minlexx.ru>
Cc: Ekansh Gupta <ekansh.gupta@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH v3 3/4] arm64: dts: qcom: sdm630: describe adsp_mem region properly
Date: Mon, 27 Apr 2026 18:20:02 +0300	[thread overview]
Message-ID: <e282acd6-dfcb-45a6-977d-eb71b2619b7d@mainlining.org> (raw)
In-Reply-To: <337d362d-93de-4e81-8141-a51fa75d615c@oss.qualcomm.com>


27.04.2026 14:49, Konrad Dybcio пишет:
> On 4/22/26 5:39 PM, Nickolay Goppen wrote:
>> Downstream [1] this region is marked as shared, reusable and dynamic so
>> describe it that way.
>>
>> [1]: https://github.com/xiaomi-sdm660/android_kernel_xiaomi_sdm660/blob/11-EAS/arch/arm/boot/dts/qcom/sdm660.dtsi#L448
>>
>> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
>> ---
>>   arch/arm64/boot/dts/qcom/sdm630.dtsi | 9 ++++++---
>>   1 file changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
>> index 4b47efdb57b2..36b419dea153 100644
>> --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
>> @@ -494,9 +494,12 @@ venus_region: venus@9f800000 {
>>   			no-map;
>>   		};
>>   
>> -		adsp_mem: adsp-region@f6000000 {
>> -			reg = <0x0 0xf6000000 0x0 0x800000>;
>> -			no-map;
>> +		adsp_mem: adsp-region {
>> +			compatible = "shared-dma-pool";
>> +			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
> Please make this = <0x0 0x80000000 0x0 0x80000000>; instead, since the RAM
> starts at 0x80000000

+Alexey Min found out that on 3 GiB xiaomi-lavender RAM starts at 0x40000000

40000000-855fffff : System RAM
   40080000-41bfffff : Kernel code
   42600000-42fd0fff : Kernel data
88f00000-8abfffff : System RAM
95000000-feabffff : System RAM

> Konrad

-- 
Best regards,
Nickolay


  parent reply	other threads:[~2026-04-27 15:20 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-22 15:39 [PATCH v3 0/4] arm64: dts: qcom: sdm630/660 FastRPC fixes Nickolay Goppen
2026-04-22 15:39 ` [PATCH v3 1/4] arm64: dts: qcom: sdm660: set cdsp compute-cbs' regs properly Nickolay Goppen
2026-04-22 15:39 ` [PATCH v3 2/4] arm64: dts: qcom: sdm630: set adsp " Nickolay Goppen
2026-04-22 15:39 ` [PATCH v3 3/4] arm64: dts: qcom: sdm630: describe adsp_mem region properly Nickolay Goppen
2026-04-22 15:52   ` Dmitry Baryshkov
2026-04-23  9:09   ` Ekansh Gupta
2026-04-27 11:49   ` Konrad Dybcio
2026-04-27 12:00     ` Nickolay Goppen
2026-04-27 12:08       ` Konrad Dybcio
2026-04-27 12:28         ` Nickolay Goppen
2026-04-27 15:20     ` Nickolay Goppen [this message]
2026-04-27 15:28       ` Alexey Minnekhanov
2026-04-22 15:39 ` [PATCH v3 4/4] arm64: dts: qcom: sdm630: assign adsp_mem region to ADSP FastRPC node Nickolay Goppen
2026-04-23  9:09   ` Ekansh Gupta
2026-04-23 11:05   ` Konrad Dybcio
2026-04-23 13:06     ` Nickolay Goppen
2026-04-23 13:08       ` Konrad Dybcio
2026-04-23 13:48         ` Nickolay Goppen
2026-04-23 14:39           ` Ekansh Gupta
2026-04-23 15:00             ` Nickolay Goppen
2026-04-24 10:01               ` Konrad Dybcio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e282acd6-dfcb-45a6-977d-eb71b2619b7d@mainlining.org \
    --to=setotau@mainlining.org \
    --cc=alexeymin@minlexx.ru \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=ekansh.gupta@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox