Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-09 Thread Robin Murphy
[ +Lorenzo ] On 09/03/18 04:50, Tomasz Figa wrote: [...] Now we need a way to do the check. Perhaps for the time being it would be enough to just check for the power-domains property in DT? AFAICS, it might be as simple as arm_smmu_probe() doing this: /* * We want to

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-09 Thread Robin Murphy
[ +Lorenzo ] On 09/03/18 04:50, Tomasz Figa wrote: [...] Now we need a way to do the check. Perhaps for the time being it would be enough to just check for the power-domains property in DT? AFAICS, it might be as simple as arm_smmu_probe() doing this: /* * We want to

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-08 Thread Tomasz Figa
On Thu, Mar 8, 2018 at 9:12 PM, Robin Murphy wrote: > On 08/03/18 04:33, Tomasz Figa wrote: >> >> On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: >>> >>> On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-08 Thread Tomasz Figa
On Thu, Mar 8, 2018 at 9:12 PM, Robin Murphy wrote: > On 08/03/18 04:33, Tomasz Figa wrote: >> >> On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: >>> >>> On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: > > > On

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-08 Thread Robin Murphy
On 08/03/18 04:33, Tomasz Figa wrote: On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-08 Thread Robin Murphy
On 08/03/18 04:33, Tomasz Figa wrote: On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Tomasz Figa
On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: > On 07/03/18 13:52, Tomasz Figa wrote: >> >> On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: >>> >>> On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Tomasz Figa
On Thu, Mar 8, 2018 at 1:58 AM, Robin Murphy wrote: > On 07/03/18 13:52, Tomasz Figa wrote: >> >> On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: >>> >>> On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove master

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Robin Murphy
On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Robin Murphy
On 07/03/18 13:52, Tomasz Figa wrote: On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Tomasz Figa
On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: > On 02/03/18 10:10, Vivek Gautam wrote: >> >> From: Sricharan R >> >> The smmu device probe/remove and add/remove master device callbacks >> gets called when the smmu is not linked to its master,

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Tomasz Figa
On Wed, Mar 7, 2018 at 9:38 PM, Robin Murphy wrote: > On 02/03/18 10:10, Vivek Gautam wrote: >> >> From: Sricharan R >> >> The smmu device probe/remove and add/remove master device callbacks >> gets called when the smmu is not linked to its master, that is without >> the context of the master

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Robin Murphy
On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those

Re: [PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-07 Thread Robin Murphy
On 02/03/18 10:10, Vivek Gautam wrote: From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those places separately.

[PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-02 Thread Vivek Gautam
From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those places separately. Signed-off-by: Sricharan R

[PATCH v8 3/5] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-03-02 Thread Vivek Gautam
From: Sricharan R The smmu device probe/remove and add/remove master device callbacks gets called when the smmu is not linked to its master, that is without the context of the master device. So calling runtime apis in those places separately. Signed-off-by: Sricharan R [vivek: Cleanup pm