]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 2 Jan 2019 18:43:01 +0000 (20:43 +0200)
committerPaul Burton <paul.burton@mips.com>
Wed, 2 Jan 2019 22:17:24 +0000 (14:17 -0800)
commitd6e87912401e6f6b1f291339eaeea3f14532f3b9
treef9baa2ba94383ff04f30656736efadeb0a3fee73
parent1aa2271c0b60662f4e34a83ed3113c0b19482f0a
MIPS: OCTEON: mark RGMII interface disabled on OCTEON III

Commit e5b6ebfa1753 ("MIPS: Octeon: Add Octeon III CN7xxx
interface detection") added RGMII interface detection for OCTEON III,
but it results in the following logs:

[    7.165984] ERROR: Unsupported Octeon model in __cvmx_helper_rgmii_probe
[    7.173017] ERROR: Unsupported Octeon model in __cvmx_helper_rgmii_probe

The current RGMII routines are valid only for older OCTEONS that
use GMX/ASX hardware blocks. On later chips AGL should be used,
but support for that is missing in the mainline. Until that is added,
mark the interface as disabled.

Fixes: e5b6ebfa1753 ("MIPS: Octeon: Add Octeon III CN7xxx interface detection")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: stable@vger.kernel.org # 4.7+
arch/mips/cavium-octeon/executive/cvmx-helper.c