aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/xen/apic.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-18x86/xen/apic: Add missing #include <xen/xen.h>Ingo Molnar1-1/+4
This file depends on <xen/xen.h>, but the dependency was hidden due to: <asm/acpi.h> -> <asm/trampoline.h> -> <asm/io.h> -> <xen/xen.h> With the removal of <asm/trampoline.h>, this exposed the missing Cc: Len Brown <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: Jeremy Fitzhardinge <[email protected]> Cc: Jarkko Sakkinen <[email protected]> Cc: H. Peter Anvin <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
2012-05-01xen/apic: implement io apic read with hypercallLin Ming1-0/+13
Implements xen_io_apic_read with hypercall, so it returns proper IO-APIC information instead of fabricated one. Fallback to return an emulated IO_APIC values if hypercall fails. [v2: fallback to return an emulated IO_APIC values if hypercall fails] Signed-off-by: Lin Ming <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
2012-05-01xen/x86: Implement x86_apic_opsKonrad Rzeszutek Wilk1-0/+17
Or rather just implement one different function as opposed to the native one : the read function. We synthesize the values. Acked-by: Suresh Siddha <[email protected]> [v1: Rebased on top of tip/x86/urgent] [v2: Return 0xfd instead of 0xff in the default case] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>