linux/drivers/net/wwan/t7xx
Jinjian Song d785ed945d net: wwan: t7xx: PCIe reset rescan
WWAN device is programmed to boot in normal mode or fastboot mode,
when triggering a device reset through ACPI call or fastboot switch
command. Maintain state machine synchronization and reprobe logic
after a device reset.

The PCIe device reset triggered by several ways.
E.g.:
 - fastboot: echo "fastboot_switching" > /sys/bus/pci/devices/${bdf}/t7xx_mode.
 - reset: echo "reset" > /sys/bus/pci/devices/${bdf}/t7xx_mode.
 - IRQ: PCIe device request driver to reset itself by an interrupt request.

Use pci_reset_function() as a generic way to reset device, save and
restore the PCIe configuration before and after reset device to ensure
the reprobe process.

Suggestion from Bjorn:
Link: https://lore.kernel.org/all/20230127133034.GA1364550@bhelgaas/

Signed-off-by: Jinjian Song <jinjian.song@fibocom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-08-21 12:57:24 +01:00
..
Makefile
t7xx_cldma.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_cldma.h
t7xx_dpmaif.c
t7xx_dpmaif.h
t7xx_hif_cldma.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_hif_cldma.h
t7xx_hif_dpmaif.c
t7xx_hif_dpmaif.h
t7xx_hif_dpmaif_rx.c
t7xx_hif_dpmaif_rx.h
t7xx_hif_dpmaif_tx.c
t7xx_hif_dpmaif_tx.h
t7xx_mhccif.c
t7xx_mhccif.h
t7xx_modem_ops.c net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_modem_ops.h net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_netdev.c net: wwan: t7xx: Un-embed dummy device 2024-04-25 19:32:31 -07:00
t7xx_netdev.h net: wwan: t7xx: Un-embed dummy device 2024-04-25 19:32:31 -07:00
t7xx_pci.c net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_pci.h net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_pcie_mac.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_pcie_mac.h
t7xx_port.h
t7xx_port_ctrl_msg.c
t7xx_port_proxy.c net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_port_proxy.h
t7xx_port_trace.c net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_port_wwan.c net: wwan: t7xx: Add fastboot WWAN port 2024-02-09 12:07:48 +00:00
t7xx_reg.h
t7xx_state_monitor.c net: wwan: t7xx: PCIe reset rescan 2024-08-21 12:57:24 +01:00
t7xx_state_monitor.h