Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-25 Thread Dmitry Osipenko
On 9/25/18 1:04 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 09:05:48PM +0300, Dmitry Osipenko wrote: >> On 9/24/18 2:00 PM, Thierry Reding wrote: >>> On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: There could be unlimited number of allocated domains, but only one

Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-25 Thread Thierry Reding
On Mon, Sep 24, 2018 at 09:05:48PM +0300, Dmitry Osipenko wrote: > On 9/24/18 2:00 PM, Thierry Reding wrote: > > On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: > >> There could be unlimited number of allocated domains, but only one domain > >> can be active at a time. Hence

Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-24 Thread Dmitry Osipenko
On 9/24/18 2:00 PM, Thierry Reding wrote: > On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: >> There could be unlimited number of allocated domains, but only one domain >> can be active at a time. Hence devices must be detached only from the >> active domain. >> >> Signed-off-by:

Re: [PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-24 Thread Thierry Reding
On Mon, Sep 24, 2018 at 03:41:51AM +0300, Dmitry Osipenko wrote: > There could be unlimited number of allocated domains, but only one domain > can be active at a time. Hence devices must be detached only from the > active domain. > > Signed-off-by: Dmitry Osipenko > --- >

[PATCH v4 18/20] iommu/tegra: gart: Don't detach devices from inactive domains

2018-09-23 Thread Dmitry Osipenko
There could be unlimited number of allocated domains, but only one domain can be active at a time. Hence devices must be detached only from the active domain. Signed-off-by: Dmitry Osipenko --- drivers/iommu/tegra-gart.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git