2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-06 12:44:14 +08:00
linux-next/drivers/net/ethernet/broadcom/bnx2x
Yuval Mintz 0ea853dfa9 bnx2x: Free NVRAM lock at end of each page
Writing each 4Kb page into flash might take up-to ~100 miliseconds,
during which time management firmware cannot acces the nvram for its
own uses.

Firmware upgrade utility use the ethtool API to burn new flash images
for the device via the ethtool API, doing so by writing several page-worth
of data on each command. Such action might create problems for the
management firmware, as the nvram might not be accessible for a long time.

This patch changes the write implementation, releasing the nvram lock on
the completion of each page, allowing the management firmware time to
claim it and perform its own required actions.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-10 14:31:59 -07:00
..
bnx2x_cmn.c bnx2x: Prevent null pointer dereference on SKB release 2015-08-10 14:31:58 -07:00
bnx2x_cmn.h bnx2x: fix DMA API usage 2015-06-28 20:25:01 -07:00
bnx2x_dcb.c bnx2x: Code cleanup 2014-08-22 12:31:15 -07:00
bnx2x_dcb.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_dump.h bnx2x: ethtool -d might cause timeout in log 2014-08-25 17:30:21 -07:00
bnx2x_ethtool.c bnx2x: Free NVRAM lock at end of each page 2015-08-10 14:31:59 -07:00
bnx2x_fw_defs.h bnx2x: Utilize FW 7.10.51 2014-08-22 12:31:15 -07:00
bnx2x_fw_file_hdr.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_hsi.h bnx2x: Count number of link changes 2015-03-31 13:34:10 -04:00
bnx2x_init_ops.h bnx2x: update MAINTAINERS for bnx2x and e-mail addresses 2014-05-30 17:04:26 -07:00
bnx2x_init.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
bnx2x_link.c bnx2x: Correct speed from baseT into KR. 2015-06-25 06:30:33 -07:00
bnx2x_link.h bnx2x: Fix link problems for 1G SFP RJ45 module 2014-09-05 17:28:37 -07:00
bnx2x_main.c bnx2x: fix lockdep splat 2015-06-28 17:03:27 -07:00
bnx2x_mfw_req.h
bnx2x_reg.h bnx2x: Configure IFir et al. according to nvram 2015-03-31 13:34:10 -04:00
bnx2x_sp.c bnx2x: Prevent false warning when accessing MACs 2015-06-25 06:30:34 -07:00
bnx2x_sp.h bnx2x: Use correct fastpath version for VFs. 2014-12-09 14:29:10 -05:00
bnx2x_sriov.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-04-15 09:00:47 -07:00
bnx2x_sriov.h bnx2x: Use correct fastpath version for VFs. 2014-12-09 14:29:10 -05:00
bnx2x_stats.c bnx2x: Move statistics implementation into semaphores 2015-06-01 12:04:31 -07:00
bnx2x_stats.h bnx2x: Fix statistics locking scheme 2015-03-23 22:38:24 -04:00
bnx2x_vfpf.c bnx2x: merge fp->disable_tpa with fp->mode 2015-04-29 14:48:35 -04:00
bnx2x_vfpf.h bnx2x: Use correct fastpath version for VFs. 2014-12-09 14:29:10 -05:00
bnx2x.h bnx2x: fix DMA API usage 2015-06-28 20:25:01 -07:00
Makefile