OSDN Git Service

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)
commiteaec2efbe4dc6be84165fcbc54238d51aa7e6c30
treeca776d2ae616aaa2f697331b90e7009df052b1c1
parent8e31c47424f7d03d0cc992fe6a9ebfdedf66a709
parent5c5696f3df2acbe738526c7ba76ab7dd38e9ba49
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>