public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/6] pds_core: Various fixes
@ 2024-01-29 23:40 Brett Creeley
  2024-01-29 23:40 ` [PATCH net 1/6] pds_core: Prevent health thread from running during reset/remove Brett Creeley
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Brett Creeley @ 2024-01-29 23:40 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, netdev, linux-kernel
  Cc: shannon.nelson, brett.creeley

This series includes the following changes:

There can be many users of the pds_core's adminq. This includes
pds_core's uses and any clients that depend on it. When the pds_core
device goes through a reset for any reason the adminq is freed
and reconfigured. There are some gaps in the current implementation
that will cause crashes during reset if any of the previously mentioned
users of the adminq attempt to use it after it's been freed.

Issues around how resets are handled, specifically regarding the driver's
error handlers.

Originally these patches were aimed at net-next, but it was requested to
push the fixes patches to net. The original patches can be found here:

https://lore.kernel.org/netdev/20240126174255.17052-1-brett.creeley@amd.com/

Also, the Reviewed-by tags were left in place from net-next reviews as the
patches didn't change.

Brett Creeley (6):
  pds_core: Prevent health thread from running during reset/remove
  pds_core: Cancel AQ work on teardown
  pds_core: Use struct pdsc for the pdsc_adminq_isr private data
  pds_core: Prevent race issues involving the adminq
  pds_core: Clear BARs on reset
  pds_core: Rework teardown/setup flow to be more common

 drivers/net/ethernet/amd/pds_core/adminq.c  | 64 +++++++++++++++------
 drivers/net/ethernet/amd/pds_core/core.c    | 46 +++++++++++----
 drivers/net/ethernet/amd/pds_core/core.h    |  2 +-
 drivers/net/ethernet/amd/pds_core/debugfs.c |  4 ++
 drivers/net/ethernet/amd/pds_core/dev.c     | 16 +++---
 drivers/net/ethernet/amd/pds_core/devlink.c |  3 +-
 drivers/net/ethernet/amd/pds_core/fw.c      |  3 +
 drivers/net/ethernet/amd/pds_core/main.c    | 26 +++++++--
 8 files changed, 124 insertions(+), 40 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2024-02-01  2:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-29 23:40 [PATCH net 0/6] pds_core: Various fixes Brett Creeley
2024-01-29 23:40 ` [PATCH net 1/6] pds_core: Prevent health thread from running during reset/remove Brett Creeley
2024-01-29 23:40 ` [PATCH net 2/6] pds_core: Cancel AQ work on teardown Brett Creeley
2024-01-29 23:40 ` [PATCH net 3/6] pds_core: Use struct pdsc for the pdsc_adminq_isr private data Brett Creeley
2024-01-29 23:40 ` [PATCH net 4/6] pds_core: Prevent race issues involving the adminq Brett Creeley
2024-01-29 23:40 ` [PATCH net 5/6] pds_core: Clear BARs on reset Brett Creeley
2024-01-29 23:40 ` [PATCH net 6/6] pds_core: Rework teardown/setup flow to be more common Brett Creeley
2024-02-01  2:30 ` [PATCH net 0/6] pds_core: Various 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