diff options
author | Mikael Olsson <mikael.olsson@arm.com> | 2023-03-14 18:29:06 +0100 |
---|---|---|
committer | Joanna Farley <joanna.farley@arm.com> | 2023-04-04 11:37:55 +0200 |
commit | 986c4e991ace5cb40bed35145184e66863c47152 (patch) | |
tree | f1e5601ef5ec2529992aca422977bd05423a6011 /docs/getting_started | |
parent | 6dcf3e774457cf00b91abda715adfbefce822877 (diff) | |
download | arm-trusted-firmware-986c4e991ace5cb40bed35145184e66863c47152.tar.gz |
feat(ethos-n): add separate RO and RW NSAIDs
To be able to further restrict the memory access for the Arm(R)
Ethos(TM)-N NPU, separate read-only and read/write NSAIDs for the
non-protected and protected memory have been added to the Juno
platform's TZMP1 TZC configuration for the NPU.
The platform definition has been updated accordingly and the NPU driver
will now only give read/write access to the streams that require it.
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Change-Id: I5a173500fc1943a5cd406a3b379e1f1f554eeda6
Diffstat (limited to 'docs/getting_started')
-rw-r--r-- | docs/getting_started/porting-guide.rst | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/docs/getting_started/porting-guide.rst b/docs/getting_started/porting-guide.rst index 5b88fcb38..1a4b107b6 100644 --- a/docs/getting_started/porting-guide.rst +++ b/docs/getting_started/porting-guide.rst @@ -582,10 +582,25 @@ enabled, the following constants must also be defined. Defines the Non-secure Access IDentity (NSAID) that the NPU shall use to access the protected memory that contains the NPU's firmware. -- **ARM_ETHOSN_NPU_PROT_DATA_NSAID** +- **ARM_ETHOSN_NPU_PROT_DATA_RW_NSAID** - Defines the Non-secure Access IDentity (NSAID) that the NPU shall use to - access the protected memory that contains inference data. + Defines the Non-secure Access IDentity (NSAID) that the NPU shall use for + read/write access to the protected memory that contains inference data. + +- **ARM_ETHOSN_NPU_PROT_DATA_RO_NSAID** + + Defines the Non-secure Access IDentity (NSAID) that the NPU shall use for + read-only access to the protected memory that contains inference data. + +- **ARM_ETHOSN_NPU_NS_RW_DATA_NSAID** + + Defines the Non-secure Access IDentity (NSAID) that the NPU shall use for + read/write access to the non-protected memory. + +- **ARM_ETHOSN_NPU_NS_RO_DATA_NSAID** + + Defines the Non-secure Access IDentity (NSAID) that the NPU shall use for + read-only access to the non-protected memory. - **ARM_ETHOSN_NPU_FW_IMAGE_BASE** and **ARM_ETHOSN_NPU_FW_IMAGE_LIMIT** |