2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-21 20:13:58 +08:00
linux-next/arch/x86/kernel/apic
Cyrill Gorcunov 08306ce61d x86: apic - introduce dummy apic operations
Impact: refactor, speed up and robustize code

In case if apic was disabled by kernel option
or by hardware limits we can use dummy operations
in apic->write to simplify the ack_APIC_irq() code.

At the lame time the patch fixes the missed EOI in
do_IRQ function (which has place if kernel is compiled
as X86-32 and interrupt without handler happens where
apic was not asked to be disabled via kernel option).

Note that native_apic_write_dummy() consists of
WARN_ON_ONCE to catch any buggy writes on enabled
APICs. Could be removed after some time of testing.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
LKML-Reference: <20090412165058.724788431@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-04-12 19:23:53 +02:00
..
apic_flat_64.c x86: use default_cpu_mask_to_apicid for 64bit 2009-03-24 22:28:38 +01:00
apic.c x86: apic - introduce dummy apic operations 2009-04-12 19:23:53 +02:00
bigsmp_32.c
es7000_32.c
io_apic.c x86: consolidate SMP code in io_apic.c 2009-04-09 05:13:57 +02:00
ipi.c
Makefile
nmi.c
numaq_32.c
probe_32.c
probe_64.c
summit_32.c
x2apic_cluster.c
x2apic_phys.c
x2apic_uv_x.c sgi-gru: add macros for using the UV hub to send interrupts 2009-04-02 19:05:05 -07:00