Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 04 Aug 2003 18:28:51 +0100 (BST) Received: from gateway-1237.mvista.com ([IPv6:::ffff:12.44.186.158]:65274 "EHLO av.mvista.com") by linux-mips.org with ESMTP id ; Mon, 4 Aug 2003 18:28:47 +0100 Received: from zeus.mvista.com (av [127.0.0.1]) by av.mvista.com (8.9.3/8.9.3) with ESMTP id KAA01341; Mon, 4 Aug 2003 10:28:44 -0700 Subject: Re: udelay From: Pete Popov To: Ralf Baechle Cc: Linux MIPS mailing list In-Reply-To: <20030804014132.GA4419@linux-mips.org> References: <1059788948.9224.62.camel@zeus.mvista.com> <20030804014132.GA4419@linux-mips.org> Content-Type: text/plain Organization: MontaVista Software Message-Id: <1060018159.9217.93.camel@zeus.mvista.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 04 Aug 2003 10:29:20 -0700 Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 2981 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ppopov@mvista.com Precedence: bulk X-list: linux-mips On Sun, 2003-08-03 at 18:41, Ralf Baechle wrote: > On Fri, Aug 01, 2003 at 06:49:08PM -0700, Pete Popov wrote: > > > Looks like the latest udelay in 2.4 is borked. Anyway else notice that > > problem? I did a 10 sec test: mdelay works, udelay is broken, at least > > for the CPU and toolchain I'm using. > > That just doesn't make sense. Mdelay is based on udelay so if udelay > is broken mdelay should be broken, too. I think the problem may be occurring when udelay is used with very large values, like 10000. I've told the developer that that's not recommended and to use mdelays in that case. Pete