]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(ethos-n)!: add support for SMMU streams
authorMikael Olsson <mikael.olsson@arm.com>
Mon, 15 Aug 2022 15:12:58 +0000 (17:12 +0200)
committerMikael Olsson <mikael.olsson@arm.com>
Tue, 4 Oct 2022 13:15:04 +0000 (15:15 +0200)
commitb139f1cf975f9968eb8bd1182a173b976ecf06f9
treec071075db28d723d5e0fd35f976bab466e7f5d8e
parentaa9d315009fba78cb3135b06d93001b2b18cf748
feat(ethos-n)!: add support for SMMU streams

The Arm(R) Ethos(TM)-N NPU driver now supports configuring the SMMU
streams that the NPU shall use and will therefore no longer delegate
access to these registers to the non-secure world. In order for the
driver to support this, the device tree parsing has been updated to
support parsing the allocators used by the NPU and what SMMU stream that
is associated with each allocator.

To keep track of what NPU device each allocator is associated with, the
resulting config from the device tree parsing will now group the NPU
cores and allocators into their respective NPU device.

The SMC API has been changed to allow the caller to specify what
allocator the NPU shall be configured to use and the API version has
been bumped to indicate this change.

Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
Change-Id: I6ac43819133138614e3f55a014e93466fe3d5277
docs/plat/arm/arm-build-options.rst
drivers/arm/ethosn/ethosn_smc.c
fdts/juno-ethosn.dtsi
include/drivers/arm/ethosn.h
include/plat/arm/common/arm_sip_svc.h
include/plat/arm/common/fconf_ethosn_getter.h
plat/arm/common/arm_common.mk
plat/arm/common/fconf/fconf_ethosn_getter.c