]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 7 Mar 2016 10:49:56 +0000 (11:49 +0100)
commit908cd863dff2321ebcc70f1fc039e9a73723fd2e
treead37e37172c1e1476b3ac45d36fa291773a6af7d
parente1b3265f8f857aa8effb01acf48478839c3448d7
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