aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2020-01-15 13:52:37 +0100
committerWill Deacon <will@kernel.org>2020-01-15 16:30:27 +0000
commita2be6218e649fb6e444e468dae5d177eea64d328 (patch)
tree13de5f28256236a3b3f76026a9cdc71ac5ca8f1b /COPYING
parentiommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE (diff)
downloadlinux-dev-a2be6218e649fb6e444e468dae5d177eea64d328.tar.xz
linux-dev-a2be6218e649fb6e444e468dae5d177eea64d328.zip
iommu/arm-smmu-v3: Improve add_device() error handling
Let add_device() clean up after itself. The iommu_bus_init() function does call remove_device() on error, but other sites (e.g. of_iommu) do not. Don't free level-2 stream tables because we'd have to track if we allocated each of them or if they are used by other endpoints. It's not worth the hassle since they are managed resources. Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions