]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commite8e55d8919ea7e78e0768188bb3f42f8a252d4b3
treeb30367f1a1cd1618534051f16733880caab7a55c
parent7f881a721716916e81bd4011589c2af6833c81d1
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