[PATCH V3 0/3] qca_spi: collection of major fixes

Stefan Wahren
2023-12-06T14:13:15Z

This series contains a collection of major fixes for the qca_spi driver,
which has been recently discovered.

Changes in V3:
- Avoid race condition in qcaspi_set_ringparam() as reported by Jakub and
move all traffic handling within qcaspi_spi_thread
- use netif_tx_disable instead of netif_stop_queue

Changes in V2:
- Address the crashes caused by TX ring changes in a single patch
instead of two separate ones ( resource allocation rework will
be send in a separate series ). As suggested by Paolo the kthread
is parked during ring parameter changes instead changing the device
state
- As suggested by Paolo keep the ethtool get_ringparam behavior
and just fix set_ringparam
- improve commit message in patch #2

Stefan Wahren (3):
qca_debug: Prevent crash on TX ring changes
qca_debug: Fix ethtool -G iface tx behavior
qca_spi: Fix reset behavior

drivers/net/ethernet/qualcomm/qca_debug.c | 17 +++++++++--------
drivers/net/ethernet/qualcomm/qca_spi.c | 20 +++++++++++++++++++-
2 files changed, 28 insertions(+), 9 deletions(-)

--
2.34.1