Re: [PATCH 1/2] spi: qcom-geni: Add shutdown callback to quiesce hardware on reboot
From: Mukesh Savaliya
Date: Wed Aug 12 2026 - 01:43:35 EST
On 8/5/2026 4:12 PM, Praveen Talari wrote:
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@xxxxxxxxxxxxxxxx>
---
Reviewed-by : Mukesh Savaliya <mukesh.savaliya@xxxxxxxxxxxxxxxx>