linux_dsm_epyc7002/arch/x86/kernel/apic
Michael S. Tsirkin 0ab711ae6a x86/apic: Implement EIO micro-optimization
We know both register and value for eoi beforehand,
so there's no need to check it and no need to do math
to calculate the msr. Saves instructions/branches
on each EOI when using x2apic.

I looked at the objdump output to verify that the
generated code looks right and actually is shorter.

The real improvemements will be on the KVM guest side
though, those come in a later patch.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: gleb@redhat.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/e019d1a125316f10d3e3a4b2f6bda41473f4fb72.1337184153.git.mst@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2012-05-18 09:46:09 +02: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 x86: Conditionally update time when ack-ing pending irqs 2012-05-07 16:25:28 +02: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 x86/apic: Only compile local function if used with !CONFIG_GENERIC_PENDING_IRQ 2012-05-08 11:23:15 +02: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