[PATCH] powerpc/fsl-booke: Use HW PTE format if CONFIG_PTE_64BIT
Kumar Gala
galak at kernel.crashing.org
Wed Sep 2 16:02:53 EST 2009
On Sep 2, 2009, at 12:48 AM, Benjamin Herrenschmidt wrote:
> On Tue, 2009-09-01 at 20:48 -0500, Kumar Gala wrote:
>> Switch to using the Power ISA defined PTE format when we have a 64-
>> bit
>> PTE. This makes the code handling between fsl-booke and book3e-64
>> similiar for TLB faults.
>>
>> Additionally this lets use take advantage of the page size
>> encodings and
>> full permissions that the HW PTE defines.
>>
>> Also defined _PMD_PRESENT, _PMD_PRESENT_MASK, and _PMD_BAD since the
>> 32-bit ppc arch code expects them.
>
> No immediate problem with the patch, though I can't test it so I
> assume you did :-)
Yes, I tested it.
> Is this 2.6.32 material ? I'm going to stick it into my test branch
> for now regardless.
Yes this is .32 material
- k
More information about the Linuxppc-dev
mailing list