• E
    [PATCH] genirq: x86_64 irq: Move msi message composition into io_apic.c · 589e367f
    Eric W. Biederman 提交于
    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: NEric 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: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    589e367f
io_apic.c 47.1 KB