public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: QUESTION: Network hangs with BP6 and 2.4.x kernels, hardware
Date: 12 Jan 2001 10:28:33 -0800	[thread overview]
Message-ID: <93nich$1uq$1@penguin.transmeta.com> (raw)
In-Reply-To: <E14H8Ks-0004hA-00@the-village.bc.nu> <3A5F4827.2E443786@colorfullife.com>

In article <3A5F4827.2E443786@colorfullife.com>,
Manfred Spraul  <manfred@colorfullife.com> wrote:
>The processor's local APIC includes an in-service entry and a holding
>entry for each priority level. To avoid losing interrupts, software
>should allocate no more than 2 interrupt vectors per priority.
>>>>>>>>>
>
>Ok, we must reorder the vector numbers for our own interrupts
>(0xfb-0xff), but that doesn't explain our problems: we don't loose
>reschedule interrupts, we have problems with normal interrupts - and
>there we only use 2 irq at the same priority level.
>
>Btw, the kick patch I sent a few minutes ago revives my io apic.

Does this seem to happen mainly with drivers that use "disable_irq()"
and "enable_irq()"? I know the ne drivers do (through the 8390 module),
and some others do too (3c59x). 

"disable_irq()"/"enable_irq()" has always tended to be slightly
problematic.  It's not a set of semantics that maps well onto all
interrupt controllers (io-apic definitely included).  Drivers would
generally be better off if they disabled their own chip from sending
interrupts, rather than disabling the interrupt line the chip is on. 

(Of course, most drivers would be even _better_ off if they didn't play
games with irq disabling at all, but I think the 8390 driver does it
because otherwise it would suck too badly for words). 

If you are seeing this with a 8390 core, try to see if the problem goes
away if you remove the "disable_irq_nosync(dev->irq);" and
"enable_irq()" thing (which means that you need to change the
spinlocking at the same place to use irq-safe versions - this _will_
make for bad interrupt latency especially with ISA ne2000 cards, but it
would be interesting to hear if it makes the problem less likely to
happen). 

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-12 18:29 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-12 17:16 QUESTION: Network hangs with BP6 and 2.4.x kernels, hardware related? Manfred Spraul
2001-01-12 17:33 ` Frank de Lange
2001-01-12 17:51   ` Manfred Spraul
2001-01-12 18:25     ` Frank de Lange
2001-01-12 19:04       ` Manfred Spraul
2001-01-12 19:07         ` Frank de Lange
2001-01-12 19:21         ` Frank de Lange
2001-01-12 19:33           ` Manfred Spraul
2001-01-12 19:52             ` Frank de Lange
2001-01-12 19:59               ` Linus Torvalds
2001-01-12 20:03                 ` Ingo Molnar
2001-01-14  0:13                   ` Roeland Th. Jansen
2001-01-14  0:23                     ` Frank de Lange
2001-01-12 20:05                 ` Frank de Lange
2001-01-12 20:11                 ` QUESTION: Network hangs with BP6 and 2.4.x kernels, hardwarerelated? Manfred Spraul
2001-01-12 20:16                   ` Frank de Lange
2001-01-12 20:19                     ` Ingo Molnar
2001-01-12 20:26                       ` Frank de Lange
2001-01-12 20:31                         ` Ingo Molnar
2001-01-12 20:35                           ` Frank de Lange
2001-01-12 20:37                             ` Ingo Molnar
2001-01-12 20:46                               ` David Woodhouse
2001-01-12 20:46                               ` Frank de Lange
2001-01-12 20:51                                 ` Ingo Molnar
2001-01-12 21:05                                   ` Frank de Lange
2001-01-15  2:00                                     ` Jorge Nerin
2001-01-13  0:15                                 ` Linus Torvalds
2001-01-13  0:19                                   ` Frank de Lange
2001-01-13  0:29                                     ` Alan Cox
2001-01-12 20:54                               ` Manfred Spraul
2001-01-12 21:07                                 ` Frank de Lange
2001-01-12 21:31                                   ` Manfred Spraul
2001-01-12 23:50                           ` Alan Cox
2001-01-12 21:21                 ` QUESTION: Network hangs with BP6 and 2.4.x kernels, hardware related? Frank de Lange
2001-01-12 23:35             ` QUESTION: Network hangs with BP6 and 2.4.x kernels, hardware Alan Cox
2001-01-13  0:06               ` Manfred Spraul
2001-01-13  0:36               ` Linus Torvalds
2001-01-13  0:48                 ` Frank de Lange
2001-01-13  0:56                   ` Linus Torvalds
2001-01-13  1:27                     ` Frank de Lange
2001-01-13  1:51                       ` Manfred Spraul
2001-01-13  2:11                         ` Frank de Lange
2001-01-13  1:49                     ` Jens Axboe
2001-01-13  2:12                     ` Andrew Morton
2001-01-13  2:48                       ` Linus Torvalds
2001-01-13  3:24                         ` Andrew Morton
2001-01-13 12:37                           ` Russell King
2001-01-13 15:18                             ` Call for testers: ne2k-pci and io apic (was: Re: QUESTION: Network hangs with BP6...) Manfred Spraul
2001-01-13 23:55                               ` Manfred Spraul
2001-01-14  0:18                               ` Call for testers: ne2k-pci and io apic J . A . Magallon
2001-01-14  0:23                               ` Call for testers: ne2k-pci and io apic (was: Re: QUESTION: Network hangs with BP6...) J . A . Magallon
2001-01-14  2:14                               ` Call for testers: ne2k-pci and io apic J . A . Magallon
2001-01-15 16:15                     ` QUESTION: Network hangs with BP6 and 2.4.x kernels, hardware Zdenek Kabelac
2001-01-13  1:38                 ` Manfred Spraul
2001-01-13  2:10               ` Andrew Morton
2001-01-12 17:49 ` Alan Cox
2001-01-12 18:08   ` Manfred Spraul
2001-01-12 18:16     ` Ingo Molnar
2001-01-12 18:45       ` Manfred Spraul
2001-01-12 18:48         ` Ingo Molnar
2001-01-12 18:28     ` Linus Torvalds [this message]
2001-01-12 23:27       ` Alan Cox
2001-01-13  0:35         ` Linus Torvalds
2001-01-13  0:43           ` Alan Cox
2001-01-13  0:48             ` Linus Torvalds
2001-01-12 19:05     ` Frank de Lange
2001-01-12 20:04       ` Linus Torvalds
2001-01-15 14:36         ` Roeland Th. Jansen
2001-01-12 22:03   ` Latest status of IDE patches from Andre Jeff Nguyen

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='93nich$1uq$1@penguin.transmeta.com' \
    --to=torvalds@transmeta.com \
    --cc=linux-kernel@vger.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