[PATCH 4/20] powerpc/mm: Add opcode definitions for tlbivax and tlbsrx.

Kumar Gala galak at kernel.crashing.org
Fri Jul 24 14:52:23 EST 2009


On Jul 23, 2009, at 5:12 PM, Benjamin Herrenschmidt wrote:

> On Thu, 2009-07-23 at 10:55 -0500, Kumar Gala wrote:
>> On Jul 23, 2009, at 12:59 AM, Benjamin Herrenschmidt wrote:
>>
>>> This adds the opcode definitions to ppc-opcode.h for the two
>>> instructions
>>> tlbivax and tlbsrx. as defined by Book3E 2.06
>>>
>>> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
>>> ---
>>>
>>> arch/powerpc/include/asm/ppc-opcode.h |    6 ++++++
>>> 1 file changed, 6 insertions(+)
>>
>> Do we really have binutils that don't have tlbivax properly at this
>> point?
>
> I don't know for sure, I like being consistent with the rest though
> and so I use those macros for all those MMU opcodes. Also means that
> I have no problem building with my current toolchain without passing
> a specific -mcpu option or anything like that :-)
>
> We can change that back later if you want.

ok, just wondering.. at some point we should decide which way we want  
to go, since we use "tlbivax" today on e500/fsl-booke.

- k


More information about the Linuxppc-dev mailing list