Re: [patch] clockevents: drivers for i386, fix #2

From: Andrew Morton
Date: Tue Oct 03 2006 - 23:40:16 EST


On Tue, 3 Oct 2006 12:35:03 +0200
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> add back a mistakenly removed udelay(10) to the PIT initialization
> sequence.
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
> ---
> arch/i386/kernel/i8253.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux/arch/i386/kernel/i8253.c
> ===================================================================
> --- linux.orig/arch/i386/kernel/i8253.c
> +++ linux/arch/i386/kernel/i8253.c
> @@ -45,6 +45,7 @@ static void init_pit_timer(enum clock_ev
> outb_p(0x34, PIT_MODE);
> udelay(10);
> outb_p(LATCH & 0xff , PIT_CH0); /* LSB */
> + udelay(10);
> outb(LATCH >> 8 , PIT_CH0); /* MSB */
> break;
>

Doesn't help.

> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
> > yeah, i suspect it works again if you disable:
> >
> > CONFIG_X86_UP_APIC=y
> > CONFIG_X86_UP_IOAPIC=y
> > CONFIG_X86_LOCAL_APIC=y
> > CONFIG_X86_IO_APIC=y
> >
> > as the slowdown has the feeling of a runaway lapic timer irq.
> >

Disabling IO_APIC doesn't fix the slowdown.

Disabling LOCAL_APIC does fix it.
-
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/