Re: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors

From: David Miller
Date: Tue Aug 22 2017 - 12:31:45 EST


From: Christoph Hellwig <hch@xxxxxx>
Date: Tue, 22 Aug 2017 08:35:05 +0200

> On Mon, Aug 21, 2017 at 01:35:49PM -0700, David Miller wrote:
>> I ask because the commit log message indicates that this failure is
>> not expected to ever happen on SMP.
>
> I fear my commit message (but not the code) might be wrong.
> irq_create_affinity_masks can return NULL any time we don't have any
> affinity masks. I've already had a discussion about this elsewhere
> with Bjorn, and I suspect we need to kill the warning or move it
> to irq_create_affinity_masks only for genuine failure cases.

This is a rather large machine with 64 or more cpus and several NUMA
nodes. Why wouldn't there be any affinity masks available?

That's why I want to root cause this.