All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Ingo Molnar <mingo@redhat.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Komuro <komurojun-mbn@nifty.com>,
	tglx@linutronix.de, Adrian Bunk <bunk@stusta.de>,
	Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [patch] genirq: do not mask interrupts by default
Date: Wed, 15 Nov 2006 18:46:04 +0100	[thread overview]
Message-ID: <20061115174604.GA24429@elte.hu> (raw)
In-Reply-To: <Pine.LNX.4.64.0611150808350.3349@woody.osdl.org>


* Linus Torvalds <torvalds@osdl.org> wrote:

> On Wed, 15 Nov 2006, Ingo Molnar wrote:
> > 
> > problem is, we dont know /for a fact/ that something is "APIC-edge". 
> > We only know that the BIOS claims it that it's so.
> 
> This is incorrect. We will have _programmed_ the APIC with whatever 
> the BIOS said in the MP tables, so if we think it's level triggered, 
> it _is_ level triggered.

yeah. I was thinking about the low 16 irqs (those are really the problem 
spots most of the time, not the normal IO-APIC irqs) - which are routed 
all across the southbridge and might end up being handled by a 
i8259A-lookalike entity. Right now we default to level-triggered IRQ 
flow handling:

                if (i < 16) {
                        /*
                         * 16 old-style INTA-cycle interrupts:
                         */
                        set_irq_chip_and_handler_name(i, &i8259A_chip,
                                                      handle_level_irq, "XT");

because that's the best we can do (it's also what our i8259 code did 
historically). But it would be one step safer to also do the 
lazy-disable. Just in case things might get lost while masked. Or is 
that an absolutely horrible hardware breakage that i shouldnt worry 
about?

> So I really think that all the arguments for i8259 not wanting replay 
> weigh equally on level-triggered PCI irq's too.
> 
> Now, the one thing that makes me think your approach is the right one 
> is that it's potentially going to be better performance - if people 
> disable irq's and the normal case is that no irq will actually happen, 
> then optimistically not doing anything at all (except marking the irq 
> disabled, of course) is always good.
> 
> However, because it's a semantic change, I _really_ don't want to do 
> it right now. We're maybe a week away from 2.6.19, and the "ISA irq's 
> don't work" report is one of the things that is holding things up 
> right now.
>
> So that's why I'd much rather go with Eric's patch for now - because 
> it keeps the semantics that we've always had.

ok, i'm fine with Eric's patch too, if it solves Komuro's problem:

  Acked-by: Ingo Molnar <mingo@elte.hu>

and we dont have to worry about the present ugliness of the 
delayed-disabled flag either, as it would just go away in 2.6.20.

	Ingo

  reply	other threads:[~2006-11-15 17:47 UTC|newest]

Thread overview: 103+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  2:33 Linux 2.6.19-rc5 Linus Torvalds
2006-11-08  8:52 ` 2.6.19-rc5: known regressions Adrian Bunk
2006-11-08  9:29   ` [discuss] " Jan Beulich
2006-11-08 10:21     ` Adrian Bunk
2006-11-08  9:34   ` Jens Axboe
2006-11-08 19:09     ` Alex Romosan
2006-11-08 19:29       ` Jens Axboe
2006-11-08 19:38         ` Alex Romosan
2006-11-08 19:45           ` Jens Axboe
2006-11-08 21:40             ` Alex Romosan
2006-11-08 20:03         ` Arjan van de Ven
2006-11-08 20:19           ` Jens Axboe
2006-11-08 11:04   ` Eric W. Biederman
2006-11-08 11:18   ` Eric W. Biederman
2006-11-08 15:47     ` Linus Torvalds
2006-11-08 16:22       ` Adrian Bunk
2006-11-08 23:11         ` Tim Chen
2006-11-09  2:49           ` Tim Chen
2006-11-09  5:10             ` Eric W. Biederman
2006-11-13 22:46               ` Tim Chen
2006-11-14  0:03                 ` Eric W. Biederman
2006-11-08 11:32   ` Thomas Gleixner
     [not found]   ` <7813413.118221162987983254.komurojun-mbn@nifty.com>
2006-11-08 16:00     ` Linus Torvalds
2006-11-10 12:42       ` Re: Re: 2.6.19-rc5: known regressions :SMP kernel can not generate ISA irq Komuro
2006-11-13 16:02         ` Linus Torvalds
2006-11-13 17:11           ` Eric W. Biederman
2006-11-13 20:44             ` Ingo Molnar
2006-11-13 21:11               ` Eric W. Biederman
2006-11-14  8:14                 ` [patch] irq: do not mask interrupts by default Ingo Molnar
2006-11-14  8:20                   ` Arjan van de Ven
2006-11-14 12:43                   ` Komuro
2006-11-14 16:10                   ` Linus Torvalds
2006-11-14 17:52                     ` [PATCH] Use delayed disable mode of ioapic edge triggered interrupts Eric W. Biederman
2006-11-14 23:35                       ` Linus Torvalds
2006-11-15  1:17                       ` Linus Torvalds
2006-11-15  5:14                         ` Eric W. Biederman
2006-11-15 16:06                           ` Linus Torvalds
2006-11-15 16:58                             ` Eric W. Biederman
2006-11-15 12:40                       ` Komuro
     [not found]                     ` <20061115090427.GA16173@elte.hu>
2006-11-15 16:13                       ` [patch] genirq: do not mask interrupts by default Linus Torvalds
2006-11-15 17:46                         ` Ingo Molnar [this message]
2006-11-09  8:04   ` 2.6.19-rc5: known regressions Martin Lorenz
2006-11-09 13:55     ` Martin Lorenz
2006-11-10  7:53       ` Martin Lorenz
2006-11-08  9:43 ` Linux 2.6.19-rc5 Nigel Cunningham
2006-11-08  9:59   ` Alessandro Suardi
2006-11-08 10:04     ` Nigel Cunningham
2006-11-08 14:19     ` Gene Heskett
2006-11-08 15:43   ` Linus Torvalds
2006-11-11  1:50 ` 2.6.19-rc5: known regressions (v2) Adrian Bunk
2006-11-11  9:08   ` [discuss] " Rafael J. Wysocki
2006-11-11  9:25     ` Paolo Ornati
2006-11-11 10:49       ` Rafael J. Wysocki
2006-11-11 12:29         ` Paolo Ornati
2006-11-14 16:44           ` Paolo Ornati
2006-11-29 10:10             ` [SOLVED] " Paolo Ornati
2006-11-13 22:14 ` 2.6.19-rc5: known regressions with patches Adrian Bunk
2006-11-13 22:56   ` Brian King
2006-11-13 23:15     ` Linus Torvalds
2006-11-14  2:35       ` Jeff Garzik
2006-11-15 10:21 ` 2.6.19-rc5: known regressions (v3) Adrian Bunk
2006-11-15 10:35   ` Jens Axboe
2006-11-15 10:53     ` Adrian Bunk
2006-11-15 10:35   ` Eric Dumazet
2006-11-15 10:50     ` Andi Kleen
2006-11-15 16:40       ` William Cohen
2006-11-15 16:48         ` [discuss] " Andi Kleen
2006-11-15 18:39           ` Andrew Morton
2006-11-15 18:45             ` Andi Kleen
2006-11-15 19:07               ` Linus Torvalds
2006-11-15 19:23                 ` Andi Kleen
2006-11-15 20:21                   ` Andrew Morton
2006-11-15 21:18                     ` Eric W. Biederman
2006-11-15 21:31                       ` Andrew Morton
2006-11-16 10:55                         ` Mikael Pettersson
2006-11-16 20:23                           ` Andrew Morton
2006-11-17  9:59                             ` Mikael Pettersson
2006-11-17 10:13                               ` Andrew Morton
2006-11-19  3:05                                 ` Bill Davidsen
2006-11-17 10:29                               ` Andi Kleen
2006-11-16  3:21                     ` Andi Kleen
2006-11-16  5:05                       ` Andrew Morton
2006-11-16  7:04                         ` Andi Kleen
2006-11-16 15:34                           ` William Cohen
2006-11-16 15:47                             ` Andi Kleen
2006-11-16 21:32                             ` Stephane Eranian
2006-11-22 10:28     ` Eric Dumazet
2006-11-22 10:36       ` Andi Kleen
2006-11-22 18:42         ` Andrew Morton
2006-12-16 11:20           ` Ray Lee
2006-11-22 17:59       ` William Cohen
2006-11-22 18:05       ` William Cohen
2006-11-22 18:26         ` Eric Dumazet
2006-11-15 11:06   ` Brice Goglin
2006-11-15 22:32     ` Adrian Bunk
2006-11-15 12:07   ` Alan
2006-11-15 15:52   ` Stephen Hemminger
2006-11-15 16:35     ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2007-01-30  9:33 [patch] genirq: do not mask interrupts by default Ingo Molnar
     [not found] <200702161759.l1GHxsO8010669@hera.kernel.org>
2007-03-27  5:07 ` [PATCH] " Benjamin Herrenschmidt
2007-03-27  5:18   ` Benjamin Herrenschmidt
2007-03-27  7:32     ` Ingo Molnar
2007-03-27  8:04       ` Benjamin Herrenschmidt

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=20061115174604.GA24429@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=ebiederm@xmission.com \
    --cc=komurojun-mbn@nifty.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@osdl.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 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.