Files
linux/drivers
Will Deacon 92c1d360dc iommu/arm-smmu-v3: Return -EBUSY when trying to re-add a device
Although we WARN in arm_smmu_add_device() if the device being added has
been added already without a subsequent call to arm_smmu_remove_device(),
we still continue half-heartedly, initialising the stream-table for any
new StreamIDs that may have magically appeared and re-establishing device
links that should still be there from last time.

Given that calling ->add_device() twice without removing the device in the
meantime is indicative of an error in the caller, just return -EBUSY after
warning.

Cc: Robin Murphy <robin.murphy@arm.com>
Cc: Jean Philippe-Brucker <jean-philippe@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
2020-01-15 16:30:28 +00:00
..
2019-11-22 11:16:26 +05:30
2019-12-10 23:15:09 +01:00
2019-12-09 10:36:44 -08:00
2019-12-13 15:42:09 -08:00
2019-12-09 10:36:44 -08:00
2019-12-05 13:18:54 -08:00
2019-11-14 13:06:33 +08:00