All of lore.kernel.org
 help / color / mirror / Atom feed
From: Beth Kon <eak@us.ibm.com>
To: qemu-devel <qemu-devel@nongnu.org>, Jes Sorensen <jes@sgi.com>,
	Kevin O'Connor <kevin@koconnor.net>
Subject: [Qemu-devel] [Fwd: Re: [PATCH] Seabios irq override support.]
Date: Tue, 28 Jul 2009 11:17:04 -0400	[thread overview]
Message-ID: <4A6F1670.6040109@us.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 24 bytes --]

Trying one more time...

[-- Attachment #2: Re: [PATCH] Seabios irq override support..eml --]
[-- Type: message/rfc822, Size: 2108 bytes --]

From: Beth Kon <eak@us.ibm.com>
To: Jes Sorensen <jes@sgi.com>
Cc: Kevin O'Connor <kevin@koconnor.net>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PATCH] Seabios irq override support.
Date: Tue, 28 Jul 2009 09:36:09 -0400
Message-ID: <4A6EFEC9.60602@us.ibm.com>

Jes Sorensen wrote:
> On 07/27/2009 08:47 PM, Beth Kon wrote:
>> Hi Jes. These bios changes rely on matching userspace/kernel changes
>> that translate irq0->inti2. So assuming seabios is used for systems
>> other than kvm and qemu, this code would need to be conditionally 
>> removed.
>
> Hi Beth,
>
> Thanks for the input. I guess we'll want it to be CONFIG_KVM for now
> then, since Seabios doesn't know of BX_QEMU. Once we have more of the
> cfg_fw stuff needed for this, the #ifdef part can be made prettier.
>
>> But I'm not clear on what you're doing with this patch. You didn't
>> include the irq0override flag that is needed by kvm because there are
>> circumstances under which kvm turns off irq0override (i.e., old kernels
>> that don't support irq routing). So this patch is fine for qemu, since
>> it is permanently enabled there, but it is not a permanent solution for
>> kvm.
>
> The reason I didn't include the irq0override flag is that the fw_cfg
> bits for this aren't in Seabios yet. I'll be happy to add them in a
> follow up patch.
>
> How do you like this version? It's a little more complex as I introduced
> the irq0override variable, but it will make it very easy to add the
> cfg_fw stuff.
>
> Cheers,
> Jes 
Hi Jes. This patch looks fine. As we discussed on IRC, seabios with this 
patch won't work with old kernels that don't support gsi routing, but 
once you add the capability to control irq0override from userspace, that 
will be corrected.


                 reply	other threads:[~2009-07-28 15:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4A6F1670.6040109@us.ibm.com \
    --to=eak@us.ibm.com \
    --cc=jes@sgi.com \
    --cc=kevin@koconnor.net \
    --cc=qemu-devel@nongnu.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 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.