From: Takayoshi Kochi <kochi@hpc.bs1.fc.nec.co.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] [PATCH] iosapic fix
Date: Tue, 15 Apr 2003 10:59:42 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590723705504@msgid-missing> (raw)
[-- Attachment #1: Type: Text/Plain, Size: 226 bytes --]
Hi,
This patch fixes waste of interrupt vector pool by not
allocating an interrupt vector to a GSI which has no corresponding
IO SAPIC.
Tested on NEC TX7 and BigSur.
Thanks,
---
Takayoshi Kochi <kochi@hpc.bs1.fc.nec.co.jp>
[-- Attachment #2: iosapic.c.diff --]
[-- Type: Text/Plain, Size: 377 bytes --]
--- linux/arch/ia64/kernel/iosapic.c.orig Tue Apr 15 19:41:22 2003
+++ linux/arch/ia64/kernel/iosapic.c Tue Apr 15 19:39:19 2003
@@ -709,6 +709,9 @@
vector = gsi_to_vector(gsi);
if (vector < 0) {
+ if (find_iosapic(gsi) < 0)
+ continue;
+
/* allocate a vector for this interrupt line */
if (pcat_compat && (gsi < 16))
vector = isa_irq_to_vector(gsi);
reply other threads:[~2003-04-15 10:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=marc-linux-ia64-105590723705504@msgid-missing \
--to=kochi@hpc.bs1.fc.nec.co.jp \
--cc=linux-ia64@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