Re: [PATCH 4/5] iommu/amd: Hold the domain lock when calling iommu_map_page

2019-09-20 Thread Sironi, Filippo via iommu
> On 10. Sep 2019, at 19:49, Filippo Sironi wrote: > > iommu_map_page calls into __domain_flush_pages, which requires the > domain lock since it traverses the device list, which the lock protects. > > Signed-off-by: Filippo Sironi > --- > drivers/iommu/amd_iommu.c | 5 + > 1 file changed,

[PATCH 4/5] iommu/amd: Hold the domain lock when calling iommu_map_page

2019-09-10 Thread Filippo Sironi
iommu_map_page calls into __domain_flush_pages, which requires the domain lock since it traverses the device list, which the lock protects. Signed-off-by: Filippo Sironi --- drivers/iommu/amd_iommu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/amd_iommu.c b/drivers/iom