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: Sudarsana Reddy Kalluru <skalluru@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> [PG: include p_hwfn definition from v5.4-rc1~131^2~104^2~1.] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.co>
Please register or sign in to comment