* [Intel-wired-lan] [PATCH v1 1/1] e1000e: Correct NVM checksum verification flow
@ 2022-02-03 12:21 Sasha Neftin
2022-02-23 7:01 ` naamax.meir
0 siblings, 1 reply; 2+ messages in thread
From: Sasha Neftin @ 2022-02-03 12:21 UTC (permalink / raw)
To: intel-wired-lan
Update MAC type check e1000_pch_tgp because for e1000_pch_cnp,
NVM checksum update is still possible.
Emit a more detailed warning message.
Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1191663
Fixes: 4051f68318ca ("e1000e: Do not take care about recovery NVM checksum")
Reported-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
---
drivers/net/ethernet/intel/e1000e/ich8lan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c
index e298da712758..d60e2016d03c 100644
--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c
+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c
@@ -4140,9 +4140,9 @@ static s32 e1000_validate_nvm_checksum_ich8lan(struct e1000_hw *hw)
return ret_val;
if (!(data & valid_csum_mask)) {
- e_dbg("NVM Checksum Invalid\n");
+ e_dbg("NVM Checksum valid bit not set\n");
- if (hw->mac.type < e1000_pch_cnp) {
+ if (hw->mac.type < e1000_pch_tgp) {
data |= valid_csum_mask;
ret_val = e1000_write_nvm(hw, word, 1, &data);
if (ret_val)
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-wired-lan] [PATCH v1 1/1] e1000e: Correct NVM checksum verification flow
2022-02-03 12:21 [Intel-wired-lan] [PATCH v1 1/1] e1000e: Correct NVM checksum verification flow Sasha Neftin
@ 2022-02-23 7:01 ` naamax.meir
0 siblings, 0 replies; 2+ messages in thread
From: naamax.meir @ 2022-02-23 7:01 UTC (permalink / raw)
To: intel-wired-lan
On 2/3/2022 14:21, Sasha Neftin wrote:
> Update MAC type check e1000_pch_tgp because for e1000_pch_cnp,
> NVM checksum update is still possible.
> Emit a more detailed warning message.
>
> Bugzilla:https://bugzilla.opensuse.org/show_bug.cgi?id=1191663
> Fixes: 4051f68318ca ("e1000e: Do not take care about recovery NVM checksum")
> Reported-by: Thomas Bogendoerfer<tbogendoerfer@suse.de>
> Signed-off-by: Sasha Neftin<sasha.neftin@intel.com>
> ---
> drivers/net/ethernet/intel/e1000e/ich8lan.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20220223/1f83995c/attachment-0001.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-23 7:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-03 12:21 [Intel-wired-lan] [PATCH v1 1/1] e1000e: Correct NVM checksum verification flow Sasha Neftin
2022-02-23 7:01 ` naamax.meir
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.