[PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics
Kumar Gala
galak at kernel.crashing.org
Tue Apr 28 22:05:00 EST 2009
On Apr 28, 2009, at 12:03 AM, Michael Neuling wrote:
> From: Milton Miller <miltonm at bga.com>
>
> This adds the PowerPC 2.06 tlbie mnemonics and keeps backwards
> compatibilty for CPUs before 2.06.
>
> Only useful for bare metal systems.
>
> Signed-off-by: Milton Miller <miltonm at bga.com>
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> ---
>
> arch/powerpc/include/asm/ppc-opcode.h | 3 +++
> arch/powerpc/kernel/cputable.c | 6 ++++--
> arch/powerpc/mm/hash_native_64.c | 11 +++++++++--
did you miss the update to mmu.h to add MMU_FTR_TLBIE_206?
> 3 files changed, 16 insertions(+), 4 deletions(-)
>
> Index: linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h
> ===================================================================
> --- linux-2.6-ozlabs.orig/arch/powerpc/include/asm/ppc-opcode.h
> +++ linux-2.6-ozlabs/arch/powerpc/include/asm/ppc-opcode.h
> @@ -79,4 +79,7 @@
> #define PPC_WAIT(w) stringify_in_c(.long PPC_INST_WAIT | \
> __PPC_WC(w))
>
> +#define TLBIE(lp,a) \
> + stringify_in_c(.long 0x7c000264 | ((a) << 11) | ((lp) << 21))
> +
Can you match the format of the file and define a PPC_INST_TLBIE
- k
More information about the Linuxppc-dev
mailing list