linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ming Lei <tom.leiming@gmail.com>
To: Meelis Roos <mroos@linux.ee>
Cc: Giridhar Malavali <gmalavali@marvell.com>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"qla2xxx-upstream@qlogic.com" <qla2xxx-upstream@qlogic.com>,
	Himanshu Madhani <hmadhani@redhat.com>,
	Ming Lei <ming.lei@redhat.com>
Subject: Re: qla2xxx init warning with blk_mq at drivers/pci/msi.c:1273 pci_irq_get_affinity+0xf4/0x120
Date: Wed, 13 Feb 2019 10:36:44 +0800	[thread overview]
Message-ID: <CACVXFVM04AW1vVcX4KCsi7eS1EWZcWkhUGYY5db=LJdmPGE4yw@mail.gmail.com> (raw)
In-Reply-To: <59ea474f-347e-185b-73c7-7fa7e6cfa7b4@linux.ee>

On Wed, Feb 13, 2019 at 5:36 AM Meelis Roos <mroos@linux.ee> wrote:
>
> >      I tested todays 5.0.0-rc5-00358-gdf3865f on my sparcs and a couple of servers that have qla2xxx
> >      FC adapter gave me this warning:
>
> Now I got a very similar one on an x86-64 server:
>
>
> [   18.472568] qla2xxx [0000:00:00.0]-0005: : QLogic Fibre Channel HBA Driver: 10.00.00.12-k.
> [   18.474272] PCI Interrupt Link [LNKD] enabled at IRQ 19
> [   18.474272] qla2xxx [0000:04:00.0]-001d: : Found an ISP2432 irq 19 iobase 0x(____ptrval____).
> [   18.917293] scsi host3: qla2xxx
> [   18.917412] WARNING: CPU: 0 PID: 1650 at drivers/pci/msi.c:1273 pci_irq_get_affinity+0x35/0x80
> [   18.917554] Modules linked in: qla2xxx(+) scsi_transport_fc i2c_nforce2 e1000 pata_amd k8temp libata i2c_core hwmon forcedeth(+) powernow_k8 pcspkr autofs4
> [   18.917708] CPU: 0 PID: 1650 Comm: kworker/0:3 Not tainted 5.0.0-rc6-00013-gaa0c38cf39de #14
> [   18.917848] Hardware name: Sun Microsystems Sun Fire X4200 M2/Sun Fire X4200 M2                        , BIOS 0ABJX104 04/09/2009
> [   18.918002] Workqueue: events work_for_cpu_fn
> [   18.918082] RIP: 0010:pci_irq_get_affinity+0x35/0x80
> [   18.918164] Code: 2e 48 8b 87 b8 02 00 00 48 8d 8f b8 02 00 00 48 39 c1 74 16 85 f6 74 4e 31 d2 eb 04 39 d6 74 46 48 8b 00 ff c2 48 39 c8 75 f2 <0f> 0b 31 c0 c3 83 e2 02 48 c7 c0 c0 46 d5 b8 74 29 48 8b 97 b8 02
> [   18.918374] RSP: 0018:ffffa15f4108fcb0 EFLAGS: 00010246
> [   18.918460] RAX: ffff95e7995f52b8 RBX: 0000000000000000 RCX: ffff95e7995f52b8
> [   18.918547] RDX: 0000000000000002 RSI: 0000000000000002 RDI: ffff95e7995f5000
> [   18.918629] RBP: 0000000000000000 R08: ffffffffffffff80 R09: ffff95e799008e60
> [   18.918712] R10: 00000000b90b0f01 R11: ffffa15f4108fa90 R12: 0000000000000002
> [   18.918795] R13: ffff95e7995f5000 R14: 00000000ffffffff R15: ffff95e7969890a8
> [   18.918878] FS:  0000000000000000(0000) GS:ffff95e79b400000(0000) knlGS:0000000000000000
> [   18.919013] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   18.919103] CR2: 00007f213fb62000 CR3: 0000000217dc0000 CR4: 00000000000006f0
> [   18.919185] Call Trace:
> [   18.919269]  blk_mq_pci_map_queues+0x32/0xc0
> [   18.919354]  blk_mq_alloc_tag_set+0x12e/0x340
> [   18.919437]  scsi_add_host_with_dma+0xa1/0x310
> [   18.919549]  qla2x00_probe_one+0x1272/0x2400 [qla2xxx]
> [   18.919632]  ? try_to_wake_up+0x2c8/0x6f0
> [   18.919710]  local_pci_probe+0x4b/0xb0
> [   18.919787]  work_for_cpu_fn+0x11/0x20
> [   18.919866]  process_one_work+0x1d1/0x360
> [   18.919943]  worker_thread+0x20e/0x3f0
> [   18.920020]  ? wq_calc_node_cpumask+0x110/0x110
> [   18.920100]  kthread+0x109/0x120
> [   18.920176]  ? kthread_create_on_node+0x60/0x60
> [   18.920256]  ret_from_fork+0x35/0x40
> [   18.920334] ---[ end trace 56ed281ce2c61e69 ]---
> [   18.926988] qla2xxx [0000:04:00.0]-00fb:3: QLogic QLE2460 - SG-(X)PCIE1FC-QF4, Sun StorageTek 4 Gb FC Enterprise PCI-Express Single Channel.
> [   18.927148] qla2xxx [0000:04:00.0]-00fc:3: ISP2432: PCIe (2.5GT/s x4) @ 0000:04:00.0 hdma+ host#=3 fw=8.07.00 (9496).
> [   18.927757] qla2xxx [0000:83:00.0]-001d: : Found an ISP2432 irq 30 iobase 0x(____ptrval____).
> [   19.350303] qla2xxx [0000:83:00.0]-00fb:4: QLogic QLE2460 - SG-(X)PCIE1FC-QF4, Sun StorageTek 4 Gb FC Enterprise PCI-Express Single Channel.
> [   19.350474] qla2xxx [0000:83:00.0]-00fc:4: ISP2432: PCIe (2.5GT/s x4) @ 0000:83:00.0 hdma+ host#=4 fw=8.07.00 (9496).
> [   40.421151] qla2xxx [0000:04:00.0]-8038:3: Cable is unplugged...
> [   40.837159] qla2xxx [0000:83:00.0]-8038:4: Cable is unplugged...

We saw such issue too in which .msix_count is too small, and equal to
.pre_vectors, and Himanshu is working on it.

Thanks,
Ming Lei

  reply	other threads:[~2019-02-13  2:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-10 12:29 qla2xxx init warning with blk_mq at drivers/pci/msi.c:1273 pci_irq_get_affinity+0xf4/0x120 Meelis Roos
2019-02-11 19:09 ` Giridhar Malavali
2019-02-12  8:21   ` Meelis Roos
2019-02-12 18:38   ` Meelis Roos
2019-02-13  2:36     ` Ming Lei [this message]
2019-02-16  0:56       ` Himanshu Madhani
2019-02-16 19:14         ` Meelis Roos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACVXFVM04AW1vVcX4KCsi7eS1EWZcWkhUGYY5db=LJdmPGE4yw@mail.gmail.com' \
    --to=tom.leiming@gmail.com \
    --cc=gmalavali@marvell.com \
    --cc=hmadhani@redhat.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ming.lei@redhat.com \
    --cc=mroos@linux.ee \
    --cc=qla2xxx-upstream@qlogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).