linux/drivers/net/ethernet
Chia-Lin Kao (AceLan) 2e15c51fef net: atlantic: remove aq_nic_deinit() when resume
aq_nic_deinit() has been called while suspending, so we don't have to call
it again on resume.
Actually, call it again leads to another hang issue when resuming from
S3.

Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992345] Call Trace:
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992346] <TASK>
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992348] aq_nic_deinit+0xb4/0xd0 [atlantic]
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992356] aq_pm_thaw+0x7f/0x100 [atlantic]
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992362] pci_pm_resume+0x5c/0x90
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992366] ? pci_pm_thaw+0x80/0x80
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992368] dpm_run_callback+0x4e/0x120
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992371] device_resume+0xad/0x200
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992373] async_resume+0x1e/0x40
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992374] async_run_entry_fn+0x33/0x120
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992377] process_one_work+0x220/0x3c0
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992380] worker_thread+0x4d/0x3f0
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992382] ? process_one_work+0x3c0/0x3c0
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992384] kthread+0x12a/0x150
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992386] ? set_kthread_struct+0x40/0x40
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992387] ret_from_fork+0x22/0x30
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992391] </TASK>
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992392] ---[ end trace 1ec8c79604ed5e0d ]---
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992394] PM: dpm_run_callback(): pci_pm_resume+0x0/0x90 returns -110
Jul 8 03:09:44 u-Precision-7865-Tower kernel: [ 5910.992397] atlantic 0000:02:00.0: PM: failed to resume async: error -110

Fixes: 1809c30b6e ("net: atlantic: always deep reset on pm op, fixing up my null deref regression")
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao@canonical.com>
Link: https://lore.kernel.org/r/20220713111224.1535938-2-acelan.kao@canonical.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-07-14 13:03:21 +02:00
..
3com eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
8390 ethernet: 8390: Remove unnecessary print function dev_err() 2022-03-11 22:59:03 -08:00
actions
adaptec eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
aeroflex
agere
alacritech slic: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
allwinner
alteon
altera net: altera: Fix refcount leak in altera_tse_mdio_create 2022-06-08 20:52:41 -07:00
amazon eth: remove remaining copies of the NAPI_POLL_WEIGHT define 2022-04-30 14:00:45 +01:00
amd amd-xgbe: Use platform_irq_count() 2022-06-13 23:12:39 -07:00
apm drivers: net: xgene: Fix regression in CRC stripping 2022-03-23 10:30:05 -07:00
apple net: ethernet: Prepare cleanup of powerpc's asm/prom.h 2022-05-05 15:53:02 -07:00
aquantia net: atlantic: remove aq_nic_deinit() when resume 2022-07-14 13:03:21 +02:00
arc eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
asix net: ethernet: Use netif_rx(). 2022-03-04 12:02:19 +00:00
atheros eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
broadcom bnxt_en: Fix bnxt_refclk_read() 2022-07-12 20:35:56 -07:00
brocade eth: remove remaining copies of the NAPI_POLL_WEIGHT define 2022-04-30 14:00:45 +01:00
cadence Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-23 21:19:17 -07:00
calxeda net: calxedaxgmac: Fix typo (doubled "the") 2022-04-11 20:49:21 -07:00
cavium net: thunderx: remove null check after call container_of() 2022-05-17 17:39:49 -07:00
chelsio tcp: Fix data-races around sysctl_tcp_ecn. 2022-07-13 12:56:49 +01:00
cirrus cirrus: cs89x0: fix typo in comment 2022-05-22 20:44:29 +01:00
cisco
cortina eth: remove copies of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
davicom net: ethernet: Use netif_rx(). 2022-03-04 12:02:19 +00:00
dec eth: de4x5: remove support for Generic DECchip & DIGITAL EtherWORKS PCI/EISA 2022-05-23 11:43:51 +01:00
dlink
emulex net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
engleder tsnep: Add free running cycle counter support 2022-05-10 09:48:09 +02:00
ezchip eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
faraday net: ftgmac100: Hold reference returned by of_get_child_by_name() 2022-07-13 13:29:07 +01:00
freescale net: enetc: Use pci_release_region() to release some resources 2022-05-28 20:20:42 +01:00
fujitsu
fungible net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
google gve: Fix spelling mistake "droping" -> "dropping" 2022-03-16 19:29:00 -07:00
hisilicon net: hns3: fix tm port shapping of fibre port is incorrect after driver initialization 2022-06-13 11:56:01 +01:00
huawei hinic: Replace memcpy() with direct assignment 2022-06-22 11:04:32 -07:00
i825xx Networking changes for 5.18. 2022-03-24 13:13:26 -07:00
ibm ibmvnic: Properly dispose of all skbs during a failover. 2022-07-04 11:09:57 +01:00
intel ice: change devlink code to read NVM in blocks 2022-07-12 09:25:47 -07:00
litex
marvell net: marvell: prestera: fix missed deinit sequence 2022-07-12 12:17:04 +02:00
mediatek net: ethernet: mtk_eth_soc: fix misuse of mem alloc interface netdev[napi]_alloc_frag 2022-06-08 20:37:27 -07:00
mellanox net/mlx5e: Ring the TX doorbell on DMA errors 2022-07-06 16:11:56 -07:00
micrel net: micrel: Fix KS8851 Kconfig 2022-04-05 17:32:05 -07:00
microchip net: lan966x: hardcode the number of external ports 2022-07-05 17:52:08 -07:00
microsoft eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
moxa eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
mscc net: ocelot: fix wrong time_after usage 2022-07-07 18:05:36 -07:00
myricom eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
natsemi net: remove comments that mention obsolete __SLOW_DOWN_IO 2022-04-26 17:09:24 -07:00
neterion Revert "drivers/net/ethernet/neterion/vxge: Fix a use-after-free bug in vxge-main.c" 2022-06-22 13:15:49 +01:00
netronome nfp: fix issue of skb segments exceeds descriptor limitation 2022-07-09 12:25:02 +01:00
ni
nvidia eth: remove remaining copies of the NAPI_POLL_WEIGHT define 2022-04-30 14:00:45 +01:00
nxp eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
oki-semi eth: pch_gbe: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:41 +01:00
packetengines drivers: net: packetengines: fix typos in comments 2022-03-14 10:04:28 -07:00
pasemi
pensando ionic: fix missing pci_release_regions() on error in ionic_probe() 2022-05-09 15:49:12 -07:00
qlogic Bitmap patches for 5.19-rc1 2022-06-04 14:04:27 -07:00
qualcomm net: add per-cpu storage and net->core_stats 2022-03-11 23:17:24 -08:00
rdc
realtek r8169: fix accessing unset transport header 2022-07-06 19:53:21 -07:00
renesas ravb: Add support for RZ/V2M 2022-05-16 10:14:27 +01:00
rocker net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
samsung Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-03-03 11:55:12 -08:00
seeq
sfc sfc: fix kernel panic when creating VF 2022-07-14 12:46:56 +02:00
sgi
silan
sis
smsc epic100: fix use after free on rmmod 2022-06-27 21:48:51 -07:00
socionext net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
stmicro net: stmmac: fix leaks in probe 2022-07-13 14:21:42 +01:00
sun net: sunhme: output link status with a single print. 2022-07-13 14:53:48 +01:00
sunplus net: ethernet: SP7021: fix a use after free of skb->len 2022-05-19 17:46:56 -07:00
synopsys net: allow gso_max_size to exceed 65536 2022-05-16 10:18:55 +01:00
tehuti
ti net: ethernet: ti: am65-cpsw: Fix devlink port register sequence 2022-07-07 17:21:44 -07:00
toshiba eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
tundra
vertexcom net: ethernet: Use netif_rx(). 2022-03-04 12:02:19 +00:00
via eth: velocity: remove a copy of the NAPI_POLL_WEIGHT define 2022-04-29 11:56:42 +01:00
wiznet eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
xilinx net: axienet: add missing error return code in axienet_probe() 2022-06-16 11:08:38 -07:00
xircom
xscale eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c jme: remove an unnecessary indirection 2022-05-05 15:53:28 -07:00
jme.h jme: remove an unnecessary indirection 2022-05-05 15:53:28 -07:00
Kconfig net: ethernet: Add driver for Sunplus SP7021 2022-05-10 11:31:32 +02:00
korina.c
lantiq_etop.c eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
lantiq_xrx200.c net: switch to netif_napi_add_tx() 2022-05-05 15:54:12 -07:00
Makefile net: ethernet: Add driver for Sunplus SP7021 2022-05-10 11:31:32 +02:00