All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Burns <lists.xensource.com@adslpipe.co.uk>
To: xen-devel@lists.xensource.com
Subject: Re: MMIO ioremap() error with PCI passthrough
Date: Tue, 01 Jul 2008 23:27:30 +0100	[thread overview]
Message-ID: <486AAF52.2050701@adslpipe.co.uk> (raw)
In-Reply-To: <C4904AA3.1A491%keir.fraser@eu.citrix.com>

On 01/07/2008 20:57, Keir Fraser wrote:

> Interrupt sharing generally depends on which lines are
> wired together on your mainboard. When Xen receives an interrupt on a shared
> line it does not have enough information to demultiplex that interrupt to
> the appropriate receiver -- it has to broadcast to all potential recipients.

OK.

Sucking data at several Mb/s from a tv tuner, then squirting it to disk, 
where the tuner and disk are sharing the same interrupt doesn't sound 
ideal then ;-)

The SATA controller is presently performing an online mdraid reshape 
from 6 to 8 disks, averaging 6000 interrupts per second, so that's 
probably what is triggering the 99,900 "ignored" interrupts in 40 seconds!

> I have no idea what IOAPIC[1] above really represents. Usually the GSI range
> for an IOAPIC corresponds to its array of interrupt input pins. I've never
> heard of a 256-pin IOAPIC!

Could it relate to MSI?

> The best you could hope for would be to try out the MSI/MSI-X support in the
> xen-unstable tree (soon to be Xen 3.3). These are message-based interrupts
> which completely sidesteps the issue of interrupt lines and their wiring
> together.

Sounds good, but I gather it's only for PCIe or PCI2.3 devices, so my 
present tuners won't directly benefit, I suppose they might benefit 
indirectly by other devices using MSI and freeing up hardwired 
interrupts rather than being shared. Longer term I'll probably get a 
PCIe dual tuner.

Thanks for you help today, it'll likely be the weekend before I can look 
into this any further.

  reply	other threads:[~2008-07-01 22:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01  8:17 MMIO ioremap() error with PCI passthrough Andy Burns
2008-07-01  8:30 ` Keir Fraser
2008-07-01  8:58   ` Andy Burns
2008-07-01  9:45     ` Keir Fraser
2008-07-01 13:16       ` Andy Burns
2008-07-01 13:31         ` Keir Fraser
2008-07-01 15:44           ` Andy Burns
2008-07-01 16:42             ` Andy Burns
2008-07-01 17:15               ` Keir Fraser
2008-07-01 18:50                 ` Andy Burns
2008-07-01 19:24                   ` Andy Burns
2008-07-01 19:57                     ` Keir Fraser
2008-07-01 22:27                       ` Andy Burns [this message]
2008-07-02  9:35               ` Andy Burns
2008-07-02 12:54                 ` Andy Burns
2008-07-02 14:09                   ` Andy Burns
2008-07-01 17:10             ` Keir Fraser
2008-07-01 18:52           ` Jeremy Fitzhardinge
2008-07-01  9:09   ` Andy Burns

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=486AAF52.2050701@adslpipe.co.uk \
    --to=lists.xensource.com@adslpipe.co.uk \
    --cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.