]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Unify opcode definitions and support
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Feb 2009 20:10:44 +0000 (20:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:56 +0000 (10:48 +1100)
commitea659a2b99665a95ac518e370dcd5f1ae528d200
tree115045916a264f56f55751ce2948d59e03b16c0c
parentfa59098087eece2866a57e9354e1b6289bdb1d36
powerpc: Unify opcode definitions and support

Create a new header that becomes a single location for defining PowerPC
opcodes used by code that is either generationg instructions
at runtime (fixups, debug, etc.), emulating instructions, or just
compiling instructions old assemblers don't know about.

We currently don't handle the floating point emulation or alignment decode
as both are better handled by the specific decode support they already
have.

Added support for the new dcbzl, dcbal, msgsnd, tlbilx, & wait instructions
since older assemblers don't know about them.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/code-patching.h
arch/powerpc/include/asm/ppc-opcode.h [new file with mode: 0644]
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/crash_dump.c
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/ftrace.c
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/module_64.c
arch/powerpc/kernel/traps.c
arch/powerpc/lib/feature-fixups.c