Re: [PATCH 3/3] net: wireless: bcm43xx: big_buffer_sem semaphore to mutex

From: Michael Buesch
Date: Sun Dec 16 2007 - 06:25:40 EST


On Sunday 16 December 2007 10:22:43 Ingo Molnar wrote:
>
> * John W. Linville <linville@xxxxxxxxxxxxx> wrote:
>
> > > It's not that simple. For example, regression testing will be a
> > > major PITA if one needs to switch back and forth from the new driver
> > > to the old one in the process.
> >
> > Not really true -- a single system can easily have firmware installed
> > for b43, b43legacy, and bcm43xx at the same time and switch back and
> > forth between them.
>
> as long as the version 4 firmware blob is present in the system, will
> testers have a fully fluid test- and work-flow when migrating across
> from bcm43xx to b43, without any other changes to an existing Linux
> installation? (i.e. no udev tweaks, no forced upgrades of components,
> etc.)
>
> Will it Just Work in bisection as well, when a tester's kernel
> flip/flops between bcm43xx and b43 - like it does for the other 3000+
> drivers in the kernel?
>
> Note that we are _NOT_ interested in "might" or "can" scenarios. We are
> interested in preserving the _existing_ bcm43xx installed base and how
> much of a seemless migration the b43 transition will be. _THAT_ is what
> the "no regressions" upstream rule is about, not the "ideal distro"
> scenario you outline above. It is YOUR total obligation as a kernel
> maintainer to ensure that you dont break old installations. How hard is
> that to understand? This is not rocket science.

I see no reason for b43 to break, if the firmware is properly installed.
In fact, almost all installation related bugreports we receive are
caused by missing or incorrectly installed firmware.
I would really _like_ to make installing firmware easier or make the
whole need for it vanish, but I simply can not at this point.
But anyway, installing it is not rocket science, either. The only thing
you have to know is where your distribution stores the firmware image files.
If you know that it's a matter of invoking one b43-fwcutter command
to install it. This process can be automated in the distribution's rpm
or deb package scripts.

b43lagacy/ssb is completely featured with module autoload support.
So if you have firmware installed it will automatically load all required
modules and create the network device(s) for it without any user interaction.

If that doesn't work, then stupid distributions are shipping braindamaged
udev scripts that pin a mac address to a specific driver name (see another
mail in this thread). I can _not_ fix this from within the kernel and
I will absolutely shift all responsibility and blame for this to the
maintainers of the distribution's udev scripts.
That's not a b43 specific problem then. Other drivers do break with these
scripts, too.

--
Greetings Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/