]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Reverse the order of register accesses to the FAU
authorPaul Martin <paul.martin@codethink.co.uk>
Mon, 30 Mar 2015 16:00:58 +0000 (17:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:22:14 +0000 (17:22 +0200)
commit4e4be605b55fed4cfeb3be144c0acdbc845700e8
tree58603eba4700c568c755117f74287c3e6cd8bccf
parent86d384765f62789cefd2a53ac45b5b3a40de5489
MIPS: Octeon: Reverse the order of register accesses to the FAU

64 bit access is unaffected but for 32 bit access, swap high and
low words.  Similarly for 16 bit access, reverse the order of the
four possible words, and for 8 bit access reverse the order of byte
accesses.

Signed-off-by: Paul Martin <paul.martin@codethink.co.uk>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9630/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/octeon/cvmx-fau.h