]> Pileus Git - ~andy/linux/commit
x86, io_apic: Introduce x86_io_apic_ops.disable()
authorJoerg Roedel <joro@8bytes.org>
Wed, 26 Sep 2012 10:44:35 +0000 (12:44 +0200)
committerJoerg Roedel <joro@8bytes.org>
Mon, 28 Jan 2013 09:48:30 +0000 (10:48 +0100)
commit1c4248ca4e783e47cc34e313d9f82b4ea52774cc
treee64dba1b95ad1ed8bbf6b3bb6cd0ec893d3c7d9c
parent336224ba5e4fb42a95d02ab0aa0fdff21649bb38
x86, io_apic: Introduce x86_io_apic_ops.disable()

This function pointer is used to call a system-specific
function for disabling the IO-APIC. Currently this is used
for IRQ remapping which has its own disable routine.

Also introduce the necessary infrastructure in the interrupt
remapping code to overwrite this and other function pointers
as necessary by interrupt remapping.

Signed-off-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/io_apic.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/apic/io_apic.c
arch/x86/kernel/x86_init.c
drivers/iommu/irq_remapping.c