RE: [PATCH 0/2] i40e: fix firmware update
From: "Keller, Jacob E" <jacob.e.keller@intel.com>
Date: 2017-09-01 19:19:42
Also in:
intel-wired-lan
-----Original Message----- From: netdev-owner@vger.kernel.org [mailto:netdev-owner@vger.kernel.org] On Behalf Of Stefan Assmann Sent: Friday, September 01, 2017 7:03 AM To: intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org; davem@davemloft.net; Kirsher, Jeffrey T [off-list ref]; sassmann@kpanic.de Subject: [PATCH 0/2] i40e: fix firmware update The first patch fixes the firmware update which is currently broken and results in a bad flash (corrupt firmware). Recovery is possible with a fixed driver. The second patch reverts a commit that causes the firmware checksum verification to fail right after a successful flash. This is related to a recent workqueue change. Haven't gotten to the bottom of this yet, but for the sake of a smooth firmware update experience let's revert the commit for now.
Hi Stefan, Thanks for these patches, I apologize for the time it took for us to respond to this. The first patch is functionally correct, and I'm surprised we missed sending an equivalent ourselves. It looks like some related changes occurred around this code, and we failed to submit the patch. I think Jeff would prefer if we send the version based directly on the out-of-tree code, which I will be reviving and submitting shortly. The second issue I believe is not fixed correctly by the patch, I'm unsure why exactly changing the WQ would cause this but I believe that a similar patch which creates a non-locked version of i40e_nvm_read_buffer() will resolve this, and I will be sending that patch as well, which I believe is the real fix versus halting the work queue. Thanks, Jake
Stefan Assmann (2): i40e: use non-locking i40e_read_nvm_word() function during nvmupdate Revert "i40e: remove WQ_UNBOUND and the task limit of our workqueue" drivers/net/ethernet/intel/i40e/i40e_main.c | 12 +++++------- drivers/net/ethernet/intel/i40e/i40e_nvm.c | 24 ++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 9 deletions(-) -- 2.13.5