Skip to content

Add support to download EEE firmware for the 57766

Nithin Nayak Sujir netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6tg3: Add new FW_TSO flagdrivers/net/ethernet/broadcom/tg3.c drivers/net/ethernet/broadcom/tg3.h+8 -80 replies
2/6tg3: Refactor cpu pause/resume codedrivers/net/ethernet/broadcom/tg3.c+58 -250 replies
3/6tg3: Refactor the 2nd type of cpu pausedrivers/net/ethernet/broadcom/tg3.c+27 -260 replies
4/6tg3: Cleanup firmware parsing codedrivers/net/ethernet/broadcom/tg3.c drivers/net/ethernet/broadcom/tg3.h+34 -360 replies
5/6tg3: Enhance firmware download code to support fragmented firmwaredrivers/net/ethernet/broadcom/tg3.c+42 -60 replies
6/6tg3: Download 57766 EEE service patch firmwaredrivers/net/ethernet/broadcom/tg3.c drivers/net/ethernet/broadcom/tg3.h+128 -160 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBenjamin Li
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] Add support to download EEE firmware for the 57766

For the 57766 devices with no NVRAM, there is not enough space for the complete boot code with EEE support. On these devices, the tg3 driver has to download a service patch firmware to the scratchpad for the boot code to execute. This patchset adds support to do the above.

A major portion of this patchset is refactoring the existing firmware download section to allow a cleaner merge of the 57766 download. The 57766 firmware differs from previous firmware in that it's not written to a contiguous area in memory. It consists of multiple fragments to be written to different locations. The patchset makes an attempt to make the new firmware format to be an extension of the existing format.

Matt Carlson (1):
tg3: Add new FW_TSO flag

Nithin Nayak Sujir (5):
tg3: Refactor cpu pause/resume code
tg3: Refactor the 2nd type of cpu pause
tg3: Cleanup firmware parsing code
tg3: Enhance firmware download code to support fragmented firmware
tg3: Download 57766 EEE service patch firmware

 drivers/net/ethernet/broadcom/tg3.c | 378 ++++++++++++++++++++++++++----------
 drivers/net/ethernet/broadcom/tg3.h |  18 +-
 2 files changed, 288 insertions(+), 108 deletions(-)
Signature · 1 line
1.8.1.4