From: Steven Rostedt <srostedt@redhat.com>
To: Michal Schmidt <mschmidt@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-rt-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -rt] irq nobody cared workaround for i386
Date: Wed, 20 Jun 2007 10:17:34 -0400 [thread overview]
Message-ID: <467936FE.8050704@redhat.com> (raw)
In-Reply-To: <467932B4.6030800@redhat.com>
Michal Schmidt wrote:
> Michal Schmidt wrote:
> I came to the conclusion that the IO-APICs which need the fix for the
> nobody cared bug don't have the issue ack_ioapic_quirk_irq is designed
> to work-around. It should be safe simply to use the normal
> ack_ioapic_irq as the .eoi method in pcix_ioapic_chip.
> So this is the port of Steven's fix for the nobody cared bug to i386. It
> works fine on IBM LS21 I have access to.
>
Thanks Michal for doing this!
> Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
> @@ -1336,7 +1371,7 @@ static void __init setup_IO_APIC_irqs(vo
> if (IO_APIC_IRQ(irq)) {
> vector = assign_irq_vector(irq);
> entry.vector = vector;
> - ioapic_register_intr(irq, vector, IOAPIC_AUTO);
> + ioapic_register_intr(irq, vector, IOAPIC_AUTO, apic>0);
You want to make that "apic > 0". Note the spacing. If it breaks
80 characters, then simply put it to a new line.
>
> if (!apic && (irq < 16))
> disable_8259A_irq(irq);
> @@ -2058,6 +2093,18 @@ static struct irq_chip ioapic_chip __rea
> .retrigger = ioapic_retrigger_irq,
> };
>
[...]
> static inline void init_IO_APIC_traps(void)
> {
> @@ -2858,7 +2905,7 @@ int io_apic_set_pci_routing (int ioapic,
> mp_ioapics[ioapic].mpc_apicid, pin, entry.vector, irq,
> edge_level, active_high_low);
>
> - ioapic_register_intr(irq, entry.vector, edge_level);
> + ioapic_register_intr(irq, entry.vector, edge_level, ioapic>0);
Again, add the spaces.
>
> if (!ioapic && (irq < 16))
> disable_8259A_irq(irq);
>
>
ACK
-- Steve
next prev parent reply other threads:[~2007-06-20 14:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4676CF81.2000205@redhat.com>
2007-06-19 13:18 ` [PATCH -rt] irq nobody cared workaround for i386 Michal Schmidt
2007-06-20 13:59 ` Michal Schmidt
2007-06-20 14:17 ` Steven Rostedt [this message]
2007-06-21 11:31 ` Michal Schmidt
2007-06-22 7:14 ` Thomas Gleixner
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=467936FE.8050704@redhat.com \
--to=srostedt@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=mschmidt@redhat.com \
--cc=tglx@linutronix.de \
/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.