summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2026-07-20 18:14:47 -0500
committerRob Herring (Arm) <robh@kernel.org>2026-07-21 15:21:56 -0500
commit18a551482a4a326790698b273e76d7575a51a57d (patch)
tree78cf26e53e684ad9f47e49ea0bac8a5f51f124ae /tools/perf/scripts/python/stackcollapse.py
parenta4f55260f7f7d4dc4d0ee55063dfb0c457b77991 (diff)
accel: ethosu: Fix element size accounting for cmd stream validation
There are 2 issues with the element size handling in the command stream validation which result in too small of a size calculated when the element size is 16/32/64 bits. For NHWC format, the element size is simply missing from the calculation. The bitfield for the element size is different between IFM/IFM2 and OFM. IFM and IFM2 encode the precision in parameter bits 2:3, while OFM uses bits 1:2. Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver") Acked-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Link: https://patch.msgid.link/20260720231450.485221-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions