* mlx4 fails ("go bit not cleared") without MSI @ 2016-01-13 22:08 Bjorn Helgaas 0 siblings, 0 replies; 3+ messages in thread From: Bjorn Helgaas @ 2016-01-13 22:08 UTC (permalink / raw) To: Eugenia Emantayev; +Cc: netdev, linux-kernel Hi Eugenia, Due to my own stupidity, I tried to use mlx4 without turning on CONFIG_PCI_MSI=y. The driver failed miserably: pci 0000:01:00.0: [15b3:1007] type 00 class 0x020000 mlx4_core: Mellanox ConnectX core driver v2.2-1 (Feb, 2014) mlx4_core: Initializing 0000:01:00.0 mlx4_core 0000:01:00.0: PCIe link speed is 8.0GT/s, device supports 8.0GT/s mlx4_core 0000:01:00.0: PCIe link width is x8, device supports x8 mlx4_core 0000:01:00.0: command 0x23 timed out (go bit not cleared) mlx4_core 0000:01:00.0: device is going to be reset mlx4_core 0000:01:00.0: device was reset successfully mlx4_core 0000:01:00.0: Failed to initialize queue pair table, aborting mlx4_core: probe of 0000:01:00.0 failed with error -5 The lack of MSI was my own fault, but it took me a long time to figure it out. The fact that mlx4 has a "msi_x" module parameter makes me think that mlx4 is *supposed* to work without MSI. Would you consider either fixing the non-MSI fallback path, or printing a warning when the driver can't set up MSIs? This is easy to reproduce; just turn off CONFIG_PCI_MSI or boot with "pci=nomsi". Bjorn ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <HE1PR05MB1418EEAC4F82E2ECF9AC0920CEC10@HE1PR05MB1418.eurprd05.prod.outlook.com>]
[parent not found: <CAErSpo5PsAvix815Z1Ge5-UTx5z-0m5W2p4F9J=s8AB03=C+Dw@mail.gmail.com>]
* RE: mlx4 fails ("go bit not cleared") without MSI [not found] ` <CAErSpo5PsAvix815Z1Ge5-UTx5z-0m5W2p4F9J=s8AB03=C+Dw@mail.gmail.com> @ 2016-01-20 9:42 ` Yishai Hadas 2016-01-20 17:00 ` Bjorn Helgaas 0 siblings, 1 reply; 3+ messages in thread From: Yishai Hadas @ 2016-01-20 9:42 UTC (permalink / raw) To: Bjorn Helgaas Cc: helgaas@kernel.org, Majd Dibbiny, Tal Alon, Or Gerlitz (gerlitz.or@gmail.com), netdev@vger.kernel.org > From: Bjorn Helgaas [mailto:bhelgaas@google.com] > I assume you're tried booting with "pci=nomsi" or "mlx_core.msi_x=0" > and it works for you? Note that my board might be an internal design, > not a Mellanox board, so if it works for you, we can probably just > ignore this as being an artifact of the internal design. Yes, it works for me (module parameter msi_x=0), as you pointed out above you are not using Mellanox board but some internal design and it might be some artifact of. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mlx4 fails ("go bit not cleared") without MSI 2016-01-20 9:42 ` Yishai Hadas @ 2016-01-20 17:00 ` Bjorn Helgaas 0 siblings, 0 replies; 3+ messages in thread From: Bjorn Helgaas @ 2016-01-20 17:00 UTC (permalink / raw) To: Yishai Hadas Cc: helgaas@kernel.org, Majd Dibbiny, Tal Alon, Or Gerlitz (gerlitz.or@gmail.com), netdev@vger.kernel.org On Wed, Jan 20, 2016 at 3:42 AM, Yishai Hadas <yishaih@mellanox.com> wrote: >> From: Bjorn Helgaas [mailto:bhelgaas@google.com] >> I assume you're tried booting with "pci=nomsi" or "mlx_core.msi_x=0" >> and it works for you? Note that my board might be an internal design, >> not a Mellanox board, so if it works for you, we can probably just >> ignore this as being an artifact of the internal design. > > Yes, it works for me (module parameter msi_x=0), as you pointed out above > you are not using Mellanox board but some internal design and > it might be some artifact of. OK, let's assume that's the case. I haven't seen the actual board, so I can't be certain what I'm using. Thanks for checking into it. Bjorn ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-20 17:01 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-01-13 22:08 mlx4 fails ("go bit not cleared") without MSI Bjorn Helgaas [not found] <HE1PR05MB1418EEAC4F82E2ECF9AC0920CEC10@HE1PR05MB1418.eurprd05.prod.outlook.com> [not found] ` <CAErSpo5PsAvix815Z1Ge5-UTx5z-0m5W2p4F9J=s8AB03=C+Dw@mail.gmail.com> 2016-01-20 9:42 ` Yishai Hadas 2016-01-20 17:00 ` Bjorn Helgaas
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).