diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-05-13 13:54:34 -0500 |
|---|---|---|
| committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2026-05-18 11:06:50 +0200 |
| commit | 9cff90774872ed6613b7571ce018b5b455d86890 (patch) | |
| tree | 4470afe11b5f43b857958cadcf6cbf245ad0e032 /include/linux/timerqueue.h | |
| parent | 4c26e162947f91aa78ba57dd4fddd38fc80e7d60 (diff) | |
accel: ethosu: Validate SRAM size on submit
Regions with a BO are checked against the BO size, but the SRAM
region is not. The SRAM region doesn't have a BO, but the command stream
region size should be checked against the SRAM size. The job's
"sram_size" isn't useful here because an evil userspace could lie about
the size.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260513185434.1667045-1-robh@kernel.org
Signed-off-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
