]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'devlink-add-the-ability-to-update-device-flash'
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:27:39 +0000 (15:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:27:39 +0000 (15:27 -0800)
commite95856ce468c6dc586853b1dc6f2cc0999be805e
treeca776d2ae616aaa2f697331b90e7009df052b1c1
parent765e8ee11c660f89f970a9e9c84e8e13675de045
parent703e9e113a553e25aa2c7e7573b74ad78814dd81
Merge branch 'devlink-add-the-ability-to-update-device-flash'

Jakub Kicinski says:

====================
devlink: add the ability to update device flash

This series is the second step to allow trouble shooting and recovering
devices in bad state without the use of netdevs as handles.  We can
already query FW versions over devlink, now we add the ability to update
the FW.  This will allow drivers to implement some from of "limp-mode"
where the device can't really be used for networking and hence has no
netdev, but we can interrogate it over devlink and fix the broken FW.

Small but nice advantage of devlink is that it only holds the devlink
instance lock during flashing, unlike ethtool which holds rtnl_lock().
====================

Signed-off-by: David S. Miller <davem@davemloft.net>