Skip to content

ethosu: Add Arm Ethos-U driver

Alison Wang linux-arm-kernel lkml oe-kbuild-all 1 version NAK

Status from this message: NAK - if there's a bug in the core code, that wants to be fixed, not bodged around by individual drivers. However from the look of the code here, the driver appears to be misusing the property in an i…

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/8ethosu: Add Arm Ethos-U driverdrivers/firmware/Kconfig drivers/firmware/Makefile drivers/firmware/ethosu/Kconfig +14 more+2951 -07 replies
2/8ethosu: Use RPMsg messaging protocol based on i.MX Rpmsg implementationdrivers/firmware/ethosu/Makefile drivers/firmware/ethosu/ethosu_device.c drivers/firmware/ethosu/ethosu_device.h +6 more+383 -6200 replies
3/8ethosu: Add inference type option for model and opdrivers/firmware/ethosu/ethosu_core_interface.h drivers/firmware/ethosu/ethosu_inference.c drivers/firmware/ethosu/ethosu_inference.h +3 more+34 -50 replies
4/8ethosu: Add suspend/resume power managementdrivers/firmware/ethosu/ethosu_buffer.c drivers/firmware/ethosu/ethosu_core_interface.h drivers/firmware/ethosu/ethosu_device.c +4 more+133 -00 replies
5/8ethosu: Use ids for identifying messages sent to Ethos-U firmwaredrivers/firmware/ethosu/Kconfig drivers/firmware/ethosu/Makefile drivers/firmware/ethosu/ethosu_buffer.c +14 more+606 -3110 replies
6/8ethosu: Add core message about network infodrivers/firmware/ethosu/Makefile drivers/firmware/ethosu/ethosu_core_interface.h drivers/firmware/ethosu/ethosu_device.c +8 more+470 -320 replies
7/8ethosu: Add core message about inference cancellationdrivers/firmware/ethosu/Makefile drivers/firmware/ethosu/ethosu_cancel_inference.c drivers/firmware/ethosu/ethosu_cancel_inference.h +5 more+349 -180 replies
8/8ethosu: Add rwlock when alloc and remove msg iddrivers/firmware/ethosu/ethosu_driver.c drivers/firmware/ethosu/ethosu_rpmsg.c drivers/firmware/ethosu/ethosu_rpmsg.h+16 -70 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchPeng Fan
1/8
2/8R-b
3/8R-b
4/8R-b
5/8
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] ethosu: Add Arm Ethos-U driver

This series contains Arm's NPU Ethos-U driver for NXP i.MX93 platform.

Ethos-U Linux driver is to provide an example of how a rich operating system like Linux can dispatch inferences to an Arm Cortex-M subsystem, consisting of an Arm Cortex-M and an Arm Ethos-U NPU.

----------------------------------------------------------------
Alison Wang (8):
ethosu: Add Arm Ethos-U driver
ethosu: Use RPMsg messaging protocol based on i.MX Rpmsg implementation
ethosu: Add inference type option for model and op
ethosu: Add suspend/resume power management
ethosu: Use ids for identifying messages sent to Ethos-U firmware
ethosu: Add core message about network info
ethosu: Add core message about inference cancellation
ethosu: Add rwlock when alloc and remove msg id

 drivers/firmware/Kconfig                          |   1 +
 drivers/firmware/Makefile                         |   1 +
 drivers/firmware/ethosu/Kconfig                   |  24 ++++
 drivers/firmware/ethosu/Makefile                  |  31 +++++
 drivers/firmware/ethosu/ethosu_buffer.c           | 319 +++++++++++++++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_buffer.h           | 106 +++++++++++++++
 drivers/firmware/ethosu/ethosu_cancel_inference.c | 185 +++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_cancel_inference.h |  55 ++++++++
 drivers/firmware/ethosu/ethosu_capabilities.c     | 157 ++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_capabilities.h     |  47 +++++++
 drivers/firmware/ethosu/ethosu_core_interface.h   | 276 ++++++++++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_device.c           | 404 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_device.h           |  81 +++++++++++
 drivers/firmware/ethosu/ethosu_driver.c           | 201 +++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_inference.c        | 529 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_inference.h        | 125 +++++++++++++++++
 drivers/firmware/ethosu/ethosu_network.c          | 229 +++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_network.h          |  84 ++++++++++++
 drivers/firmware/ethosu/ethosu_network_info.c     | 184 +++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_network_info.h     |  56 ++++++++
 drivers/firmware/ethosu/ethosu_rpmsg.c            | 414 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/firmware/ethosu/ethosu_rpmsg.h            | 155 +++++++++++++++++++++
 drivers/firmware/ethosu/uapi/ethosu.h             | 285 +++++++++++++++++++++++++++++++++++++++
 23 files changed, 3949 insertions(+)
 create mode 100644 drivers/firmware/ethosu/Kconfig
 create mode 100644 drivers/firmware/ethosu/Makefile
 create mode 100644 drivers/firmware/ethosu/ethosu_buffer.c
 create mode 100644 drivers/firmware/ethosu/ethosu_buffer.h
 create mode 100644 drivers/firmware/ethosu/ethosu_cancel_inference.c
 create mode 100644 drivers/firmware/ethosu/ethosu_cancel_inference.h
 create mode 100644 drivers/firmware/ethosu/ethosu_capabilities.c
 create mode 100644 drivers/firmware/ethosu/ethosu_capabilities.h
 create mode 100644 drivers/firmware/ethosu/ethosu_core_interface.h
 create mode 100644 drivers/firmware/ethosu/ethosu_device.c
 create mode 100644 drivers/firmware/ethosu/ethosu_device.h
 create mode 100644 drivers/firmware/ethosu/ethosu_driver.c
 create mode 100644 drivers/firmware/ethosu/ethosu_inference.c
 create mode 100644 drivers/firmware/ethosu/ethosu_inference.h
 create mode 100644 drivers/firmware/ethosu/ethosu_network.c
 create mode 100644 drivers/firmware/ethosu/ethosu_network.h
 create mode 100644 drivers/firmware/ethosu/ethosu_network_info.c
 create mode 100644 drivers/firmware/ethosu/ethosu_network_info.h
 create mode 100644 drivers/firmware/ethosu/ethosu_rpmsg.c
 create mode 100644 drivers/firmware/ethosu/ethosu_rpmsg.h
 create mode 100644 drivers/firmware/ethosu/uapi/ethosu.h

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel