Re: [PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-09-04 Thread Thierry Reding
On Fri, Sep 04, 2020 at 11:05:19AM +0200, Joerg Roedel wrote: > On Fri, Aug 14, 2020 at 07:22:52PM +0300, Dmitry Osipenko wrote: > > The mapping operations of the Tegra SMMU driver are subjected to a race > > condition issues because SMMU Address Space isn't allocated and freed > > atomically, whil

Re: [PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-09-04 Thread Dmitry Osipenko
04.09.2020 12:19, Dmitry Osipenko пишет: > 04.09.2020 12:05, Joerg Roedel пишет: >> On Fri, Aug 14, 2020 at 07:22:52PM +0300, Dmitry Osipenko wrote: >>> The mapping operations of the Tegra SMMU driver are subjected to a race >>> condition issues because SMMU Address Space isn't allocated and freed

Re: [PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-09-04 Thread Dmitry Osipenko
04.09.2020 12:05, Joerg Roedel пишет: > On Fri, Aug 14, 2020 at 07:22:52PM +0300, Dmitry Osipenko wrote: >> The mapping operations of the Tegra SMMU driver are subjected to a race >> condition issues because SMMU Address Space isn't allocated and freed >> atomically, while it should be. This patch

Re: [PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-09-04 Thread Joerg Roedel
On Fri, Aug 14, 2020 at 07:22:52PM +0300, Dmitry Osipenko wrote: > The mapping operations of the Tegra SMMU driver are subjected to a race > condition issues because SMMU Address Space isn't allocated and freed > atomically, while it should be. This patch makes the mapping operations > atomic, it f

Re: [PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-08-26 Thread Sasha Levin
Hi [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.8.2, v5.7.16, v5.4.59, v4.19.140, v4.14.193, v4.9.232, v4.4.232. v5.8.2: Build O

[PATCH RESEND v3] iommu/tegra-smmu: Add missing locks around mapping operations

2020-08-14 Thread Dmitry Osipenko
The mapping operations of the Tegra SMMU driver are subjected to a race condition issues because SMMU Address Space isn't allocated and freed atomically, while it should be. This patch makes the mapping operations atomic, it fixes an accidentally released Host1x Address Space problem which happens