diff options
author | Aaro Koskinen <aaro.koskinen@nsn.com> | 2013-11-01 17:06:04 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-23 13:02:34 +0100 |
commit | b2e4f1560f7388f8157dd2c828211abbfad0e806 (patch) | |
tree | 3f4b6d6755e8ba4330cd69451554ef997a9fe67b /security/tomoyo | |
parent | 8b75e77048a378339ada86eff548a5b253212859 (diff) | |
download | linux-b2e4f1560f7388f8157dd2c828211abbfad0e806.tar.bz2 |
MIPS: cavium-octeon: fix early boot hang on EBH5600 board
The boot hangs early on EBH5600 board when octeon_fdt_pip_iface() is
trying enumerate a non-existant interface. The actual hang happens in
cvmx_helper_interface_get_mode():
mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface));
when interface == 4. We can avoid this situation by first checking that
the interface exists in the DTB.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6101/
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions