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

Robin Murphy
2020-04-23T09:29:05Z

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 way to tell".  Did I understand that
>> properly?  If so, it seems like it's fully expected to see this
>> message on every reboot and it doesn't necessarily signify anything
>> bad.
>>
>
> Understanding is the same, waiting for Will and Robin to check if its OK
> to make the message more friendly.

The way I see it, we essentially just want *something* visible that will
correlate with any misbehaviour that *might* result from turning off a
possibly-live context. How about simply "disabling translation", at
dev_warn or dev_info level?

Robin.