]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: enable SRRI/DRRI support on ddr for WCN3990
authorGovind Singh <govinds@codeaurora.org>
Tue, 17 Apr 2018 12:07:00 +0000 (17:37 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 06:04:21 +0000 (09:04 +0300)
commit76c63382df5d5d5a50ce79f97cf4ebedbc7953ed
tree775525f627d50a6d18209c3e9c243964713ff7a3
parent0e69f1ec5a6b1db9bbc1352a31b14b95a49bb4f6
ath10k: enable SRRI/DRRI support on ddr for WCN3990

SRRI/DRRI are not mapped in the HW Shadow block and can lead
to un-clocked access if common subsystem in the target is
powered down due to idle mode.

To mitigate this problem SRRI/DRRI can be read from
DDR instead of doing an actual hardware read.
Host allocates non cached memory on ddr and configures
the physical address of this memory to the CE hardware.
The hardware updates the RRI on this particular location.
Read SRRI/DRRI from DDR location instead of
direct target read.

Enable retention restore on ddr using hw params to enable
in specific targets.

Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/hw.c
drivers/net/wireless/ath/ath10k/hw.h
drivers/net/wireless/ath/ath10k/snoc.c