All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: PCI MSI questions
Date: Fri, 08 Aug 2008 11:09:13 +0100	[thread overview]
Message-ID: <489C3769.76E4.0078.0@novell.com> (raw)
In-Reply-To: <C4ADEBE0.1B808%keir.fraser@eu.citrix.com>

>>> Keir Fraser <keir.fraser@eu.citrix.com> 24.07.08 09:20 >>>
>On 24/7/08 08:02, "Jan Beulich" <jbeulich@novell.com> wrote:
>
>> 1) There currently seems to be a hidden requirement of NR_PIRQS in the
>> kernel needing to be no smaller than NR_IRQS in the hypervisor.
>> Otherwise, the pirq returned from PHYSDEVOP_map_pirq may collide
>> with the dynamic IRQs in the kernel or even be out of range altogether.
>> Therefore I think that NR_PIRQS has to become a variable defaulting
>> to 256 but getting initialized from a hypervisor reported value (perhaps
>> in start_info, or else from a new (sub-)hypercall).
>
>Or have the kernel remap the return value of map_pirq into its own PIRQ
>namespace, and maintain appropriate translation info? Although, it'd be nice
>to have dynamic NR_IRQS sizing anyway -- people who want to run lots of
>domUs currently may have to recompile dom0 with more DYNIRQS.

So what route would you prefer to go (so that if I'm able to get to it I
wouldn't end up submitting a patch you'd have wanted done the other
way around)?

Jan

  reply	other threads:[~2008-08-08 10:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  7:02 PCI MSI questions Jan Beulich
2008-07-24  7:20 ` Keir Fraser
2008-08-08 10:09   ` Jan Beulich [this message]
2008-08-08 10:18     ` Keir Fraser
2008-07-24  8:22 ` Jan Beulich
2008-07-24  8:39 ` Shan, Haitao
2008-07-24  9:39   ` Jan Beulich

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=489C3769.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=keir.fraser@eu.citrix.com \
    --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.