bnx2x: New FW and support for 578xx
Subsystems (2)
cover bnx2x: New FW and support for 578xx
In reply to a message not in the archiveDave, pls., consider applying this patch series.
This patch series introduce support for the new 578x0 chip series and therefore includes new 7.0.20 FW:
1) New LINK code.
2) Absolutely new HSI that allows supporting different chips in more
consolidated way, which caused a significant changes in the driver code including moving the HSI handling code into a spearate files (patches 11 and 12).
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up: we DO NOT patch firmware/WHENCE and firmware/Makefile files in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.
If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
You may alsofind these patches at our public site.
net-next series at http://linux.broadcom.com/eilong/1.70.00-0/ New FW at http://linux.broadcom.com/eilong/FW-7.0.20.0/
Thanks,
vlad
David Miller
maintainerFrom: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300
Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up: we DO NOT patch
firmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
David Woodhouse, what do you think we should do here?
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Otherwise people won't be able to git bisect properly, and that sucks.
Quoted 12 lines · On Tuesday 14 June 2011 18:54:02 David Miller wrote:
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up:
we DO NOT patchfirmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
Quoted 6 lines
David Woodhouse, what do you think we should do here?
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Otherwise people won't be able to git bisect properly, and that sucks.
Dave, as long as /lib/firmware contains all existing firmwares there should be no problems, isn't it?
thanks,
vlad
David Miller
maintainerFrom: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 19:22:40 +0300
Quoted 15 lines · On Tuesday 14 June 2011 18:54:02 David Miller wrote:
Quoted 14 lines
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up:
we DO NOT patchfirmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
David Woodhouse, what do you think we should do here?
Quoted 7 lines
Quoted 4 lines
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Otherwise people won't be able to git bisect properly, and that sucks.
Dave, as long as
/lib/firmwarecontains all existing firmwares there should be no problems, isn't it?
You're saying above that the driver will compile but not work in net-next-2.6 until the FW is integrated, that's not acceptable, the tree must be fully bisectable for people trying to track down bugs.
Which is it?
Quoted 23 lines · David Miller
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 19:22:40 +0300Quoted 20 lines · On Tuesday 14 June 2011 18:54:02 David Miller wrote:
Quoted 18 lines
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up:
we DO NOT patchfirmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
David Woodhouse, what do you think we should do here?
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Otherwise people won't be able to git bisect properly, and that sucks.
Quoted 9 lines
Quoted 2 lines
Dave, as long as
/lib/firmwarecontains all existing firmwares there should be no problems, isn't it?You're saying above that the driver will compile but not work in net-next-2.6 until the FW is integrated, that's not acceptable, the tree must be fully bisectable for people trying to track down bugs.
Which is it?
If the firmware is not integrated into net-next-2.6, the newly patched driver won't work. You get an error at run time saying the firmware is not available.
When David Woodhouse integrates the firmware and a new firmware rpm is made available for users, then the new driver will work.
David Miller
maintainerFrom: "Michael Chan" <[email protected]>
Date: Tue, 14 Jun 2011 10:35:53 -0700
Quoted 6 lines
If the firmware is not integrated into net-next-2.6, the newly patched driver won't work. You get an error at run time saying the firmware is not available.
When David Woodhouse integrates the firmware and a new firmware rpm is made available for users, then the new driver will work.
This is terrible.
Quoted 12 lines · David Miller
From: "Michael Chan" <[email protected]>
Date: Tue, 14 Jun 2011 10:35:53 -0700Quoted 6 lines
If the firmware is not integrated into net-next-2.6, the newly patched driver won't work. You get an error at run time saying the firmware is not available.
When David Woodhouse integrates the firmware and a new firmware rpm is made available for users, then the new driver will work.
This is terrible.
Another option is that the person that wills to run a bisect has to start with pulling the latest linux-firmware git, copying its contents into the /lib/firmware and then start a bisect.
This requires some sync between Dave and David: David should always be the first to integrate a new FW and only then Dave should inegrate a driver patch series with the support for this new FW. The responsibility for the ordering should be on the driver owner: in our case, i shouldn't be sending a net-next patch series until the linux-firmware patch is applied.
It doesn't sound that terrible price for having a kernel tree clean from binaries blobs... ;)
Vlad
David Miller
maintainerFrom: "Vladislav Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 11:32:04 -0700
Quoted 6 lines
This requires some sync between Dave and David: David should always be the first to integrate a new FW and only then Dave should inegrate a driver patch series with the support for this new FW. The responsibility for the ordering should be on the driver owner: in our case, i shouldn't be sending a net-next patch series until the linux-firmware patch is applied.
Ok, then let's get this propagated into David's firmware tree.
Quoted 2 lines · David Miller
Quoted 2 lines
When David Woodhouse integrates the firmware and a new firmware rpm is made available for users, then the new driver will work.
Tarballs are made daily, as soon as the firmware is submitted (which doesn't have to wait until the driver is patched). There is no issue with bisecting, because any ABI change in the firmware means a *new* firmware file which can be instslled in *parallel*.
Quoted 1 line
This is terrible.
Nonsense. It just means you want to be using an up-to-date copy of the firmware, which is hardly a problem.
Signature · 1 line
dwmw2
Quoted 1 line · David Miller
Ok, then let's get this propagated into David's firmware tree.
If there's a git-binary patch in my mailbox that I can apply when I get home in a few hours, I'll do it immediately. Bwh also has access now, too.
Signature · 1 line
dwmw2
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300
Quoted 1 line
Dave, pls., consider applying this patch series.
Applied to net-next-2.6
Quoted 12 lines · David Miller
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up: we DO NOT patch
firmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
Quoted 6 lines
David Woodhouse, what do you think we should do here?
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Otherwise people won't be able to git bisect properly, and that sucks.
Hmm, I probably missed something obvious, but my dev machine (one HPG6 blade in a distant datacenter) fails to init its bnx2x interfaces with current net-next-2.6
Can't load firmware file bnx2x/bnx2x-e1h-7.0.23.0.fw
Quoted 18 lines · Eric Dumazet
Quoted 17 lines · David Miller
From: "Vlad Zolotarov" <[email protected]>
Date: Tue, 14 Jun 2011 14:32:31 +0300Quoted 8 lines
We also send the new FW files to David Woodhouse. It's the first time we submit to the linux-firmware git so I hope we don't mess the things up: we DO NOT patch
firmware/WHENCEandfirmware/Makefilefiles in our net-next patches and we patch the WHENCE file in the linux-firmware patch. Dave, pls., confirm if it's a correct procedure.If it is, pls., note that the bnx2x driver will compile but won't work until u integrate the new FW into the kernel tree.
David Woodhouse, what do you think we should do here?
I'm inclined to integrate the firmware into net-next-2.6 since this is the only way to keep the driver working consistently.
Quoted 8 lines
Quoted 1 line
Otherwise people won't be able to git bisect properly, and that sucks.
Hmm, I probably missed something obvious, but my dev machine (one HPG6 blade in a distant datacenter) fails to init its bnx2x interfaces with current net-next-2.6
Can't load firmware file bnx2x/bnx2x-e1h-7.0.23.0.fw
You are missing the FW git fromgit://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
You need to get it separately since the FW is not part of the kernel git now.
Regards,
Eilon
Quoted 7 lines · Eilon Greenstein
Quoted 5 lines · Eric Dumazet
Hmm, I probably missed something obvious, but my dev machine (one HPG6 blade in a distant datacenter) fails to init its bnx2x interfaces with current net-next-2.6
Quoted 7 lines
Quoted 1 line
Can't load firmware file bnx2x/bnx2x-e1h-7.0.23.0.fw
You are missing the FW git from
git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.gitYou need to get it separately since the FW is not part of the kernel git now.
I knew it was obvious, thanks Eilon, this works better now !