[PATCH v9 2/4] powerpc: Fixes for CONFIG_PTE_64BIT for SMP support

Becky Bruce becky.bruce at freescale.com
Wed Sep 24 02:13:32 EST 2008


On Sep 18, 2008, at 7:09 PM, Kumar Gala wrote:

> There are some minor issues with support 64-bit PTEs on a 32-bit  
> processor
> when dealing with SMP.
>
> * We need to order the stores in set_pte_at to make sure the flag word
>  is set second.
> * Change pte_clear to use pte_update so only the flag word is cleared
> * Added a WARN_ON to set_pte_at to ensure the pte isn't present for
>  the 64-bit pte/SMP case (to ensure our assumption of this fact).
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>

This looks like what we discussed; and I've rebased my 8641 work on
top of it and am building and booting and LTP-ing like a champ. So....

Acked-by: Becky Bruce <becky.bruce!freescale.com>

Cheers,
B





More information about the Linuxppc-dev mailing list