]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: add 64bit check before reading msi high addr
authorAnilkumar Kolli <akolli@codeaurora.org>
Mon, 7 Dec 2020 14:16:04 +0000 (16:16 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 7 Dec 2020 16:08:33 +0000 (18:08 +0200)
commitb0a128a1636bb9921adcb1ff05f9ec801131947c
treeb30367f1a1cd1618534051f16733880caab7a55c
parent4c6d81a90809604cecf663a3e5e60fc47400098b
ath11k: add 64bit check before reading msi high addr

In QCN9074 ath11k boot, firmware crash is observed in 64-bit
builds and is due to wrong 64 bit MSI address size. This patch
fixes the firmware crash. Read msi high addr if 64-bit addresses
allowed on MSI.

Tested-On: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r1-00026-QCAHKSWPL_SILICONZ-2

Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1606199334-18206-1-git-send-email-akolli@codeaurora.org
drivers/net/wireless/ath/ath11k/pci.c
drivers/net/wireless/ath/ath11k/pci.h