Re: [PATCH 4/7] ath11k: add PCIe link recovery retry

From: Jose Ignacio Tornos Martinez

Date: Thu Oct 15 2026 - 02:58:51 EST


Hi Bjorn,

> Link down is a PCIe reset of the endpoint, which should clear all
> PCIe-specific state, e.g., BAR values. Is that restored somewhere?

PCIE_SOC_GLOBAL_RESET is a device-internal SoC reset, not a PCIe
fundamental reset. The link drops transiently but PCI configuration
space (including BARs) survives. Only a device-specific window
register needs restoration, handled by ath11k_pci_restore_window()
right after. Same pattern as ath12k.

Thanks

Best regards
Jose Ignacio