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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Oct 2006 12:35:03 +0200
Ingo Molnar <[email protected]> wrote:

> 
> add back a mistakenly removed udelay(10) to the PIT initialization
> sequence.
> 
> Signed-off-by: Ingo Molnar <[email protected]>
> ---
>  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 <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux