android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Shenwei Wang d3d6162eb1 net: fec: fix the unhandled context fault from smmu
[ Upstream commit 5e344807735023cd3a67c37a1852b849caa42620 ]

When repeatedly changing the interface link speed using the command below:

ethtool -s eth0 speed 100 duplex full
ethtool -s eth0 speed 1000 duplex full

The following errors may sometimes be reported by the ARM SMMU driver:

[ 5395.035364] fec 5b040000.ethernet eth0: Link is Down
[ 5395.039255] arm-smmu 51400000.iommu: Unhandled context fault:
fsr=0x402, iova=0x00000000, fsynr=0x100001, cbfrsynra=0x852, cb=2
[ 5398.108460] fec 5b040000.ethernet eth0: Link is Up - 100Mbps/Full -
flow control off

It is identified that the FEC driver does not properly stop the TX queue
during the link speed transitions, and this results in the invalid virtual
I/O address translations from the SMMU and causes the context faults.

Fixes: dbc64a8ea2 ("net: fec: move calls to quiesce/resume packet processing out of fec_restart()")
Signed-off-by: Shenwei Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2024-02-23 08:24:51 +01:00
..
appletalk
arcnet arcnet: restoring support for multiple Sohard Arcnet cards 2023-12-13 18:18:12 +01:00
bonding bonding: stop the device in bond_setup_by_slave() 2023-11-28 16:50:16 +00:00
caif
can can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() 2023-11-20 10:30:09 +01:00
dsa net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe 2024-01-25 14:34:32 -08:00
ethernet net: fec: fix the unhandled context fault from smmu 2024-02-23 08:24:51 +01:00
fddi
fjes fjes: fix memleaks in fjes_hw_setup 2024-02-23 08:24:51 +01:00
hamradio
hippi
hyperv hv_netvsc: rndis_filter needs to select NLS 2023-12-13 18:18:12 +01:00
ieee802154 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 2023-11-08 11:23:35 +01:00
ipvlan ipvlan: add ipvlan_route_v6_outbound() helper 2023-11-28 16:50:16 +00:00
netdevsim
phy net: phy: micrel: populate .soft_reset for KSZ9131 2024-01-25 14:34:32 -08:00
plip
ppp ppp: limit MRU to 64K 2023-11-28 16:50:16 +00:00
slip
team team: Fix use-after-free when an option instance allocation fails 2023-12-20 15:41:25 +01:00
usb asix: Add check for usbnet_get_endpoints 2024-01-15 18:25:27 +01:00
vmxnet3
wan drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close() 2023-10-10 21:46:43 +02:00
wimax
wireless wifi: mwifiex: configure BSSID consistently when starting AP 2024-01-25 14:34:30 -08:00
xen-netback xen-netback: don't produce zero-size SKB frags 2024-01-25 14:34:29 -08:00
dummy.c
eql.c
geneve.c
gtp.c gtp: fix fragmentation needed check with gso 2023-11-08 11:23:36 +01:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net: add DEV_STATS_READ() helper 2023-11-20 10:30:10 +01:00
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-28 16:50:17 +00:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c net/net_failover: fix txq exceeding warning 2023-04-05 11:16:44 +02:00
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: tap_open(): set sk_uid from current_fsuid() 2023-08-11 11:53:59 +02:00
thunderbolt.c net: thunderbolt: Fix TCPv6 GSO checksum calculation 2023-10-10 21:46:41 +02:00
tun.c tun: prevent negative ifindex 2023-10-25 11:53:21 +02:00
veth.c veth: Fixing transmit return status for dropped packets 2023-09-23 10:59:58 +02:00
virtio_net.c virtio-net: set queues after driver_ok 2023-08-30 16:27:19 +02:00
vrf.c
vsockmon.c
vxlan.c vxlan: generalize vxlan_parse_gpe_hdr and remove unused args 2023-09-23 10:59:38 +02:00
xen-netfront.c