From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Sheng Yang <sheng@linux.intel.com>,
Yinghai Lu <yinghai@kernel.org>,
Suresh Siddha <suresh.b.siddha@intel.com>,
linux-kernel@vger.kernel.org, Dimitri Sivanich <sivanich@sgi.com>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] x86: Don't ack_APIC_irq() if lapic is disabled in GENERIC_INTERRUPT_VECTOR handler
Date: Sun, 20 Sep 2009 22:13:26 +0400 [thread overview]
Message-ID: <20090920181326.GB32176@lenovo> (raw)
In-Reply-To: <20090920180632.GB8498@elte.hu>
[Ingo Molnar - Sun, Sep 20, 2009 at 08:06:32PM +0200]
|
| * Sheng Yang <sheng@linux.intel.com> wrote:
|
| > Otherwise would cause trouble...
| >
| > Cc: Dimitri Sivanich <sivanich@sgi.com>
| > Signed-off-by: Sheng Yang <sheng@linux.intel.com>
| > ---
| > arch/x86/kernel/irq.c | 3 ++-
| > 1 files changed, 2 insertions(+), 1 deletions(-)
| >
| > diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
| > index b0cdde6..78b23d0 100644
| > --- a/arch/x86/kernel/irq.c
| > +++ b/arch/x86/kernel/irq.c
| > @@ -257,7 +257,8 @@ void smp_generic_interrupt(struct pt_regs *regs)
| > {
| > struct pt_regs *old_regs = set_irq_regs(regs);
| >
| > - ack_APIC_irq();
| > + if (!disable_apic)
| > + ack_APIC_irq();
|
| Wont in that case the apic->ack method be a NOP?
|
| Ingo
|
iirc it was Xen related patch. So it's not that simple.
I've pointed out Sheng about disable_apic. I'm not Xen
specialist but Xen team seem to use specific apic setup
so our "dummy" operations are not involved (case they
set disable_apic=1 without "turn off" apic ops in real).
Something like that.
-- Cyrill
next prev parent reply other threads:[~2009-09-20 18:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-08 9:52 [PATCH] x86: Don't ack_APIC_irq() if lapic is disabled in GENERIC_INTERRUPT_VECTOR handler Sheng Yang
2009-09-20 18:06 ` Ingo Molnar
2009-09-20 18:13 ` Cyrill Gorcunov [this message]
2009-09-20 18:21 ` Ingo Molnar
2009-09-20 18:30 ` Cyrill Gorcunov
2009-09-20 18:42 ` Cyrill Gorcunov
2009-09-20 18:49 ` Cyrill Gorcunov
2009-09-20 19:07 ` Sheng Yang
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=20090920181326.GB32176@lenovo \
--to=gorcunov@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=sheng@linux.intel.com \
--cc=sivanich@sgi.com \
--cc=suresh.b.siddha@intel.com \
--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