net: switchdev: Avoid sleep in atomic with DSA
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 2 repliesIn review
- v14 patches 19 repliesSuperseded
Changes in v2 from the cover letter
- Make patch 3 actually build, thanks to Marcelo for reporting the problem
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: switchdev: Prepare for deferred functions modifying objectsnet/ | +16 | 2 replies | |
| 2/4 | net: switchdev: Add object dump deferred operationnet/ | +57 | 0 replies | |
| 3/4 | net: switchdev: Add switchdev_port_bridge_getlink_deferredinclude/ net/ | +66 | 0 replies | |
| 4/4 | net: dsa: Utilize switchdev_port_bridge_getlink_deferred()net/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net-next v2 0/4] net: switchdev: Avoid sleep in atomic with DSA
Hi all,
This patch series is to resolve a sleeping function called in atomic context debug splat that we observe with DSA.
Let me know what you think, I was also wondering if we should just always make switchdev_port_vlan_fill() set SWITCHDEV_F_DEFER, but was afraid this could cause invalid contexts to be used for rocker, mlxsw, i40e etc.
Changes in v2:
- Make patch 3 actually build, thanks to Marcelo for reporting the problem
Thanks!
Florian Fainelli (4):
net: switchdev: Prepare for deferred functions modifying objects
net: switchdev: Add object dump deferred operation
net: switchdev: Add switchdev_port_bridge_getlink_deferred
net: dsa: Utilize switchdev_port_bridge_getlink_deferred()
include/net/switchdev.h | 3 + net/dsa/slave.c | 2 +- net/switchdev/switchdev.c | 171 +++++++++++++++++++++++++++++++++++++--------- 3 files changed, 141 insertions(+), 35 deletions(-)
Signature · 1 line
2.9.3