aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorFaidon Liambotis <[email protected]>2013-07-11 21:08:09 +0000
committerRalf Baechle <[email protected]>2013-07-19 11:04:54 +0200
commitab2bb148c5932712d2717a7f3a452846f07a660a (patch)
tree67874c78f05b8126b284abdd0bc50ea13c5dc76c /tools/perf/util/trace-event-scripting.c
parentf2a5b1d78c076c525d20176d227faf2e6a20257c (diff)
MIPS: Octeon: Fix DT pruning bug with pip ports
During the pruning of the device tree octeon_fdt_pip_iface() is called for each PIP interface and every port up to the port count is removed from the device tree. However, the count was set to the return value of cvmx_helper_interface_enumerate() which doesn't actually return the count but just returns zero on success. This effectively removed *all* ports from the tree. Use cvmx_helper_ports_on_interface() instead to fix this. This successfully restores the 3 ports of my ERLite-3 and fixes the "kernel assigns random MAC addresses" issue. Signed-off-by: Faidon Liambotis <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Acked-by: David Daney <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/5587/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions