Skip to content

Firewall ATF and OP-TEE memory regions in Sitara

Suhaas Joshi u-boot 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 2 repliesIn review
  2. v25 patches 2 repliesSuperseded
  3. v15 patches 3 repliesSuperseded

Changes in v3 from the cover letter

* Added configs in non-TI Sitara-based boards' dtsi files, as per Francesco's review.
* Link to v2: https://lore.kernel.org/u-boot/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10arm: dts: k3-binman: Use configs for ATF/OPTEE addressesarch/arm/dts/k3-binman.dtsi+4 -41 reply
2/10arm: dts: k3-am625-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am625-sk-binman.dtsi+29 -00 replies
3/10arm: dts: k3-am625-phycore-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am625-phycore-som-binman.dtsi+30 -00 replies
4/10arm: dts: k3-am625-verdin-binman: Configure Firewall for ATF/OPTEEarch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi+30 -00 replies
5/10arm: dts: k3-am62p-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am62p-sk-binman.dtsi+32 -00 replies
6/10arm: dts: k3-am62p5-verdin-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am62p5-verdin-wifi-dev-binman.dtsi+32 -00 replies
7/10arm: dts: k3-am62a-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am62a-sk-binman.dtsi+30 -00 replies
8/10arm: dts: k3-am62a-phycore-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am62a-phycore-som-binman.dtsi+30 -00 replies
9/10arm: dts: k3-am64x-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am64x-binman.dtsi+31 -00 replies
10/10arm: dts: k3-am642-phycore-binman: Configure firewall for ATF/OPTEEarch/arm/dts/k3-am642-phycore-som-binman.dtsi+31 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/10] Firewall ATF and OP-TEE memory regions in Sitara

This series starts by replacing hard-coded addresses in firewall templates that are defined in k3-binman.dtsi, by Kconfigs. Using Kconfigs makes it easier for someone to move ATF and OP-TEE to another location, since they wouldn't have to fiddle with the firewall configurations in dtsi files.

The rest of the commits in this series add firewall configs to each device's dtsi files.

I have only tested this patch series with TI boards. For non-TI Sitara boards, respective board maintainers are requested to test the relevant patch and confirm whether it works.

To test this, I used k3conf <read|write> <address> [<value>]. Both of these operations were disallowed, as expected.

Changes v2 -> v3
* Added configs in non-TI Sitara-based boards' dtsi files, as per Francesco's review.
* Link to v2: https://lore.kernel.org/u-boot/[email protected]/
Changes v1 -> v2
* Removed un-required empty lines in accordance with Neha's review.
* Link to v1: https://lore.kernel.org/u-boot/[email protected]/

Suhaas Joshi (10):
arm: dts: k3-binman: Use configs for ATF/OPTEE addresses
arm: dts: k3-am625-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am625-phycore-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am625-verdin-binman: Configure Firewall for ATF/OPTEE
arm: dts: k3-am62p-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am62p5-verdin-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am62a-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am62a-phycore-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am64x-binman: Configure firewall for ATF/OPTEE
arm: dts: k3-am642-phycore-binman: Configure firewall for ATF/OPTEE

 arch/arm/dts/k3-am625-phycore-som-binman.dtsi | 30 +++++++++++++++++
 arch/arm/dts/k3-am625-sk-binman.dtsi          | 29 +++++++++++++++++
 .../dts/k3-am625-verdin-wifi-dev-binman.dtsi  | 30 +++++++++++++++++
 arch/arm/dts/k3-am62a-phycore-som-binman.dtsi | 30 +++++++++++++++++
 arch/arm/dts/k3-am62a-sk-binman.dtsi          | 30 +++++++++++++++++
 arch/arm/dts/k3-am62p-sk-binman.dtsi          | 32 +++++++++++++++++++
 .../dts/k3-am62p5-verdin-wifi-dev-binman.dtsi | 32 +++++++++++++++++++
 arch/arm/dts/k3-am642-phycore-som-binman.dtsi | 31 ++++++++++++++++++
 arch/arm/dts/k3-am64x-binman.dtsi             | 31 ++++++++++++++++++
 arch/arm/dts/k3-binman.dtsi                   |  8 ++---
 10 files changed, 279 insertions(+), 4 deletions(-)
Signature · 1 line
2.34.1