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

Re: [patches] powerpc 8xx dcbz problem



On Mon, 4 Jun 2007, Nathan Sidwell wrote:

> The 8xx PowerPC series processors have a problem with the dcbz instruction,
> which is used in memset calls.  They do not correctly indicate the fault
> address, should a page fault be signaled.  The Linux kernel tries to guess,
> but can guess wrong.  In particular we found it consistently guessing wrong
> for a particular ld.so.1 on the first call to memset.
> 
> This patch amends the startup code to check for an 8xx processor, and if so,
> clear a newly created __memset_cache_line_size to prevent dcbz's use.
> 
> ok?

This is OK for trunk/2.6/2.5 unless Steve Munroe sees anything wrong with 
it.

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx