From: Reza Kurniawan <imkyufie@gmail.com>
To: u-boot-qcom@groups.io, u-boot@lists.u-boot-project.org
Cc: Sumit Garg <sumit.garg@kernel.org>, Tom Rini <trini@konsulko.com>,
Ilias Apalodimas <ilias.apalodimas@linaro.org>,
Casey Connolly <casey.connolly@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,
Lukasz Majewski <lukma@denx.de>,
Alexey Minnekhanov <alexeymin@minlexx.ru>,
Luca Weiss <luca.weiss@fairphone.com>,
Reza Kurniawan <imkyufie@gmail.com>
Subject: [PATCH v3 1/3] mach-snapdragon: Carve out reserved memory at init for MSM8917
Date: Wed, 16 Sep 2026 04:16:02 +0000 [thread overview]
Message-ID: <20260916-msm8917-support-v3-1-35103cb4e01e@gmail.com> (raw)
In-Reply-To: <20260916-msm8917-support-v3-0-35103cb4e01e@gmail.com>
Certain regions of memory in MSM8917 are marked as 'no-map'. These
regions may cause security violation when included in the standard mapping.
Signed-off-by: Reza Kurniawan <imkyufie@gmail.com>
Reviewed-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
---
arch/arm/mach-snapdragon/mem_map.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-snapdragon/mem_map.c b/arch/arm/mach-snapdragon/mem_map.c
index f64ec0c67..eb0242ef8 100644
--- a/arch/arm/mach-snapdragon/mem_map.c
+++ b/arch/arm/mach-snapdragon/mem_map.c
@@ -216,7 +216,8 @@ void enable_caches(void)
* reserved regions as inacessible (PTE_TYPE_FAULT)
*/
if (qcom_memmap_source == QCOM_MEMMAP_SOURCE_SMEM ||
- fdt_node_check_compatible(gd->fdt_blob, 0, "qcom,qcs404") == 0) {
+ fdt_node_check_compatible(gd->fdt_blob, 0, "qcom,qcs404") == 0 ||
+ fdt_node_check_compatible(gd->fdt_blob, 0, "qcom,msm8917") == 0) {
carveout_start = get_timer(0);
/* Takes ~20-50ms on SDM845 */
configure_reserved_memory();
--
2.55.0
next prev parent reply other threads:[~2026-09-16 4:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 4:16 [PATCH v3 0/3] Add preliminary support for MSM8917 Reza Kurniawan
2026-09-16 4:16 ` Reza Kurniawan [this message]
2026-09-16 4:16 ` [PATCH v3 2/3] clk: qcom: Add Global Clock Controller (GCC) driver " Reza Kurniawan
2026-09-16 4:16 ` [PATCH v3 3/3] pinctrl: qcom: Add pinctrl " Reza Kurniawan
2026-10-12 19:01 ` [PATCH v3 0/3] Add preliminary support " Biswapriyo Nath
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=20260916-msm8917-support-v3-1-35103cb4e01e@gmail.com \
--to=imkyufie@gmail.com \
--cc=alexeymin@minlexx.ru \
--cc=balaji.selvanathan@oss.qualcomm.com \
--cc=casey.connolly@linaro.org \
--cc=ilias.apalodimas@linaro.org \
--cc=luca.weiss@fairphone.com \
--cc=lukma@denx.de \
--cc=neil.armstrong@linaro.org \
--cc=sumit.garg@kernel.org \
--cc=trini@konsulko.com \
--cc=u-boot-qcom@groups.io \
--cc=u-boot@lists.u-boot-project.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