public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <yinghai@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: find nr_irqs_gsi with mp_ioapic_routing
Date: Mon, 9 Feb 2009 09:13:50 +0100	[thread overview]
Message-ID: <20090209081350.GC24420@elte.hu> (raw)
In-Reply-To: <498CCEDB.8050708@kernel.org>


* Yinghai Lu <yinghai@kernel.org> wrote:

> 
> Impact: find right nr_irqs_gsi on some systems.
> 
> one system has gap between gsi.
> [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
> [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
> [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
> [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
> [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
> [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
> ...
> [    0.000000] nr_irqs_gsi: 38
> 
> so nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
> 
> need to get that with acpi_probe_gsi when acpi io_apic is used
> 
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>
> 
> ---
>  arch/x86/include/asm/mpspec.h |    5 +++++
>  arch/x86/kernel/acpi/boot.c   |   23 +++++++++++++++++++++++
>  arch/x86/kernel/io_apic.c     |   20 +++++++++++++++-----
>  3 files changed, 43 insertions(+), 5 deletions(-)

Applied to tip/x86/apic, thanks Yinghai!

Could you please send one against linus/master too please? (there's conflicts)

	Ingo

  parent reply	other threads:[~2009-02-09  8:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-06 23:59 [PATCH] x86: find nr_irqs_gsi with mp_ioapic_routing Yinghai Lu
2009-02-07  0:00 ` [PATCH] x86/irq: optimizing nr_irqs Yinghai Lu
2009-02-08  9:44   ` [PATCH] x86/irq: optimizing nr_irqs -v2 Yinghai Lu
2009-02-09  8:14     ` Ingo Molnar
2009-02-07  3:35 ` [PATCH] x86: find nr_irqs_gsi with mp_ioapic_routing Len Brown
2009-02-07  3:47   ` Yinghai Lu
2009-02-07  7:15     ` Len Brown
2009-02-08  1:13 ` [PATCH] x86: use NR_IRQS_LEGACY to replace 16 Yinghai Lu
2009-02-09  8:14   ` Ingo Molnar
2009-02-09  8:13 ` Ingo Molnar [this message]
2009-02-09  9:03   ` [PATCH] x86: find nr_irqs_gsi with mp_ioapic_routing v3 Yinghai Lu

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=20090209081350.GC24420@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=yinghai@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