public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/3] qca_spi: collection of major fixes
@ 2023-12-06 14:12 Stefan Wahren
  2023-12-06 14:12 ` [PATCH V3 1/3] qca_debug: Prevent crash on TX ring changes Stefan Wahren
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Wahren @ 2023-12-06 14:12 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: netdev, linux-kernel, Stefan Wahren

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-09  0:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-06 14:12 [PATCH V3 0/3] qca_spi: collection of major fixes Stefan Wahren
2023-12-06 14:12 ` [PATCH V3 1/3] qca_debug: Prevent crash on TX ring changes Stefan Wahren
2023-12-06 14:12 ` [PATCH V3 2/3] qca_debug: Fix ethtool -G iface tx behavior Stefan Wahren
2023-12-06 14:12 ` [PATCH V3 3/3] qca_spi: Fix reset behavior Stefan Wahren
2023-12-09  0:20 ` [PATCH V3 0/3] qca_spi: collection of major fixes patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox