Re: [RFC][PATCH 2/3]i386,x86-64 Handle missing local APIC timerinterrupts on C3 state

From: Zwane Mwaikambo
Date: Fri Dec 09 2005 - 03:01:16 EST


On Thu, 8 Dec 2005, Venkatesh Pallipadi wrote:

> Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we
> disable local APIC timer and switch to using a broadcast from external timer
> interrupt (IRQ 0).
>
> Index: linux-2.6.15-rc3/include/asm-i386/apic.h
> ===================================================================
> --- linux-2.6.15-rc3.orig/include/asm-i386/apic.h
> +++ linux-2.6.15-rc3/include/asm-i386/apic.h
> @@ -132,6 +132,11 @@ extern unsigned int nmi_watchdog;
>
> extern int disable_timer_pin_1;
>
> +void smp_send_timer_broadcast_ipi(struct pt_regs *regs);
> +void switch_APIC_timer_to_ipi(void *cpumask);
> +void switch_ipi_to_APIC_timer(void *cpumask);

When is this used?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/