]> 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)
commitf254af8dde29391d9ed30cb60ca7137e996d5029
treeca776d2ae616aaa2f697331b90e7009df052b1c1
parentb9cabcacb3e5ff3e1964a994a10edd56c6ed3620
parent0fe697ccda8477624158a40e157d773b511f788e
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>