summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2014-07-04 11:06:01 +0100
committerWill Deacon <will.deacon@arm.com>2014-07-04 13:16:05 +0100
commitd3bca16635ae7443139c4408def7c1a50755083f (patch)
treee88a4f7b1fca963cd350631aeb447694cc7b49fb /arch/arm/boot/dts
parent9c5c92e35cf5c4f7ee523d62a6bf9d5dc290350b (diff)
downloadlinux-d3bca16635ae7443139c4408def7c1a50755083f.tar.bz2
iommu/arm-smmu: fix capability checking prior to device attach
If somebody attempts to check the capability of an IOMMU domain prior to device attach, then we'll try to dereference a NULL SMMU pointer through the SMMU domain (since we can't determine the actual SMMU instance until we have a device attached). This patch fixes the capability check so that non-global features are reported as being absent when no device is attached to the domain. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/boot/dts')
0 files changed, 0 insertions, 0 deletions