/[linux-patches]/genpatches-2.6/trunk/2.6.14/1083_irq-affinity-broken-with-msi.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/1083_irq-affinity-broken-with-msi.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 260 - (show annotations) (download) (as text)
Wed Jan 11 22:08:02 2006 UTC (14 years, 10 months ago) by dsd
File MIME type: text/x-diff
File size: 1174 byte(s)
more stable-queue fixes thanks to kerframil
1 From nobody Mon Sep 17 00:00:00 2001
2 Date: Wed, 30 Nov 2005 03:34:42 +0000 (-0800)
3 Subject: [PATCH] setting irq affinity is broken in ia32 with MSI enabled
4 From: Shaohua Li <shaohua.li@intel.com>
5
6 Setting irq affinity stops working when MSI is enabled. With MSI, move_irq
7 is empty, so we can't change irq affinity. It appears a typo in Ashok's
8 original commit for this issue. X86_64 actually is using move_native_irq.
9
10 Signed-off-by: Shaohua Li <shaohua.li@intel.com>
11 Signed-off-by: Andrew Morton <akpm@osdl.org>
12 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
13 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
14 ---
15 arch/i386/kernel/io_apic.c | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- linux-2.6.14.6.orig/arch/i386/kernel/io_apic.c
19 +++ linux-2.6.14.6/arch/i386/kernel/io_apic.c
20 @@ -1937,7 +1937,7 @@ static void ack_edge_ioapic_vector(unsig
21 {
22 int irq = vector_to_irq(vector);
23
24 - move_irq(vector);
25 + move_native_irq(vector);
26 ack_edge_ioapic_irq(irq);
27 }
28
29 @@ -1952,7 +1952,7 @@ static void end_level_ioapic_vector (uns
30 {
31 int irq = vector_to_irq(vector);
32
33 - move_irq(vector);
34 + move_native_irq(vector);
35 end_level_ioapic_irq(irq);
36 }
37

  ViewVC Help
Powered by ViewVC 1.1.20