Skip to content

SJA1105 DSA locking fixes for PTP

Vladimir Oltean netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: dsa: sja1105: Initialize the meta_lockdrivers/net/dsa/sja1105/sja1105_main.c+1 -00 replies
2/2net: dsa: sja1105: Fix sleeping while atomic in .port_hwtstamp_setdrivers/net/dsa/sja1105/sja1105_main.c include/linux/dsa/sja1105.h net/dsa/tag_sja1105.c+25 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net 0/2] SJA1105 DSA locking fixes for PTP

This series fixes the locking API usage problems spotted when compiling the kernel with CONFIG_DEBUG_ATOMIC_SLEEP=y and CONFIG_DEBUG_SPINLOCK=y.

Vladimir Oltean (2):
net: dsa: sja1105: Initialize the meta_lock
net: dsa: sja1105: Fix sleeping while atomic in .port_hwtstamp_set

 drivers/net/dsa/sja1105/sja1105_main.c | 20 ++++++++++++--------
 include/linux/dsa/sja1105.h            |  4 +++-
 net/dsa/tag_sja1105.c                  | 12 +++++++++++-
 3 files changed, 26 insertions(+), 10 deletions(-)
Signature · 1 line
2.17.1