]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitf1e770cf51fc0567b7d2b1d242b5ab8d23399d09
tree58603eba4700c568c755117f74287c3e6cd8bccf
parentb0abf36ffdc2b7efbb74e02b9dad99b40e85ec3b
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