From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilbo.ozlabs.org (bilbo.ozlabs.org [203.10.76.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bilbo.ozlabs.org", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 1C9D6DDE0A for ; Tue, 28 Apr 2009 22:40:34 +1000 (EST) From: Michael Neuling To: Kumar Gala Subject: Re: [PATCH 2/2] powerpc: Add 2.06 tlbie mnemonics In-reply-to: References: <20090428050338.221EF1EA0F4@localhost.localdomain> Date: Tue, 28 Apr 2009 22:40:30 +1000 Message-ID: <30284.1240922430@neuling.org> Cc: Paul Mackerras , Milton Miller , linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kumar, > > From: Milton Miller > > > > 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 > > Signed-off-by: Michael Neuling > > --- > > > > 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? Yep a missing quilt add. Thanks > > > 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 Sorry, I obviously just stuck my crap in there without looking at the nice macros I could use. Repost coming. Mikey