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)
commit9bc22239956e3877d085b843bfe89ab2a98ab50a
treeb026f41e4de06723a03161a8a2e234e0346311d5
parent182a6d1cd393226350ec22d973d2139adb194daa
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