[PATCH 2/2] wifi: ath12k: Flush the posted write after writing to PCIE_SOC_GLOBAL_RESET
Raj Kumar Bhagat
raj.bhagat at oss.qualcomm.com
Tue Jun 30 02:54:50 PDT 2026
On 23-06-2026 19:46, Manivannan Sadhasivam wrote:
> ath12k_pci_soc_global_reset() tries to reset the device by writing to the
> PCIE_SOC_GLOBAL_RESET register. But it doesn't do a read-back to ensure
> that the write gets flushed to the device before the delay.
>
> This may lead to the delay on the host to be insufficient, if the posted
> write doesn't reach the device before the delay.
>
> So add a read-back after writing to the PCIE_SOC_GLOBAL_RESET register and
> before the delay.
>
> Compile tested only.
>
> Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices")
> Reported-by: Alex Williamson<alex at shazbot.org>
> Closes:https://lore.kernel.org/linux-pci/20260622160822.09350246@shazbot.org
> Signed-off-by: Manivannan Sadhasivam<manivannan.sadhasivam at oss.qualcomm.com>
> ---
> drivers/net/wireless/ath/ath12k/pci.c | 4 ++++
> 1 file changed, 4 insertions(+)
Reviewed-by: Raj Kumar Bhagat <raj.bhagat at oss.qualcomm.com>
More information about the ath12k
mailing list