]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: Don't attempt to use nonexistent registers on OCTEON III models.
authorDavid Daney <david.daney@cavium.com>
Tue, 9 Feb 2016 19:00:10 +0000 (11:00 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:40 +0000 (14:01 +0200)
commit1b0bc8e1b490f9cc92f08d08e5acdff66d522754
treeb026f41e4de06723a03161a8a2e234e0346311d5
parent878182651a257bc618d70de48f2f79a3a822e9be
MIPS: OCTEON: Don't attempt to use nonexistent registers on OCTEON III models.

Attempts to read the nonexistent registers results in bus errors.
Either use registers that exist, or don't do the access as appropriate.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12502/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/csrc-octeon.c
arch/mips/cavium-octeon/setup.c