netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
       [not found] ` <BD3F7F1EFBA6D54DB056C4FFA451400809D2C13864@SJEXCHCCR01.corp.ad.broadcom.com>
@ 2011-06-14 11:32   ` Vlad Zolotarov
  2011-06-14 15:54     ` David Miller
  2011-06-15 15:09     ` David Miller
  0 siblings, 2 replies; 14+ messages in thread
From: Vlad Zolotarov @ 2011-06-14 11:32 UTC (permalink / raw)
  To: Dave Miller, Michael Chan,
	Bhanu (Venkata Bhanu Prakash) Gollapudi
  Cc: Eilon Greenstein, netdev@vger.kernel.org, Dmitry Kravkov,
	Yaniv Rosner, David Woodhouse

Dave, 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 11:32   ` [PATCH net-next 0/24] bnx2x: New FW and support for 578xx Vlad Zolotarov
@ 2011-06-14 15:54     ` David Miller
  2011-06-14 16:22       ` Vlad Zolotarov
  2011-07-18  9:48       ` Eric Dumazet
  2011-06-15 15:09     ` David Miller
  1 sibling, 2 replies; 14+ messages in thread
From: David Miller @ 2011-06-14 15:54 UTC (permalink / raw)
  To: vladz; +Cc: mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner, dwmw2

From: "Vlad Zolotarov" <vladz@broadcom.com>
Date: Tue, 14 Jun 2011 14:32:31 +0300

> 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.

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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 15:54     ` David Miller
@ 2011-06-14 16:22       ` Vlad Zolotarov
  2011-06-14 17:32         ` David Miller
  2011-07-18  9:48       ` Eric Dumazet
  1 sibling, 1 reply; 14+ messages in thread
From: Vlad Zolotarov @ 2011-06-14 16:22 UTC (permalink / raw)
  To: David Miller
  Cc: Michael Chan, Bhanu (Venkata Bhanu Prakash) Gollapudi,
	Eilon Greenstein, netdev@vger.kernel.org, Dmitry Kravkov,
	Yaniv Rosner, dwmw2@infradead.org

On Tuesday 14 June 2011 18:54:02 David Miller wrote:
> From: "Vlad Zolotarov" <vladz@broadcom.com>
> Date: Tue, 14 Jun 2011 14:32:31 +0300
> 
> > 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.
> 
> 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 16:22       ` Vlad Zolotarov
@ 2011-06-14 17:32         ` David Miller
  2011-06-14 17:35           ` Michael Chan
  0 siblings, 1 reply; 14+ messages in thread
From: David Miller @ 2011-06-14 17:32 UTC (permalink / raw)
  To: vladz; +Cc: mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner, dwmw2

From: "Vlad Zolotarov" <vladz@broadcom.com>
Date: Tue, 14 Jun 2011 19:22:40 +0300

> On Tuesday 14 June 2011 18:54:02 David Miller wrote:
>> From: "Vlad Zolotarov" <vladz@broadcom.com>
>> Date: Tue, 14 Jun 2011 14:32:31 +0300
>> 
>> > 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.
>> 
>> 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?

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?

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 17:32         ` David Miller
@ 2011-06-14 17:35           ` Michael Chan
  2011-06-14 17:46             ` David Miller
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Chan @ 2011-06-14 17:35 UTC (permalink / raw)
  To: David Miller
  Cc: Vladislav Zolotarov, Bhanu (Venkata Bhanu Prakash) Gollapudi,
	Eilon Greenstein, netdev@vger.kernel.org, Dmitry Kravkov,
	Yaniv Rosner, dwmw2@infradead.org


On Tue, 2011-06-14 at 10:32 -0700, David Miller wrote:
> From: "Vlad Zolotarov" <vladz@broadcom.com>
> Date: Tue, 14 Jun 2011 19:22:40 +0300
> 
> > On Tuesday 14 June 2011 18:54:02 David Miller wrote:
> >> From: "Vlad Zolotarov" <vladz@broadcom.com>
> >> Date: Tue, 14 Jun 2011 14:32:31 +0300
> >> 
> >> > 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.
> >> 
> >> 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?
> 
> 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.



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 17:35           ` Michael Chan
@ 2011-06-14 17:46             ` David Miller
  2011-06-14 18:32               ` Vladislav Zolotarov
  2011-06-14 18:52               ` David Woodhouse
  0 siblings, 2 replies; 14+ messages in thread
From: David Miller @ 2011-06-14 17:46 UTC (permalink / raw)
  To: mchan; +Cc: vladz, bprakash, eilong, netdev, dmitry, yaniv.rosner, dwmw2

From: "Michael Chan" <mchan@broadcom.com>
Date: Tue, 14 Jun 2011 10:35:53 -0700

> 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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 17:46             ` David Miller
@ 2011-06-14 18:32               ` Vladislav Zolotarov
  2011-06-14 18:33                 ` David Miller
  2011-06-14 18:52               ` David Woodhouse
  1 sibling, 1 reply; 14+ messages in thread
From: Vladislav Zolotarov @ 2011-06-14 18:32 UTC (permalink / raw)
  To: David Miller
  Cc: Michael Chan, Bhanu (Venkata Bhanu Prakash) Gollapudi,
	Eilon Greenstein, netdev@vger.kernel.org, Dmitry Kravkov,
	Yaniv Rosner, dwmw2@infradead.org



On 14 ביונ 2011, at 20:47, "David Miller" <davem@davemloft.net> wrote:

> From: "Michael Chan" <mchan@broadcom.com>
> Date: Tue, 14 Jun 2011 10:35:53 -0700
> 
>> 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 18:32               ` Vladislav Zolotarov
@ 2011-06-14 18:33                 ` David Miller
  2011-06-14 19:23                   ` David Woodhouse
  0 siblings, 1 reply; 14+ messages in thread
From: David Miller @ 2011-06-14 18:33 UTC (permalink / raw)
  To: vladz; +Cc: mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner, dwmw2

From: "Vladislav Zolotarov" <vladz@broadcom.com>
Date: Tue, 14 Jun 2011 11:32:04 -0700

> 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.

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 17:46             ` David Miller
  2011-06-14 18:32               ` Vladislav Zolotarov
@ 2011-06-14 18:52               ` David Woodhouse
  1 sibling, 0 replies; 14+ messages in thread
From: David Woodhouse @ 2011-06-14 18:52 UTC (permalink / raw)
  To: David Miller; +Cc: mchan, vladz, bprakash, eilong, netdev, dmitry, yaniv.rosner

On Tue, 14 Jun 2011, David Miller wrote:

> > 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*.

> 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.

-- 
dwmw2


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 18:33                 ` David Miller
@ 2011-06-14 19:23                   ` David Woodhouse
  0 siblings, 0 replies; 14+ messages in thread
From: David Woodhouse @ 2011-06-14 19:23 UTC (permalink / raw)
  To: David Miller; +Cc: vladz, mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner

On Tue, 14 Jun 2011, David Miller wrote:

> 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.

-- 
dwmw2


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 11:32   ` [PATCH net-next 0/24] bnx2x: New FW and support for 578xx Vlad Zolotarov
  2011-06-14 15:54     ` David Miller
@ 2011-06-15 15:09     ` David Miller
  1 sibling, 0 replies; 14+ messages in thread
From: David Miller @ 2011-06-15 15:09 UTC (permalink / raw)
  To: vladz; +Cc: mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner, dwmw2

From: "Vlad Zolotarov" <vladz@broadcom.com>
Date: Tue, 14 Jun 2011 14:32:31 +0300

> Dave, pls., consider applying this patch series.

Applied to net-next-2.6

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-06-14 15:54     ` David Miller
  2011-06-14 16:22       ` Vlad Zolotarov
@ 2011-07-18  9:48       ` Eric Dumazet
  2011-07-18  9:55         ` Eilon Greenstein
  1 sibling, 1 reply; 14+ messages in thread
From: Eric Dumazet @ 2011-07-18  9:48 UTC (permalink / raw)
  To: David Miller
  Cc: vladz, mchan, bprakash, eilong, netdev, dmitry, yaniv.rosner,
	dwmw2

Le mardi 14 juin 2011 à 11:54 -0400, David Miller a écrit :
> From: "Vlad Zolotarov" <vladz@broadcom.com>
> Date: Tue, 14 Jun 2011 14:32:31 +0300
> 
> > 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.
> 
> 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




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-07-18  9:48       ` Eric Dumazet
@ 2011-07-18  9:55         ` Eilon Greenstein
  2011-07-18 10:09           ` Eric Dumazet
  0 siblings, 1 reply; 14+ messages in thread
From: Eilon Greenstein @ 2011-07-18  9:55 UTC (permalink / raw)
  To: Eric Dumazet
  Cc: David Miller, Vladislav Zolotarov, Michael Chan,
	Bhanu (Venkata Bhanu Prakash) Gollapudi, netdev@vger.kernel.org,
	Dmitry Kravkov, Yaniv Rosner, dwmw2@infradead.org

On Mon, 2011-07-18 at 02:48 -0700, Eric Dumazet wrote:
> Le mardi 14 juin 2011 à 11:54 -0400, David Miller a écrit :
> > From: "Vlad Zolotarov" <vladz@broadcom.com>
> > Date: Tue, 14 Jun 2011 14:32:31 +0300
> > 
> > > 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.
> > 
> > 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

You are missing the FW git from
git://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





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [PATCH net-next 0/24] bnx2x: New FW and support for 578xx
  2011-07-18  9:55         ` Eilon Greenstein
@ 2011-07-18 10:09           ` Eric Dumazet
  0 siblings, 0 replies; 14+ messages in thread
From: Eric Dumazet @ 2011-07-18 10:09 UTC (permalink / raw)
  To: eilong
  Cc: David Miller, Vladislav Zolotarov, Michael Chan,
	Bhanu (Venkata Bhanu Prakash) Gollapudi, netdev@vger.kernel.org,
	Dmitry Kravkov, Yaniv Rosner, dwmw2@infradead.org

Le lundi 18 juillet 2011 à 12:55 +0300, Eilon Greenstein a écrit :
> On Mon, 2011-07-18 at 02:48 -0700, Eric Dumazet wrote:

> > 
> > 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 from
> git://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.

I knew it was obvious, thanks Eilon, this works better now !



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-07-18 10:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201106141213.34576.vladz@broadcom.com>
     [not found] ` <BD3F7F1EFBA6D54DB056C4FFA451400809D2C13864@SJEXCHCCR01.corp.ad.broadcom.com>
2011-06-14 11:32   ` [PATCH net-next 0/24] bnx2x: New FW and support for 578xx Vlad Zolotarov
2011-06-14 15:54     ` David Miller
2011-06-14 16:22       ` Vlad Zolotarov
2011-06-14 17:32         ` David Miller
2011-06-14 17:35           ` Michael Chan
2011-06-14 17:46             ` David Miller
2011-06-14 18:32               ` Vladislav Zolotarov
2011-06-14 18:33                 ` David Miller
2011-06-14 19:23                   ` David Woodhouse
2011-06-14 18:52               ` David Woodhouse
2011-07-18  9:48       ` Eric Dumazet
2011-07-18  9:55         ` Eilon Greenstein
2011-07-18 10:09           ` Eric Dumazet
2011-06-15 15:09     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).