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

Zwane Mwaikambo
2005-12-09T08:01:08Z

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?