public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Alexander Graf <agraf@suse.de>
Cc: kvm-devel <kvm-devel@lists.sourceforge.net>
Subject: Re: [PATCH] [ACPI] Enable direct GSI mapping for APIC
Date: Wed, 07 May 2008 13:20:46 +0300	[thread overview]
Message-ID: <4821827E.1090304@qumranet.com> (raw)
In-Reply-To: <481B2B5C.50602@suse.de>

Alexander Graf wrote:
> Hi,
>
> in the DSDT there are two different ways of defining, how an interrupt 
> is supposed to be routed. Currently we are using the LNKA - LNKD 
> method, which afaict is for legacy support.
> The other method is to directly tell the Operating System, which APIC 
> pin the device is attached to. We can get that information from the 
> very same entry, the LNKA to LNKD pseudo devices receive it.
>
> For now this does not give any obvious improvement. It does leave room 
> for more advanced mappings, with several IOAPICs that can handle more 
> devices separately. This might help when we have a lot of devices, as 
> currently all devices sit on two interrupt lanes.
>
> More importantly (for me) though, is that Darwin enables the APIC mode 
> unconditionally, so it won't easily run in legacy mode.
>

Please properly signoff on patches.

Also:

> +                // PCI Slot 8
> +                Package() {0x0008ffff, 0, 0, ARQ3},
> +                Package() {0x0008ffff, 1, 0, ARQ0},
> +                Package() {0x0008ffff, 2, 0, ARQ1},
> +                Package() {0x0008ffff, 3, 0, ARQ2},
> +
> +                // PCI Slot 9
> +                Package() {0x0008ffff, 0, 0, ARQ0},
> +                Package() {0x0008ffff, 1, 0, ARQ1},
> +                Package() {0x0008ffff, 2, 0, ARQ2},
> +                Package() {0x0008ffff, 3, 0, ARQ3},
> +

Slot 9 uses the same addresses as slot 8.   Similarly for slot 25. 
(found by Marcelo for the code which was the source for this copy-paste)

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

      parent reply	other threads:[~2008-05-07 10:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 14:55 [PATCH] [ACPI] Enable direct GSI mapping for APIC Alexander Graf
2008-05-02 15:35 ` Marcelo Tosatti
2008-05-03 20:29   ` Alexander Graf
2008-05-07 10:20 ` Avi Kivity [this message]

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=4821827E.1090304@qumranet.com \
    --to=avi@qumranet.com \
    --cc=agraf@suse.de \
    --cc=kvm-devel@lists.sourceforge.net \
    /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