diff options
| author | Praveen Talari <praveen.talari@oss.qualcomm.com> | 2026-08-18 18:58:07 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-04 18:01:52 +0100 |
| commit | 3958b39fa5b76d692ed548ce6c7c563f465ff8fb (patch) | |
| tree | 474125e099de86022ebe45400d5ca658d37f02da /tools/perf/scripts/python | |
| parent | cee9395acd8043be0644b25c34bfa86623f2b935 (diff) | |
spi: qcom-geni: Add shutdown callback to quiesce hardware on reboot
During system reboot, an active SPI transfer can leave the GENI Serial
Engine in an indeterminate state. On VM-based platforms, if a DMA
transfer is in progress when the VM is shut down, the SMMU can raise
context faults as the DMA engine continues to access IOVAs that have
already been invalidated during VM teardown.
Add a shutdown callback to suspend the SPI controller and abort any
in-progress transfer, ensuring the DMA engine is idle and all IOVA
mappings are retired before the system resets.
Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Link: https://patch.msgid.link/20260818-add-shutdown-and-panic-notifier-for-spi-v3-1-8b62c4bc2d21@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
