linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] net/ibmvnic: Fix reset work item locking bugs
@ 2018-12-10 21:22 Thomas Falcon
  2018-12-10 21:22 ` [PATCH net 1/2] ibmvnic: Convert reset work item mutex to spin lock Thomas Falcon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Falcon @ 2018-12-10 21:22 UTC (permalink / raw)
  To: netdev; +Cc: Thomas Falcon, linuxppc-dev

This patch set fixes issues with scheduling reset work items in
a tasklet context. Since ibmvnic_reset can called in an interrupt,
it should not use a mutex or allocate memory non-atomically.

Thomas Falcon (2):
  ibmvnic: Convert reset work item mutex to spin lock
  ibmvnic: Fix non-atomic memory allocation in IRQ context

 drivers/net/ethernet/ibm/ibmvnic.c | 18 ++++++++++--------
 drivers/net/ethernet/ibm/ibmvnic.h |  2 +-
 2 files changed, 11 insertions(+), 9 deletions(-)

-- 
2.12.3


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

end of thread, other threads:[~2018-12-11  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-10 21:22 [PATCH net 0/2] net/ibmvnic: Fix reset work item locking bugs Thomas Falcon
2018-12-10 21:22 ` [PATCH net 1/2] ibmvnic: Convert reset work item mutex to spin lock Thomas Falcon
2018-12-10 21:22 ` [PATCH net 2/2] ibmvnic: Fix non-atomic memory allocation in IRQ context Thomas Falcon
2018-12-11  1:34 ` [PATCH net 0/2] net/ibmvnic: Fix reset work item locking bugs David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).