]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] genirq: x86_64 irq: Move msi message composition into io_apic.c
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 4 Oct 2006 09:16:42 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:28 +0000 (07:55 -0700)
commit680913c27e19974561cc3a1c917766d31029cdba
tree3ad393830c94a146553b459468f0f3a72702b4d6
parent0695c60575be996c1ebef394243c28ac05e42333
[PATCH] genirq: x86_64 irq: Move msi message composition into io_apic.c

This removes the hardcoded assumption that irq == vector in the msi
composition code, and it allows the msi message composition to setup logical
mode, or lowest priorirty delivery mode as we do for other apic interrupts,
and with the same selection criteria.

Basically this moves the problem of what is in the msi message into the
architecture irq management code where it belongs.  Not in a generic layer
that doesn't have enough information to compose msi messages properly.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Rajesh Shah <rajesh.shah@intel.com>
Cc: Andi Kleen <ak@muc.de>
Cc: "Protasevich, Natalie" <Natalie.Protasevich@UNISYS.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/io_apic.c
include/asm-x86_64/msi.h
include/asm-x86_64/msidef.h [new file with mode: 0644]