From: Jeremy Fitzhardinge <jeremy@goop.org>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Mike Travis <travis@sgi.com>, Yinghai Lu <yhlu.kernel@gmail.com>,
Dhaval Giani <dhaval@linux.vnet.ibm.com>,
Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
lkml <linux-kernel@vger.kernel.org>,
Jack Steiner <steiner@sgi.com>, Alan Mayer <ajm@sgi.com>,
Cliff Wickman <cpw@sgi.com>
Subject: Re: kernel BUG at arch/x86/kernel/io_apic_64.c:357!
Date: Fri, 01 Aug 2008 10:48:04 -0700 [thread overview]
Message-ID: <48934C54.60806@goop.org> (raw)
In-Reply-To: <m1fxps17bu.fsf@frodo.ebiederm.org>
Eric W. Biederman wrote:
> Sorry. Probably too much context in my head.
> The model I use is irq sources throw interrupts and then the cpus catch them.
> Sometimes those in flight irqs go through several transformations.
>
OK, that's more or less my mental model too.
> Given that the event channels that logical irq are bound to change over time
> I would say they appear to be not irq sources. Those are the physical
> lines coming out of hardware devices (if physical), and the equivalent
> parts of the hardware when the irqs are sent message based.
>
> So it does sound like the event channels function much like vectors. Which
> are the token thrown from ioapics to cpus to tell them which irq has happened
> but have nothing to do with it.
>
Yes and no. The event channels are similar to the actual interrupt
wires coming out of a PCI card, but they generally connect to virtual
devices, and so are a lot more dynamic than physical devices. The event
channel remapping scenario I described is pretty much exactly analogous
to having a hotplug PCI device being pulled and then replugged into a
different slot with a different interrupt line.
> The sources and the linux irq numbers should be stable if you don't unplug
> anything. The rest are implementation details the architecture should hide.
>
Yeah, plugging can happen as a quite regular thing.
> In that case I don't see any reason we could not be receiving irqs with the
> cpus catching vectors and with events showing up in event channels. Having
> both running at the same time is a little odd but doable.
>
Yes, it's a bit odd, but there are two distinct configurations where
it's a useful thing to have, where the system is running in a hybrid
Xen/native environment.
J
next prev parent reply other threads:[~2008-08-01 17:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-29 16:09 kernel BUG at arch/x86/kernel/io_apic_64.c:357! Dhaval Giani
2008-07-29 18:35 ` Yinghai Lu
2008-07-29 19:20 ` Yinghai Lu
2008-07-29 20:14 ` Eric W. Biederman
2008-07-29 20:37 ` Yinghai Lu
2008-07-29 22:17 ` Mike Travis
2008-07-29 22:21 ` Yinghai Lu
2008-07-29 23:12 ` Eric W. Biederman
2008-07-30 0:00 ` Alan Cox
2008-07-30 1:29 ` Eric W. Biederman
2008-07-29 23:12 ` Eric W. Biederman
2008-07-29 23:42 ` Jeremy Fitzhardinge
2008-07-30 0:01 ` Eric W. Biederman
2008-07-30 0:50 ` Jeremy Fitzhardinge
2008-07-30 1:36 ` Eric W. Biederman
2008-08-01 17:48 ` Jeremy Fitzhardinge [this message]
2008-07-29 20:21 ` Dhaval Giani
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=48934C54.60806@goop.org \
--to=jeremy@goop.org \
--cc=ajm@sgi.com \
--cc=cpw@sgi.com \
--cc=dhaval@linux.vnet.ibm.com \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=steiner@sgi.com \
--cc=tglx@linutronix.de \
--cc=travis@sgi.com \
--cc=yhlu.kernel@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox