SMMUv3: Abort DMA transactions
authorAlexei Fedorov <Alexei.Fedorov@arm.com>
Thu, 9 May 2019 11:14:40 +0000 (12:14 +0100)
committerAlexei Fedorov <Alexei.Fedorov@arm.com>
Fri, 10 May 2019 15:09:19 +0000 (16:09 +0100)
commit1461ad9febbcb625941a53d80e4fa792f21e6e65
treeed51fe81522c15fc87b5ba8fcf5daa83aa2ecc9a
parentf2f0846598909cb905de5d4380bac5b1d4c89d09
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>
drivers/arm/smmu/smmu_v3.c
include/drivers/arm/smmu_v3.h
plat/arm/board/fvp/fvp_bl1_setup.c
plat/arm/board/fvp/platform.mk
plat/arm/board/fvp_ve/fvp_ve_bl1_setup.c
plat/arm/common/arm_bl1_setup.c