mirror-linux/drivers/net
Moritz Fischer 7a8227b2e7 net: lan743x: Don't sleep in atomic context
dev_set_rx_mode() grabs a spin_lock, and the lan743x implementation
proceeds subsequently to go to sleep using readx_poll_timeout().

Introduce a helper wrapping the readx_poll_timeout_atomic() function
and use it to replace the calls to readx_polL_timeout().

Fixes: 23f0703c12 ("lan743x: Add main source files for new lan743x driver")
Cc: stable@vger.kernel.org
Cc: Bryan Whitehead <bryan.whitehead@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230627035000.1295254-1-moritzf@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-06-29 10:59:43 +02:00
..
appletalk
arcnet
bonding Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
caif
can can: kvaser_pciefd: Use TX FIFO size read from CAN controller 2023-06-22 09:44:30 +02:00
dsa net: dsa: qca8k: add support for additional modes for netdev trigger 2023-06-22 19:51:42 -07:00
ethernet net: lan743x: Don't sleep in atomic context 2023-06-29 10:59:43 +02:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154 Core WPAN changes: 2023-06-24 15:41:46 -07:00
ipa
ipvlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
mctp mctp i2c: Switch back to use struct i2c_driver's .probe() 2023-06-13 20:46:20 -07:00
mdio mdio: mdio-mux-mmioreg: Use of_property_read_reg() to parse "reg" 2023-06-12 10:56:01 +01:00
netdevsim
pcs net: pcs: lynx: update PCS driver to use neg_mode 2023-06-22 19:41:01 -07:00
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-27 09:45:22 -07:00
vmxnet3
vxlan
wan net: lapbether: only support ethernet devices 2023-06-15 08:55:22 +01:00
wireguard net: move gso declarations and functions to their own files 2023-06-10 00:11:41 -07:00
wireless Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
wwan Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: Fix use-after-free in __gtp_encap_destroy(). 2023-06-24 15:20:42 -07:00
ifb.c
loopback.c
macsec.c net: macsec: fix double free of percpu stats 2023-06-15 11:41:01 +01:00
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c net: move gso declarations and functions to their own files 2023-06-10 00:11:41 -07:00
tun.c
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c