From: Stephan Gerhold <stephan@gerhold.net>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Andy Gross <agross@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
Stephan Gerhold <stephan@gerhold.net>
Subject: [PATCH 0/9] arm64: dts: qcom: msm8916/39: Reserve firmware memory dynamically
Date: Mon, 11 Sep 2023 19:41:42 +0200 [thread overview]
Message-ID: <20230911-msm8916-rmem-v1-0-b7089ec3e3a1@gerhold.net> (raw)
Refactor the MSM8916 and MSM8939 device trees to make use of dynamic
memory reservations for the firmware regions, rather than hardcoding
fixed addresses for each device. This allows to keep most of the
definitions in the SoC.dtsi while defining the board-specific
properties (such as firmware size) separately for each device.
The main motivation for this patch set is to simplify enabling the
modem on the various MSM8916/39 devices. The modem firmware size
differs on almost each device, which requires redefining *all* of
the firmware reservations with newly calculated addresses to make
room for the larger modem firmware. I've explained this in detail
in a previous RFC:
https://lore.kernel.org/linux-arm-msm/20230510-dt-resv-bottom-up-v1-4-3bf68873dbed@gerhold.net/
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
Stephan Gerhold (9):
arm64: dts: qcom: msm8916: Disable venus by default
arm64: dts: qcom: msm8916/39: Disable GPU by default
arm64: dts: qcom: msm8916-ufi: Drop gps_mem for now
arm64: dts: qcom: msm8916: Reserve firmware memory dynamically
arm64: dts: qcom: msm8916: Reserve MBA memory dynamically
arm64: dts: qcom: msm8939: Reserve firmware memory dynamically
arm64: dts: qcom: msm8916/39: Disable unneeded firmware reservations
arm64: dts: qcom: msm8916/39: Move mpss_mem size to boards
arm64: dts: qcom: msm8916/39: Fix venus memory size
arch/arm64/boot/dts/qcom/apq8016-sbc.dts | 25 ++++++++++++++
arch/arm64/boot/dts/qcom/apq8039-t2.dts | 8 +++++
arch/arm64/boot/dts/qcom/msm8916-acer-a1-724.dts | 12 +++++++
.../boot/dts/qcom/msm8916-alcatel-idol347.dts | 12 +++++++
arch/arm64/boot/dts/qcom/msm8916-asus-z00l.dts | 12 +++++++
arch/arm64/boot/dts/qcom/msm8916-gplus-fl8005a.dts | 12 +++++++
arch/arm64/boot/dts/qcom/msm8916-huawei-g7.dts | 12 +++++++
.../boot/dts/qcom/msm8916-longcheer-l8150.dts | 21 ++++++++++--
.../boot/dts/qcom/msm8916-longcheer-l8910.dts | 12 +++++++
.../dts/qcom/msm8916-samsung-a2015-common.dtsi | 12 +++++++
.../boot/dts/qcom/msm8916-samsung-a3u-eur.dts | 4 +++
.../boot/dts/qcom/msm8916-samsung-a5u-eur.dts | 4 +++
.../dts/qcom/msm8916-samsung-e2015-common.dtsi | 4 +++
.../boot/dts/qcom/msm8916-samsung-gt5-common.dtsi | 12 +++++++
.../boot/dts/qcom/msm8916-samsung-j5-common.dtsi | 12 +++++++
.../boot/dts/qcom/msm8916-samsung-serranove.dts | 12 +++++++
arch/arm64/boot/dts/qcom/msm8916-ufi.dtsi | 33 +++++++++++-------
.../boot/dts/qcom/msm8916-wingtech-wt88047.dts | 12 +++++++
arch/arm64/boot/dts/qcom/msm8916.dtsi | 39 +++++++++++++++++-----
arch/arm64/boot/dts/qcom/msm8939-samsung-a7.dts | 4 +++
.../dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts | 8 +++++
arch/arm64/boot/dts/qcom/msm8939.dtsi | 37 +++++++++++++++-----
22 files changed, 288 insertions(+), 31 deletions(-)
---
base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d
change-id: 20230720-msm8916-rmem-f88fff6bcded
Best regards,
--
Stephan Gerhold <stephan@gerhold.net>
next reply other threads:[~2023-09-11 20:50 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 17:41 Stephan Gerhold [this message]
2023-09-11 17:41 ` [PATCH 1/9] arm64: dts: qcom: msm8916: Disable venus by default Stephan Gerhold
2023-09-12 6:34 ` Bryan O'Donoghue
2023-09-11 17:41 ` [PATCH 2/9] arm64: dts: qcom: msm8916/39: Disable GPU " Stephan Gerhold
2023-09-12 6:35 ` Bryan O'Donoghue
2023-09-12 7:45 ` Konrad Dybcio
2023-09-11 17:41 ` [PATCH 3/9] arm64: dts: qcom: msm8916-ufi: Drop gps_mem for now Stephan Gerhold
2023-09-12 6:36 ` Bryan O'Donoghue
2023-09-12 7:42 ` Stephan Gerhold
2023-09-11 17:41 ` [PATCH 4/9] arm64: dts: qcom: msm8916: Reserve firmware memory dynamically Stephan Gerhold
2023-09-13 9:06 ` Konrad Dybcio
2023-09-13 9:12 ` Bryan O'Donoghue
2023-09-13 10:14 ` Stephan Gerhold
2023-09-13 19:39 ` Konrad Dybcio
2023-09-14 14:09 ` Stephan Gerhold
2023-09-15 13:52 ` Konrad Dybcio
2023-09-15 14:00 ` Stephan Gerhold
2023-09-11 17:41 ` [PATCH 5/9] arm64: dts: qcom: msm8916: Reserve MBA " Stephan Gerhold
2023-09-13 8:59 ` Konrad Dybcio
2023-09-11 17:41 ` [PATCH 6/9] arm64: dts: qcom: msm8939: Reserve firmware " Stephan Gerhold
2023-09-11 17:41 ` [PATCH 7/9] arm64: dts: qcom: msm8916/39: Disable unneeded firmware reservations Stephan Gerhold
2023-09-15 13:51 ` Konrad Dybcio
2023-09-15 14:02 ` Stephan Gerhold
2023-09-11 17:41 ` [PATCH 8/9] arm64: dts: qcom: msm8916/39: Move mpss_mem size to boards Stephan Gerhold
2023-09-15 13:51 ` Konrad Dybcio
2023-09-15 14:03 ` Stephan Gerhold
2023-09-11 17:41 ` [PATCH 9/9] arm64: dts: qcom: msm8916/39: Fix venus memory size Stephan Gerhold
2023-09-12 7:50 ` Konrad Dybcio
2023-09-20 17:14 ` [PATCH 0/9] arm64: dts: qcom: msm8916/39: Reserve firmware memory dynamically Bjorn Andersson
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=20230911-msm8916-rmem-v1-0-b7089ec3e3a1@gerhold.net \
--to=stephan@gerhold.net \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).