lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090801233305.GA31392@linux-mips.org>
Date:	Sun, 2 Aug 2009 00:33:05 +0100
From:	Ralf Baechle <ralf@...ux-mips.org>
To:	Loïc Grenié <loic.grenie@...il.com>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: Strange arch/mips/delay.c

On Sat, Aug 01, 2009 at 07:37:18PM +0200, Loïc Grenié wrote:

>   I could not compile for mips without something similar to the
> following patch. As far as I can say __udelay and __ndelay
> are costly nops (with __ndelay not compiling at all) without
> the patch.
> 
>   At that point, it might be interesting to change
> the 0x00000005uLL by 0x00000045uLL and the >> 32
> by >> 36 (the precision is much better and the cost
> should be the same -- obviously there is a slightly higher
> risk of overlow).

Later versions of the kernel already contain a similar fix.  I've not
propagated MIPS fixes into upstream -stable but the fixes are available
in the -stable branches of the MIPS git repository at
git://git.linux-mips.org/pub/scm/linux.git, the tarballs created from
that repository available for download on {ftp,www}.linux-mips.org  or
on git.kernel.org.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ