accel: ethosu: Handle U85 internal chaining buffer
authorRob Herring (Arm) <robh@kernel.org>
Mon, 20 Jul 2026 23:14:48 +0000 (18:14 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 21 Jul 2026 20:21:56 +0000 (15:21 -0500)
commit6b7e0066294d23ad1fd37f4326c32e8090fb8b65
treeca49b499a29cdf64648ac7d035fbdad95f333912
parent18a551482a4a326790698b273e76d7575a51a57d
accel: ethosu: Handle U85 internal chaining buffer

The Ethos-U85 supports an internal chaining buffer as temporary storage
between some operations. When chaining is activated, the IFM/OFM region
setting selects a chaining buffer rather than a region, and the IFM/OFM
base addresses don't matter. In this case, the feature matrix size
calculations should be skipped. Otherwise, the command stream will be
intermittently rejected depending on prior feature matrix base
addresses.

Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
Acked-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Link: https://patch.msgid.link/20260720231450.485221-2-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/accel/ethosu/ethosu_gem.c