summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-09-01 13:37:36 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2026-09-16 19:55:13 +1000
commit53cf0f26eece095a3752642151150404bc3351cc (patch)
tree8650064a9558f9b7e13d9cee824291637e31ddb2 /tools/perf/python/stackcollapse.py
parent60892a384aa1e65d0e703e1c513417bdf0c80777 (diff)
downloadlinux-next-53cf0f26eece095a3752642151150404bc3351cc.tar.gz
linux-next-53cf0f26eece095a3752642151150404bc3351cc.zip
crypto: caam - map job ring registers without claiming region
devm_platform_ioremap_resource() ends up calling request_mem_region(), which fails with -EBUSY on i.MX SoCs: There the job rings are modelled as sub-regions of their parent fsl,sec-v4.0 register window, and caam_probe() already reserves the whole window exclusively via devm_of_iomap() before the children are populated. Every job ring therefore collides with its own parent and fails to probe, taking the hardware RNG offline (seen on i.MX6, i.MX7 and i.MX8 boards such as colibri-imx7 and verdin-imx8mp). Map the job ring registers with devm_ioremap() instead, which does not claim the (already owned) region. Fixes: 9a955c0a7d11 ("crypto: caam - simplify probe resource and IRQ handling") Assisted-by: opencode:big-pickle Signed-off-by: Rosen Penev <rosenp@gmail.com> Reported-by: Emanuele Ghidoli <ghidoliemanuele@gmail.com> Tested-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com> Tested-by: Richard Leitner <richard.leitner@linux.dev> # i.MX8MP Tested-by: Sahil Malhotra <sahil.malhotra@nxp.com> # i.MX8MM-EVK Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions