Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-04-23 Thread Sai Prakash Ranjan
On 2020-04-23 14:58, Robin Murphy wrote: On 2020-04-23 9:17 am, Sai Prakash Ranjan wrote: [...] Any update on the status here?  If I'm reading the conversation above, Robin said: "we'll *always* see the warning because there's no way to tear down the default DMA domains, and even if all

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-04-23 Thread Robin Murphy
On 2020-04-23 9:17 am, Sai Prakash Ranjan wrote: [...] Any update on the status here?  If I'm reading the conversation above, Robin said: "we'll *always* see the warning because there's no way to tear down the default DMA domains, and even if all devices *have* been nicely quiesced there's no

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-04-23 Thread Sai Prakash Ranjan
Hi, On 2020-04-23 01:19, Doug Anderson wrote: Hi, On Tue, Mar 31, 2020 at 12:53 AM Sai Prakash Ranjan wrote: Hi Will, On 2020-03-31 13:14, Will Deacon wrote: > On Tue, Mar 31, 2020 at 01:06:11PM +0530, Sai Prakash Ranjan wrote: >> On 2020-03-30 23:54, Doug Anderson wrote: >> > On Sat, Mar

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-04-22 Thread Doug Anderson
Hi, On Tue, Mar 31, 2020 at 12:53 AM Sai Prakash Ranjan wrote: > > Hi Will, > > On 2020-03-31 13:14, Will Deacon wrote: > > On Tue, Mar 31, 2020 at 01:06:11PM +0530, Sai Prakash Ranjan wrote: > >> On 2020-03-30 23:54, Doug Anderson wrote: > >> > On Sat, Mar 28, 2020 at 12:35 AM Sai Prakash

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-31 Thread Sai Prakash Ranjan
Hi Will, On 2020-03-31 13:14, Will Deacon wrote: On Tue, Mar 31, 2020 at 01:06:11PM +0530, Sai Prakash Ranjan wrote: On 2020-03-30 23:54, Doug Anderson wrote: > On Sat, Mar 28, 2020 at 12:35 AM Sai Prakash Ranjan > wrote: > > > > > Of course the fact that in practice we'll *always* see the

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-31 Thread Will Deacon
On Tue, Mar 31, 2020 at 01:06:11PM +0530, Sai Prakash Ranjan wrote: > On 2020-03-30 23:54, Doug Anderson wrote: > > On Sat, Mar 28, 2020 at 12:35 AM Sai Prakash Ranjan > > wrote: > > > > > > > Of course the fact that in practice we'll *always* see the warning > > > > because there's no way to

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-31 Thread Sai Prakash Ranjan
Hi, On 2020-03-30 23:54, Doug Anderson wrote: Hi, On Sat, Mar 28, 2020 at 12:35 AM Sai Prakash Ranjan wrote: > Of course the fact that in practice we'll *always* see the warning > because there's no way to tear down the default DMA domains, and even > if all devices *have* been nicely

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-30 Thread Doug Anderson
Hi, On Sat, Mar 28, 2020 at 12:35 AM Sai Prakash Ranjan wrote: > > > Of course the fact that in practice we'll *always* see the warning > > because there's no way to tear down the default DMA domains, and even > > if all devices *have* been nicely quiesced there's no way to tell, is > >

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-28 Thread Sai Prakash Ranjan
Hi Robin, On 2020-03-28 00:32, Robin Murphy wrote: On 2020-03-27 3:09 pm, Sai Prakash Ranjan wrote: Imagine your network driver doesn't implement a .shutdown method (so the hardware is still active regardless of device links), happens to have an Rx buffer or descriptor ring DMA-mapped at an

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Robin Murphy
On 2020-03-27 3:09 pm, Sai Prakash Ranjan wrote: Hi Robin, Thanks for taking a look at this. On 2020-03-27 19:42, Robin Murphy wrote: On 2020-03-27 1:28 pm, Sai Prakash Ranjan wrote: Currently on reboot/shutdown, the following messages are displayed on the console as error messages before

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Sai Prakash Ranjan
Hi Rob, On 2020-03-27 21:47, Rob Clark wrote: On Fri, Mar 27, 2020 at 8:10 AM Sai Prakash Ranjan wrote: Hi Robin, Thanks for taking a look at this. On 2020-03-27 19:42, Robin Murphy wrote: > On 2020-03-27 1:28 pm, Sai Prakash Ranjan wrote: >> Currently on reboot/shutdown, the following

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Rob Clark
On Fri, Mar 27, 2020 at 8:10 AM Sai Prakash Ranjan wrote: > > Hi Robin, > > Thanks for taking a look at this. > > On 2020-03-27 19:42, Robin Murphy wrote: > > On 2020-03-27 1:28 pm, Sai Prakash Ranjan wrote: > >> Currently on reboot/shutdown, the following messages are > >> displayed on the

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Sai Prakash Ranjan
Hi Robin, Thanks for taking a look at this. On 2020-03-27 19:42, Robin Murphy wrote: On 2020-03-27 1:28 pm, Sai Prakash Ranjan wrote: Currently on reboot/shutdown, the following messages are displayed on the console as error messages before the system reboots/shutdown. On SC7180:

Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Robin Murphy
On 2020-03-27 1:28 pm, Sai Prakash Ranjan wrote: Currently on reboot/shutdown, the following messages are displayed on the console as error messages before the system reboots/shutdown. On SC7180: arm-smmu 1500.iommu: removing device with active domains! arm-smmu 504.iommu:

[PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback

2020-03-27 Thread Sai Prakash Ranjan
Currently on reboot/shutdown, the following messages are displayed on the console as error messages before the system reboots/shutdown. On SC7180: arm-smmu 1500.iommu: removing device with active domains! arm-smmu 504.iommu: removing device with active domains! Demote the log level