summaryrefslogtreecommitdiff
path: root/include/linux/slab.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2018-07-25 17:58:43 +0300
committerWill Deacon <will.deacon@arm.com>2018-07-27 13:12:37 +0300
commitb63b3439b85609338e4faabd5d2588dbda137e5c (patch)
treed11cbaeb0c03b49fd93640667747f5be5587e418 /include/linux/slab.h
parenta71792dee2a33d2e935d4b67dd63924f5ceb203d (diff)
downloadlinux-b63b3439b85609338e4faabd5d2588dbda137e5c.tar.xz
iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel
If we find that the SMMU is enabled during probe, we reset it by re-initialising its registers and either enabling translation or placing it into bypass based on the disable_bypass commandline option. In the case of a kdump kernel, the SMMU won't have been shutdown cleanly by the previous kernel and there may be concurrent DMA through the SMMU. Rather than reset the SMMU to bypass, which would likely lead to rampant data corruption, we can instead configure the SMMU to abort all incoming transactions when we find that it is enabled from within a kdump kernel. Reported-by: Sameer Goel <sgoel@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'include/linux/slab.h')
0 files changed, 0 insertions, 0 deletions