[PATCH] powerpc/fsl-booke: Get coherent bit from PTE

Kumar Gala galak at kernel.crashing.org
Thu Mar 18 18:08:27 EST 2010


On Mar 18, 2010, at 2:02 AM, Micha Nelissen wrote:

> Kumar Gala wrote:
>> We shouldn't be always setting 'M' in the TLB entry since its reasonable
>> for somethings to be mapped non-coherent.  The PTE should have 'M' set
>> properly.
> 
> properly = not at all? AFAICS the patch only removes the setting of the bit; so where is that 'M' bit set then?
> 
> Micha

Its set via things like the _PAGE_BASE define in arch/powerpc/include/asm/pte-common.h

- k


More information about the Linuxppc-dev mailing list