[PATCH v2 0/4] Improve SPI target mode support and error handling

From: Praveen Talari

Date: Wed Feb 04 2026 - 11:29:14 EST


Enhance the Qualcomm GENI SPI driver's target mode support and improve
error handling for serial engine operations.

The current implementation has issues with incorrect controller allocation
for target mode, missing abort sequence execution during error recovery,
and lack of graceful abort mechanism for target operations. These problems
can lead to serial engine undefined behavior and improper resource
cleanup.

Fix controller allocation to use proper target APIs, ensure abort sequence
always executes for error recovery, and add target abort support for
graceful transfer cancellation.

Praveen Talari (4):
spi: geni-qcom: Improve target mode allocation by using proper
allocation functions
spi: geni-qcom: Fix abort sequence execution for serial engine errors
spi: qcom-geni: Drop unused msg parameter from timeout handlers
spi: geni-qcom: Add target abort support
---
v1->v2
- Added a new patch to remove unused param.

drivers/spi/spi-geni-qcom.c | 56 ++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 23 deletions(-)


base-commit: 193579fe01389bc21aff0051d13f24e8ea95b47d
--
2.34.1