Re: [PATCH] iommu/arm-smmu-v3: suppress MSI allocation failure message
From: Joerg Roedel
Date: Wed Jan 17 2018 - 14:23:07 EST
On Wed, Jan 17, 2018 at 07:08:39PM +0000, Marc Zyngier wrote:
> On 17/01/18 18:54, Robin Murphy wrote:
> Indeed. How about checking dev->msi_domain first, which should tell you
> whether it is even possible to allocate MSIs, and fallback to wired IRQs
> instead. That way, we keep the warning on genuine failures to allocate
> MSIs, and you get to add a nice "Falling back to wired interrupts"
> message when msi_domain is NULL.
>
> Thoughts?
That sounds much better then the proposed patch. I am not really interested
in changing log-levels to make test-tools happy.
Joerg