powerpc/mm: Fix _PAGE_COHERENT support on classic ppc32 HW
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Feb 2009 10:57:46 +0000 (10:57 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Feb 2009 05:07:02 +0000 (16:07 +1100)
commitf99fb8a2cbf0fd9ce9b2d5d298943d0d4dc479f7
tree6412544d8bfa43be47dd959a999680c077240d80
parent1db8508cf483dc1ecf66141f90a7c03659d69512
powerpc/mm: Fix _PAGE_COHERENT support on classic ppc32 HW

The following commit:

commit 64b3d0e8122b422e879b23d42f9e0e8efbbf9744
Author: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date:   Thu Dec 18 19:13:51 2008 +0000

    powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED

broke setting of the _PAGE_COHERENT bit in the PPC HW PTE.  Since we now
actually set _PAGE_COHERENT in the Linux PTE we shouldn't be clearing it
out before we propogate it to the PPC HW PTE.

Reported-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/hash_low_32.S