From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752357AbdHOOyd (ORCPT ); Tue, 15 Aug 2017 10:54:33 -0400 Received: from smtp2.it.da.ut.ee ([193.40.5.67]:54063 "EHLO smtp2.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbdHOOyc (ORCPT ); Tue, 15 Aug 2017 10:54:32 -0400 Date: Tue, 15 Aug 2017 17:54:27 +0300 (EEST) From: Meelis Roos To: sparclinux@vger.kernel.org, linux-pci@vger.kernel.org, qla2xxx-upstream@qlogic.com, Linux Kernel list Subject: 4.13.0-rc4 sparc64: can't allocate MSI-X affinity masks for 2 vectors Message-ID: User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I noticed that in 4.13.0-rc4 there is a new error in dmesg on my sparc64 t5120 server: can't allocate MSI-X affinity masks. [ 30.274284] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 10.00.00.00-k. [ 30.274648] qla2xxx [0000:10:00.0]-001d: : Found an ISP2432 irq 21 iobase 0x000000c100d00000. [ 30.275447] qla2xxx 0000:10:00.0: can't allocate MSI-X affinity masks for 2 vectors [ 30.816882] scsi host1: qla2xxx [ 30.877294] qla2xxx: probe of 0000:10:00.0 failed with error -22 [ 30.877578] qla2xxx [0000:10:00.1]-001d: : Found an ISP2432 irq 22 iobase 0x000000c100d04000. [ 30.878387] qla2xxx 0000:10:00.1: can't allocate MSI-X affinity masks for 2 vectors [ 31.367083] scsi host1: qla2xxx [ 31.427500] qla2xxx: probe of 0000:10:00.1 failed with error -22 I do not know if the driver works since nothing is attached to the FC HBA at the moment, but from the error messages it looks like the driver fails to load. I booted 4.12 and 4.11 - the red error is not there but the failure seems to be the same error -22: [2478900.385223] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 9.00.00.00-k. [2478900.385610] qla2xxx [0000:10:00.0]-001d: : Found an ISP2432 irq 21 iobase 0x000000c100d00000. [2478900.930517] scsi host1: qla2xxx [2478900.990939] qla2xxx: probe of 0000:10:00.0 failed with error -22 [2478900.991222] qla2xxx [0000:10:00.1]-001d: : Found an ISP2432 irq 22 iobase 0x000000c100d04000. [2478901.510715] scsi host1: qla2xxx [2478901.581106] qla2xxx: probe of 0000:10:00.1 failed with error -22 Will try older kernels too if it is useful for bisection. On an older sparc64 (t1-200) with 4.13.0-rc4, qla2xxx loads fine (nothing is attached there either): [ 30.590064] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 10.00.00.00-k. [ 30.699053] PCI: Enabling device: (0000:02:05.0), cmd 3 [ 30.699122] qla2xxx [0000:02:05.0]-001d: : Found an ISP2200 irq 12 iobase 0x000001ff0000a000. [ 52.463403] scsi host2: qla2xxx [ 52.545973] qla2xxx [0000:02:05.0]-4800:2: DPC handler sleeping. [ 52.627163] qla2xxx [0000:02:05.0]-00fb:2: QLogic QLA22xx - . [ 52.705428] qla2xxx [0000:02:05.0]-00fc:2: ISP2200: PCI (33 MHz) @ 0000:02:05.0 hdma- host#=2 fw=2.02.08 TP. [ 53.503221] qla2xxx [0000:02:05.0]-480f:2: Loop resync scheduled. [ 73.796964] qla2xxx [0000:02:05.0]-8038:2: Cable is unplugged... [ 73.876036] qla2xxx [0000:02:05.0]-883a:2: fw_state=4 (ffff, ffff, ffff, ffff ffff) curr time=ffffa61d. [ 73.999845] qla2xxx [0000:02:05.0]-286c:2: qla2x00_loop_resync *** FAILED ***. [ 74.094861] qla2xxx [0000:02:05.0]-4810:2: Loop resync end. [ 74.168188] qla2xxx [0000:02:05.0]-4800:2: DPC handler sleeping. -- Meelis Roos (mroos@linux.ee)