aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexei Fedorov <Alexei.Fedorov@arm.com>2019-05-09 12:14:40 +0100
committerAlexei Fedorov <Alexei.Fedorov@arm.com>2019-05-10 16:09:19 +0100
commit1461ad9febbcb625941a53d80e4fa792f21e6e65 (patch)
treeed51fe81522c15fc87b5ba8fcf5daa83aa2ecc9a /include
parentf2f0846598909cb905de5d4380bac5b1d4c89d09 (diff)
downloadplatform_external_arm-trusted-firmware-1461ad9febbcb625941a53d80e4fa792f21e6e65.tar.gz
platform_external_arm-trusted-firmware-1461ad9febbcb625941a53d80e4fa792f21e6e65.tar.bz2
platform_external_arm-trusted-firmware-1461ad9febbcb625941a53d80e4fa792f21e6e65.zip
SMMUv3: Abort DMA transactions
For security DMA should be blocked at the SMMU by default unless explicitly enabled for a device. SMMU is disabled after reset with all streams bypassing the SMMU, and abortion of all incoming transactions implements a default deny policy on reset. This patch also moves "bl1_platform_setup()" function from arm_bl1_setup.c to FVP platforms' fvp_bl1_setup.c and fvp_ve_bl1_setup.c files. Change-Id: Ie0ffedc10219b1b884eb8af625bd4b6753749b1a Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/drivers/arm/smmu_v3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drivers/arm/smmu_v3.h b/include/drivers/arm/smmu_v3.h
index 75c9465af..a820a4421 100644
--- a/include/drivers/arm/smmu_v3.h
+++ b/include/drivers/arm/smmu_v3.h
@@ -31,5 +31,6 @@
#define SMMU_S_GBPA_ABORT (1UL << 20)
int smmuv3_init(uintptr_t smmu_base);
+int smmuv3_security_init(uintptr_t smmu_base);
#endif /* SMMU_V3_H */