Re: bnx2: broken firware loading

From: Baoquan He
Date: Fri Nov 11 2016 - 08:50:21 EST


On 11/11/16 at 08:44am, Jay Rouman wrote:
> The part that confuses me is that the kernels that I use are custom
> configured for a particular machine. I don't use initramfs or even
> allow module loading. All the drivers are actually in the kernel. As
> far as I know, no firmware is loaded. But the regression stops the BNX2
> NIC from being discovered by the kernel. Does this make sense? It
> seems like removing the firmware loading stops the discovery process
> even though no firmware is actually loaded either way.

I tried but didn't find a bnx2 chip spec. Now I post a patches to revert
my previous commit and add a function to only try to hard reset bnx2
chip but not involving firmware issues.

Will wait and see what bnx2 experts will say.

Sorry about the thouble I made to you.

> --
> Jay Rouman (jsr@xxxxxxxxxx)
> Gratiot/Isabella RESD, Ithaca, MI
>
> > On 11/10/16 19:19, Jay Rouman wrote:
> > > Did this get pushed upstream? I see a new patch for 4.8.7 but the BNX2
> > > regression doesn't seem to be fixed. Or am I missing something?
> >
> > I don?t think Baoquan?s patch is ready yet.
> >
> > I guess he will put you in the receivers list, once he sends it for review.
> >
> > As a workaround, you can put the firmware in the initramfs.
> >
> >
> > Kind regards,
> >
> > Paul