e1000e: Do not take care about recovery NVM checksum
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 18 Jul 2021 04:10:31 +0000 (07:10 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 20 Aug 2021 15:38:01 +0000 (08:38 -0700)
commit4051f68318ca9f3d3becef3b54e70ad2c146df97
treeb1ee956af3eba5eb3ce0fac9045e18f111b437e6
parent44a13a5d99c71bf9e1676d9e51679daf4d7b3d73
e1000e: Do not take care about recovery NVM checksum

On new platforms, the NVM is read-only. Attempting to update the NVM
is causing a lockup to occur. Do not attempt to write to the NVM
on platforms where it's not supported.
Emit an error message when the NVM checksum is invalid.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=213667
Fixes: fb776f5d57ee ("e1000e: Add support for Tiger Lake")
Suggested-by: Dima Ruinskiy <dima.ruinskiy@intel.com>
Suggested-by: Vitaly Lifshits <vitaly.lifshits@intel.com>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c