mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
If the command stream has larger padding sizes than the IFM and OFM diminsions, then the calculations will underflow to a negative value. The result is a very large region bounds which is caught on submit, but it's better to catch it earlier. Current mesa ethosu driver has a signedness bug which resulted in padding of 127 (the max) and triggers this issue. Reviewed-and-Tested-by: Anders Roxell <anders.roxell@linaro.org> Link: https://patch.msgid.link/20260218-ethos-fixes-v1-3-be3fa3ea9a30@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org> |
||
|---|---|---|
| .. | ||
| ethosu_device.h | ||
| ethosu_drv.c | ||
| ethosu_drv.h | ||
| ethosu_gem.c | ||
| ethosu_gem.h | ||
| ethosu_job.c | ||
| ethosu_job.h | ||
| Kconfig | ||
| Makefile | ||