]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/ioapic: Add io_apic_ops driver layer to allow interception
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 22 Mar 2012 02:58:08 +0000 (22:58 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 18:23:26 +0000 (14:23 -0400)
commit14b2bc2e616111e880f8c1c47f617588dd798669
treecfaeec57751b5f018bcc4b9094f9cf8e4210dedc
parentb27fce218592143d3fef3ee06e80517ad8623c45
x86/ioapic: Add io_apic_ops driver layer to allow interception

Xen dom0 needs to paravirtualize IO operations to the IO APIC,
so add a io_apic_ops for it to intercept.  Do this as ops
structure because there's at least some chance that another
paravirtualized environment may want to intercept these.

[upstream git commit 136d249ef7dbf0fefa292082cc40be1ea864cbd6]
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: jwboyer@redhat.com
Cc: yinghai@kernel.org
Link: http://lkml.kernel.org/r/1332385090-18056-2-git-send-email-konrad.wilk@oracle.com
[ Made all the affected code easier on the eyes ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Conflicts:

arch/x86/kernel/apic/io_apic.c
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c