diff options
author | Omar Ramirez Luna <omar.luna@linaro.org> | 2012-04-18 13:09:41 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-04-19 15:07:23 +0200 |
commit | 803b5277215c75a5cc3b3eb5d19015c7290601a5 (patch) | |
tree | ffc0b3bf827fddac1482d0bc85848c2057160713 /lib | |
parent | 0034102808e0dbbf3a2394b82b1bb40b5778de9e (diff) | |
download | op-kernel-dev-803b5277215c75a5cc3b3eb5d19015c7290601a5.zip op-kernel-dev-803b5277215c75a5cc3b3eb5d19015c7290601a5.tar.gz |
iommu: OMAP: device detach on domain destroy
'domain_destroy with devices attached' case isn't yet handled, instead
code assumes that the device was already detached.
If the domain is destroyed the hardware still has access to invalid
pointers to its page table and internal iommu object. In order to
detach the users we need to track devices using the iommu, current
use cases only have one user of iommu per instance. When required
this can evolve to a list with the devices using the iommu_dev.
Reported-by: Joerg Roedel <joro@8bytes.org>
Reviewed-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions