linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: Torsten Kaiser <just.for.lkml@googlemail.com>
Cc: Tejun Heo <tj@kernel.org>,
	linux-kernel@vger.kernel.org, Jeff Garzik <jgarzik@pobox.com>,
	linux-ide@vger.kernel.org
Subject: Re: MSI broken in libata?
Date: Thu, 21 Jan 2010 18:53:11 -0600	[thread overview]
Message-ID: <51f3faa71001211653s6ec4b2eep9f63a44a4f1fe674@mail.gmail.com> (raw)
In-Reply-To: <64bb37e1001192248nbcb2b55pf9bab5f3fb909354@mail.gmail.com>

On Wed, Jan 20, 2010 at 12:48 AM, Torsten Kaiser
<just.for.lkml@googlemail.com> wrote:
>>> Output of the __assign_irq:
>>> 4x PCIe bridge:
>>> [    1.759016] __assign_irq_vector:assigning irq 24 to vector 73
>>> [    1.764928] __assign_irq_vector:assigning irq 25 to vector 81
>>> [    1.770827] __assign_irq_vector:assigning irq 26 to vector 89
>>> [    1.776720] __assign_irq_vector:assigning irq 27 to vector 97
>>> sata_sil24 first gets 19:
>>> [    1.856245] __assign_irq_vector:assigning irq 19 to vector 105
>>> then switches to MSI-28:
>>> [    1.870768] __assign_irq_vector:assigning irq 28 to vector 113
>>> 3 normal interrupts for sata_nv:
>>> [    1.908504] __assign_irq_vector:assigning irq 23 to vector 121
>>> [    1.953848] __assign_irq_vector:assigning irq 22 to vector 129
>>> [    1.999155] __assign_irq_vector:assigning irq 21 to vector 137
>>>
>>> Writing failed again without a message, but the read test showed:
>>> [   85.695745] do_IRQ: 0.165 No irq handler for vector (irq -1)
>>> [   85.695763] do_IRQ: 1.165 No irq handler for vector (irq -1)
>>> [   85.695785] do_IRQ: 3.165 No irq handler for vector (irq -1)
>>> [   85.695800] do_IRQ: 2.165 No irq handler for vector (irq -1)
>>> Same vector in this error, but sata_sil24 had MSI irq 28 instead of 29!
>>> And the vector allocations where not even near 165!
>>
>> Hmm.. Can you send the output of lspci -vv with MSI in use?
>
> I had already done so at the start of this thread, both for MSI and
> the normal, working case:
> http://lkml.org/lkml/2009/12/25/12
> ( http://marc.info/?l=linux-kernel&m=126173296807440&w=2 might be
> better, als lkml.org seems to eat the attachment borders)
>
> For the minimal kernel with only the sata_nv and sata_sil24 drivers
> the output looks like this:

Well, that doesn't seem that illuminating. Still mysterious where 165
could be coming from.

Anyone have any ideas how random IRQ vectors could be showing up on
the APIC with MSI?

  reply	other threads:[~2010-01-22  0:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-25  9:22 MSI broken in libata? Torsten Kaiser
2010-01-09  9:11 ` Tejun Heo
2010-01-10  4:33   ` Torsten Kaiser
2010-01-11  1:15     ` Tejun Heo
2010-01-11  1:39       ` Robert Hancock
2010-01-11  2:17         ` Tejun Heo
2010-01-16 21:58         ` Torsten Kaiser
2010-01-17 19:22           ` Robert Hancock
2010-01-17 21:11             ` Torsten Kaiser
2010-01-18 20:51               ` Torsten Kaiser
2010-01-19  2:03                 ` Robert Hancock
2010-01-19  7:00                   ` Torsten Kaiser
2010-01-19 20:20                   ` Torsten Kaiser
2010-01-20  3:00                     ` Robert Hancock
2010-01-20  6:48                       ` Torsten Kaiser
2010-01-22  0:53                         ` Robert Hancock [this message]
2010-01-11  6:44       ` Torsten Kaiser

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=51f3faa71001211653s6ec4b2eep9f63a44a4f1fe674@mail.gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=just.for.lkml@googlemail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tj@kernel.org \
    /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).