]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ethos-n): add support to set up NSAID
authorRajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
Wed, 16 Nov 2022 16:16:44 +0000 (17:16 +0100)
committerJoanna Farley <joanna.farley@arm.com>
Tue, 4 Apr 2023 09:36:14 +0000 (11:36 +0200)
commit70a296ee8641802dc60754aec5b18d8347820a5c
tree22b0742bdb5eef80729f7123b149c0a5a303e4fb
parent0165ddd7c06fe2d0556865fce89ced8694e3812e
feat(ethos-n): add support to set up NSAID

For the TZC to allow the Arm(R) Ethos(TM)-N NPU to access the buffers
allocated in a protected memory region, it must include the correct
NSAID for that region in its transactions to the memory.  This change
updates the SiP service to configure the NSAIDs specified by a platform
define. When doing a protected access the SiP service now configures the
NSAIDs specified by the platform define. For unprotected access the
NSAID is set to zero.

Signed-off-by: Rajasekaran Kalidoss <rajasekaran.kalidoss@arm.com>
Signed-off-by: Rob Hughes <robert.hughes@arm.com>
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Change-Id: I3360ef33705162aba5c67670386922420869e331
docs/getting_started/porting-guide.rst
drivers/arm/ethosn/ethosn_smc.c
plat/arm/board/juno/include/platform_def.h