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

From: Sai Prakash Ranjan
Date: Thu Apr 23 2020 - 05:41:08 EST


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 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?



Sounds good, I'll go with disabling translation with dev_info.

Thanks,
Sai
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation