From: Mian Yousaf Kaukab <ykaukab@suse.de>
To: swarren@wwwdotorg.org, robh+dt@kernel.org, robin.murphy@arm.com
Cc: devicetree@vger.kernel.org, talho@nvidia.com,
thierry.reding@gmail.com, jonathanh@nvidia.com,
linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, afaerber@suse.de,
arnd@arndb.de, gregkh@linuxfoundation.org,
Mian Yousaf Kaukab <ykaukab@suse.de>
Subject: [PATCH 3/4] arm64: tegra186: add reserved-only flag in sysram node
Date: Tue, 12 May 2020 16:48:02 +0200 [thread overview]
Message-ID: <20200512144803.24344-3-ykaukab@suse.de> (raw)
In-Reply-To: <20200512144803.24344-1-ykaukab@suse.de>
bpmp driver has reserved regions in sysram. Since sysram is only used
by the bpmp driver, add ‘reserved-only’ flag to the sysram node so
that only regions used by the bpmp driver are remapped. Other regions
of the sysram may not be accessible to the kernel and a speculative
access to them can cause SError.
Signed-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>
---
arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra186.dtsi b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index 58100fb9cd8b..07ce7e7b270c 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@ -1219,6 +1219,7 @@ sysram@30000000 {
#address-cells = <2>;
#size-cells = <2>;
ranges = <0 0x0 0x0 0x30000000 0x0 0x50000>;
+ reserved-only;
cpu_bpmp_tx: shmem@4e000 {
compatible = "nvidia,tegra186-bpmp-shmem";
--
2.25.0
next prev parent reply other threads:[~2020-05-12 14:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-12 14:48 [PATCH 1/4] misc: sram: add support for remapping reserved regions only Mian Yousaf Kaukab
2020-05-12 14:48 ` [PATCH 2/4] dt-bindings: sram: add documentation for reserved-only flag Mian Yousaf Kaukab
2020-05-12 19:45 ` Stephen Warren
2020-05-13 10:41 ` Mian Yousaf Kaukab
2020-05-19 16:16 ` Stephen Warren
2020-05-19 23:03 ` Rob Herring
2020-05-20 8:55 ` Thierry Reding
2020-05-26 15:28 ` Mian Yousaf Kaukab
2020-05-20 8:40 ` Thierry Reding
2020-05-12 14:48 ` Mian Yousaf Kaukab [this message]
2020-05-12 14:48 ` [PATCH 4/4] arm64: tegra194: add reserved-only flag in sysram node Mian Yousaf Kaukab
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=20200512144803.24344-3-ykaukab@suse.de \
--to=ykaukab@suse.de \
--cc=afaerber@suse.de \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jonathanh@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=robin.murphy@arm.com \
--cc=swarren@wwwdotorg.org \
--cc=talho@nvidia.com \
--cc=thierry.reding@gmail.com \
/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).