• Eric W. Biederman's avatar
    [PATCH] genirq: i386 irq: Move msi message composition into io_apic.c · 2d3fcc1c
    Eric W. Biederman authored
    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: default avatarEric 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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2d3fcc1c
msi.h 326 Bytes