* [Linux-ia64] [PATCH] iosapic fix
@ 2003-04-15 10:59 Takayoshi Kochi
0 siblings, 0 replies; only message in thread
From: Takayoshi Kochi @ 2003-04-15 10:59 UTC (permalink / raw)
To: linux-ia64
[-- 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-04-15 10:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-15 10:59 [Linux-ia64] [PATCH] iosapic fix Takayoshi Kochi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox