soc: qcom: Introduce Protection Domain Restart helpers
authorSibi Sankar <sibis@codeaurora.org>
Thu, 12 Mar 2020 12:08:40 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 15 Mar 2020 05:38:42 +0000 (22:38 -0700)
commitfbe639b44a82755d639df1c5d147c93f02ac5a0f
tree9b8c662be2e69ddad2591c87b63fe9a73c11531a
parent04fc94be4a81d0fa9eaf0917a308c02c2b031e82
soc: qcom: Introduce Protection Domain Restart helpers

Qualcomm SoCs (starting with MSM8998) allow for multiple protection domains
to run on the same Q6 sub-system. This allows for services like ATH10K WLAN
FW to have their own separate address space and crash/recover without
disrupting the modem and other PDs running on the same sub-system. The PDR
helpers introduces an abstraction that allows for tracking/controlling the
life cycle of protection domains running on various Q6 sub-systems.

Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200312120842.21991-2-sibis@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/pdr_interface.c [new file with mode: 0644]
drivers/soc/qcom/pdr_internal.h [new file with mode: 0644]
include/linux/soc/qcom/pdr.h [new file with mode: 0644]
include/linux/soc/qcom/qmi.h