]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit8790d1ae13af931fe870d097eb6aa042372bfe67
tree8a2d2bfdb1e38857007d3ce9a06af925698fdc26
parent8d3a86262cf76b39f22d9073057cd5cbc9d687e4
MIPS: OCTEON: mark RGMII interface disabled on OCTEON III

BugLink: https://bugs.launchpad.net/bugs/1837257
commit edefae94b7b9f10d5efe32dece5a36e9d9ecc29e upstream.

Commit 885872b722b7 ("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: 885872b722b7 ("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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/mips/cavium-octeon/executive/cvmx-helper.c