Skip to content
Commit 8e963ae0 authored by Sudarsana Reddy Kalluru's avatar Sudarsana Reddy Kalluru Committed by Paul Gortmaker
Browse files

qed: Populate nvm-file attributes while reading nvm config partition.



commit 13cf8aab upstream.

NVM config file address will be modified when the MBI image is upgraded.
Driver would return stale config values if user reads the nvm-config
(via ethtool -d) in this state. The fix is to re-populate nvm attribute
info while reading the nvm config values/partition.

Changes from previous version:
-------------------------------
v3: Corrected the formatting in 'Fixes' tag.
v2: Added 'Fixes' tag.

Fixes: 1ac4329a ("qed: Add configuration information to register dump and debug data")
Signed-off-by: default avatarSudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
[PG: include p_hwfn definition from v5.4-rc1~131^2~104^2~1.]
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.co>
parent d2500c84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment