summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/qcom_scm-32.c
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2017-03-14 16:18:04 +0100
committerAndy Gross <andy.gross@linaro.org>2017-03-28 23:03:21 +0200
commitb182cc4d597a6e73ff04ee1b7fb4f1a28f56ae3d (patch)
tree3e8348251be4ff06547fd086e596aac00ad8041e /drivers/firmware/qcom_scm-32.c
parentfirmware/qcom: add qcom_scm_restore_sec_cfg() (diff)
downloadlinux-b182cc4d597a6e73ff04ee1b7fb4f1a28f56ae3d.tar.xz
linux-b182cc4d597a6e73ff04ee1b7fb4f1a28f56ae3d.zip
firmware: qcom_scm: add two scm calls for iommu secure page table
Those two new SCM calls are needed from qcom-iommu driver in order to initialize secure iommu page table. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'drivers/firmware/qcom_scm-32.c')
-rw-r--r--drivers/firmware/qcom_scm-32.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/firmware/qcom_scm-32.c b/drivers/firmware/qcom_scm-32.c
index 722e65af588d..93e3b96b6dfa 100644
--- a/drivers/firmware/qcom_scm-32.c
+++ b/drivers/firmware/qcom_scm-32.c
@@ -584,3 +584,15 @@ int __qcom_scm_restore_sec_cfg(struct device *dev, u32 device_id,
{
return -ENODEV;
}
+
+int __qcom_scm_iommu_secure_ptbl_size(struct device *dev, u32 spare,
+ size_t *size)
+{
+ return -ENODEV;
+}
+
+int __qcom_scm_iommu_secure_ptbl_init(struct device *dev, u64 addr, u32 size,
+ u32 spare)
+{
+ return -ENODEV;
+}