android_kernel_xiaomi_sdm845/arch/i386/xen
Jeremy Fitzhardinge f87e4cac4f xen: SMP guest support
This is a fairly straightforward Xen implementation of smp_ops.

Xen has its own IPI mechanisms, and has no dependency on any
APIC-based IPI.  The smp_ops hooks and the flush_tlb_others pv_op
allow a Xen guest to avoid all APIC code in arch/i386 (the only apic
operation is a single apic_read for the apic version number).

One subtle point which needs to be addressed is unpinning pagetables
when another cpu may have a lazy tlb reference to the pagetable. Xen
will not allow an in-use pagetable to be unpinned, so we must find any
other cpus with a reference to the pagetable and get them to shoot
down their references.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Andi Kleen <ak@suse.de>
2007-07-18 08:47:44 -07:00
..
enlighten.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
events.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
features.c xen: Core Xen implementation 2007-07-18 08:47:42 -07:00
Kconfig xen: SMP guest support 2007-07-18 08:47:44 -07:00
Makefile xen: SMP guest support 2007-07-18 08:47:44 -07:00
mmu.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
mmu.h xen: SMP guest support 2007-07-18 08:47:44 -07:00
multicalls.c xen: Core Xen implementation 2007-07-18 08:47:42 -07:00
multicalls.h xen: Core Xen implementation 2007-07-18 08:47:42 -07:00
setup.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
smp.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
time.c xen: SMP guest support 2007-07-18 08:47:44 -07:00
xen-head.S xen: Core Xen implementation 2007-07-18 08:47:42 -07:00
xen-ops.h xen: SMP guest support 2007-07-18 08:47:44 -07:00