diff options
| author | Rob Herring (Arm) <robh@kernel.org> | 2026-08-27 15:33:03 -0500 |
|---|---|---|
| committer | Rob Herring (Arm) <robh@kernel.org> | 2026-09-03 12:06:45 -0500 |
| commit | f5376d7e0fb703876199d3b6f9f97e128fa2f8a4 (patch) | |
| tree | d4ae5f65f67804c919a1e0611a390507b6448115 /scripts/Makefile.thinlto | |
| parent | eb3a41fd35e352fba387c4320a1fa0352f3e551c (diff) | |
| download | linux-stable-f5376d7e0fb703876199d3b6f9f97e128fa2f8a4.tar.gz linux-stable-f5376d7e0fb703876199d3b6f9f97e128fa2f8a4.zip | |
accel: ethosu: Ensure SRAM size is 0 on mapping failure
On a mapping failure of the SRAM, the SRAM size is left as non-zero. The
probe will succeed as the error return is not checked since having SRAM is
not a hard requirement. The non-zero size allows jobs to access SRAM which
is left pointing to physical base address 0x0.
Fixes: 5a5e9c0228e6 ("accel: Add Arm Ethos-U NPU driver")
Cc: stable@vger.kernel.org
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260827-ethosu-fixes-v1-4-346f9ea8791c@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
