linux_dsm_epyc7002/arch/x86/kernel/apic
Michael S. Tsirkin 1551df646d apic: add apic_set_eoi_write for PV use
KVM PV EOI optimization overrides eoi_write apic op with its own
version. Add an API for this to avoid meddling with core x86 apic driver
data structures directly.

For KVM use, we don't need any guarantees about when the switch to the
new op will take place, so it could in theory use this API after SMP init,
but it currently doesn't, and restricting callers to early init makes it
clear that it's safe as it won't race with actual APIC driver use.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
2012-07-16 12:51:23 +03:00
..
apic_flat_64.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
apic_noop.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
apic_numachip.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
apic.c apic: add apic_set_eoi_write for PV use 2012-07-16 12:51:23 +03:00
bigsmp_32.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
es7000_32.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
hw_nmi.c x86, nmi: Wire up NMI handlers to new routines 2011-10-10 06:56:57 +02:00
io_apic.c Merge branch 'delete-mca' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2012-05-23 17:12:06 -07:00
ipi.c x86: Always use x86_cpu_to_logical_apicid for cpu -> logical apic id 2011-01-28 14:54:05 +01:00
Makefile x86: Add NumaChip support 2011-12-05 17:17:24 +01:00
numaq_32.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
probe_32.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
probe_64.c x86, apic: Make apic drivers static 2011-05-22 11:48:04 +02:00
summit_32.c x86/apic: Add apic->eoi_write() callback 2012-05-18 09:46:08 +02:00
x2apic_cluster.c x86/apic: Implement EIO micro-optimization 2012-05-18 09:46:09 +02:00
x2apic_phys.c x86/apic: Implement EIO micro-optimization 2012-05-18 09:46:09 +02:00
x2apic_uv_x.c x86/apic: Implement EIO micro-optimization 2012-05-18 09:46:09 +02:00