From: Mian Yousaf Kaukab <ykaukab@suse.de>
To: swarren@wwwdotorg.org, robh+dt@kernel.org, robin.murphy@arm.com
Cc: devicetree@vger.kernel.org, arnd@arndb.de,
gregkh@linuxfoundation.org, Mian Yousaf Kaukab <ykaukab@suse.de>,
linux-kernel@vger.kernel.org, jonathanh@nvidia.com,
talho@nvidia.com, thierry.reding@gmail.com,
linux-tegra@vger.kernel.org, afaerber@suse.de,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] arm64: tegra194: add reserved-only flag in sysram node
Date: Tue, 12 May 2020 16:48:03 +0200 [thread overview]
Message-ID: <20200512144803.24344-4-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/tegra194.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index e1ae01c2d039..9a5276d9c2a6 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -1743,6 +1743,7 @@ sysram@40000000 {
#address-cells = <1>;
#size-cells = <1>;
ranges = <0x0 0x0 0x40000000 0x50000>;
+ reserved-only;
cpu_bpmp_tx: shmem@4e000 {
compatible = "nvidia,tegra194-bpmp-shmem";
--
2.25.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2020-05-12 14:49 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 ` [PATCH 3/4] arm64: tegra186: add reserved-only flag in sysram node Mian Yousaf Kaukab
2020-05-12 14:48 ` Mian Yousaf Kaukab [this message]
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-4-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).