ath10k: Don't call SCM interface for statically mapped msa region
authorGovind Singh <govinds@codeaurora.org>
Fri, 3 Jan 2020 13:44:14 +0000 (19:14 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jan 2020 10:36:12 +0000 (12:36 +0200)
commitab000ea6a3939972b6eaca78046c4cd7d3aeee22
tree035144228d38cbd2a8ad644c3e97fee84769896e
parent6ca71a10aee8d5613446a180f85aa5efbb370b10
ath10k: Don't call SCM interface for statically mapped msa region

For some targets ex: QCS404, SCM permissions for MSA region is
statically configured in TrustZone fw. Add SCM call disable option
for such targets to avoid duplicate permissions.

Testing: Tested on WCN3990 HW
Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/qmi.c
drivers/net/wireless/ath/ath10k/qmi.h