summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-04-19 10:04:20 -0700
committerDavid S. Miller <davem@davemloft.net>2023-04-21 08:29:13 +0100
commit49ce92fbee0b6bb8066dddf37489483b3b6b5c25 (patch)
tree1881727acd3a9a76c5ff31ea4c5810a2082f8570 /Documentation
parent01ba61b55b2041a39c54aefb3153c770dd59a0ef (diff)
downloadlinux-stable-49ce92fbee0b6bb8066dddf37489483b3b6b5c25.tar.gz
linux-stable-49ce92fbee0b6bb8066dddf37489483b3b6b5c25.tar.bz2
linux-stable-49ce92fbee0b6bb8066dddf37489483b3b6b5c25.zip
pds_core: add FW update feature to devlink
Add in the support for doing firmware updates. Of the two main banks available, a and b, this updates the one not in use and then selects it for the next boot. Example: devlink dev flash pci/0000:b2:00.0 \ file pensando/dsc_fw_1.63.0-22.tar Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/device_drivers/ethernet/amd/pds_core.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst b/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst
index a48eafb3d0d3..932ac03a3359 100644
--- a/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst
+++ b/Documentation/networking/device_drivers/ethernet/amd/pds_core.rst
@@ -73,6 +73,16 @@ The ``pds_core`` driver reports the following versions
- fixed
- The revision of the ASIC for this device
+Firmware Management
+===================
+
+The ``flash`` command can update a the DSC firmware. The downloaded firmware
+will be saved into either of firmware bank 1 or bank 2, whichever is not
+currently in use, and that bank will used for the next boot::
+
+ # devlink dev flash pci/0000:b5:00.0 \
+ file pensando/dsc_fw_1.63.0-22.tar
+
Health Reporters
================