summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2025-03-27 01:41:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 11:23:20 +0300
commitf9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8 (patch)
tree96fdf5dd4bc1a380a4b9f0a9d5f81e6886c28a27 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent410a28539de7c7c77f778fb10ba904c26a3e6b4b (diff)
downloadlinux-f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8.tar.xz
spi: fsl-qspi: use devm function instead of driver remove
commit 40369bfe717e96e26650eeecfa5a6363563df6e4 upstream. Driver use devm APIs to manage clk/irq/resources and register the spi controller, but the legacy remove function will be called first during device detach and trigger kernel panic. Drop the remove function and use devm_add_action_or_reset() for driver cleanup to ensure the release sequence. Trigger kernel panic on i.MX8MQ by echo 30bb0000.spi >/sys/bus/platform/drivers/fsl-quadspi/unbind Cc: stable@vger.kernel.org Fixes: 8fcb830a00f0 ("spi: spi-fsl-qspi: use devm_spi_register_controller") Reported-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20250326224152.2147099-1-han.xu@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions