diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-02-18 16:21:56 -0600 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-12 07:10:00 -0400 |
| commit | 19c72ec795b6d97df39d8271c38b22411e18b18f (patch) | |
| tree | 7459a5d994fb1d0ae890f694153e20e2cfc5eaff /include/net/aligned_data.h | |
| parent | de71b3d73e287369db8df8438e926b4d74787ce0 (diff) | |
accel: ethosu: Fix NPU_OP_ELEMENTWISE validation with scalar
[ Upstream commit 838ae99f9a77a5724ee6d4e7b7b1eb079147f888 ]
The NPU_OP_ELEMENTWISE instruction uses a scalar value for IFM2 if the
IFM2_BROADCAST "scalar" mode is set. It is a bit (7) on the u65 and
part of a field (bits 3:0) on the u85. The driver was hardcoded to the
u85.
Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
Reviewed-and-Tested-by: Anders Roxell <anders.roxell@linaro.org>
Link: https://patch.msgid.link/20260218-ethos-fixes-v1-2-be3fa3ea9a30@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
