Re: [PATCH 1/6] iommu/amd: Remove domain->updated

2019-09-25 Thread Jerry Snitselaar
On Wed Sep 25 19, Joerg Roedel wrote: From: Joerg Roedel This struct member was used to track whether a domain change requires updates to the device-table and IOMMU cache flushes. The problem is, that access to this field is racy since locking in the common mapping code-paths has been eliminate

Re: [PATCH 1/6] iommu/amd: Remove domain->updated

2019-09-25 Thread Sironi, Filippo via iommu
> On 25. Sep 2019, at 06:22, Joerg Roedel wrote: > > From: Joerg Roedel > > This struct member was used to track whether a domain > change requires updates to the device-table and IOMMU cache > flushes. The problem is, that access to this field is racy > since locking in the common mapping c

[PATCH 1/6] iommu/amd: Remove domain->updated

2019-09-25 Thread Joerg Roedel
From: Joerg Roedel This struct member was used to track whether a domain change requires updates to the device-table and IOMMU cache flushes. The problem is, that access to this field is racy since locking in the common mapping code-paths has been eliminated. Move the updated field to the stack