mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 05:34:13 +08:00
803b527721
'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> |
||
---|---|---|
.. | ||
amd_iommu_init.c | ||
amd_iommu_proto.h | ||
amd_iommu_types.h | ||
amd_iommu_v2.c | ||
amd_iommu.c | ||
dmar.c | ||
intel-iommu.c | ||
intr_remapping.c | ||
intr_remapping.h | ||
iommu.c | ||
iova.c | ||
Kconfig | ||
Makefile | ||
msm_iommu_dev.c | ||
msm_iommu.c | ||
omap-iommu-debug.c | ||
omap-iommu.c | ||
omap-iovmm.c | ||
tegra-gart.c | ||
tegra-smmu.c |