public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Problem with restricted I2C algorithms in kernel 2.6.26!
@ 2008-08-07 21:34 mkrufky
  2008-08-08  0:17 ` Stefan Richter
  2008-08-08  9:28 ` Jean Delvare
  0 siblings, 2 replies; 17+ messages in thread
From: mkrufky @ 2008-08-07 21:34 UTC (permalink / raw)
  To: khali; +Cc: sam, user.kernel, linux-kernel, i2c

Jean Delvare wrote:
> Hi Michael,
>
> On Thu, 7 Aug 2008 15:03:36 -0400, Michael Krufky wrote:
>   
>> I agree with Trent and D.Kelly
>>
>> These options should be made available to the user -- We should go
>> with the patch that Jean posted, "Subject: i2c: Let users select
>> algorithm drivers manually again" -- this is a fair compromise for
>> both sides -- users that dont know should leave the automatic
>> selection enabled.  Users that know better can disable the automatic
>> selection and enable what they need.
>>
>> The statement, "just have the external driver merged into the kernel"
>> is not a solution.
>>     
>
> Why not, please? A vast majority of drivers work fine that way today. I
> am still waiting for someone to give me a good reason why some other
> drivers supposedly can't be merged upstream (something better than
> "believe me, it's impossible".)
>
>   

Nobody said that a driver "...can't be merged upstream" ...  but 
REQUIRING a driver to be merged upstream to allow development and / or 
testing is a problem, IMHO.

If you required that all of my development happens within a git 
development repository, preventing me from working against distro-kernel 
xyz, then I would simply spend more time on Windows driver development 
and my Linux contributions would cease.

External subsystem development repositories allow us to work against 
stable kernels at our own pace.  When driver X is ready to be merged, it 
gets merged.

With the model that you propose, "use linux-next for development" ... 
well then what about testing?  Who is going to test my driver if it 
requires a full kernel compile?

Khali, you know me, and you know that I am always in favor of merging 
drivers into the kernel.  The ability to choose a kernel's features is 
an option that should not be removed.

>> Removing the option to build those additional algos is a regression, IMHO
>>     
>
> Will be addressed soon, do not worry.
Regards,

Mike

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Problem with restricted I2C algorithms in kernel 2.6.26!
@ 2008-07-16 19:33 D. Kelly
  2008-07-26  6:59 ` Andrew Morton
  2008-08-07 11:13 ` Jean Delvare
  0 siblings, 2 replies; 17+ messages in thread
From: D. Kelly @ 2008-07-16 19:33 UTC (permalink / raw)
  To: mailing list: linux-kernel

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=3845de25c5f83cd52729570f7b501679d37ca8de

The patch at the preceeding url disables the users ability to select
I2C algorithms.  Specifically the reason stated was:

"The algorithm drivers are
helper drivers that are selected automatically
as needed. There's no point in listing them in the config menu, it can
only confuse users and waste their time."

The algorithm drivers will not be 'selected automatically as needed'
if the user is compiling something outside of the kernel that requires
them!  Just one example, there are drivers found in the V4L dvb driver
tree that require i2c bit-banging be enabled.  The drivers are now
broken because the user is not allowed to enable bit-banging himself.
The only way around this is to revert the patch manually or enable
something else in the kernel, that he doesn't need, just to get
bit-banging.

It's a very bad idea to assume that nothing built outside of the
kernel may need i2c algorithms.  Furthermore, the whole point of being
able to customize your kernel is so you can select only the things
which you need.  It makes no good sense to intentionally
disable/restrict the users ability to do so.  Additionally, assuming
the ability to select i2c algorithms will only confuse the user and
waste their time is ridiculous.  The user should be allowed to decide
for himself what he needs regarding this!

One of the biggest reasons people choose to compile things from
cvs/svn/mercurial/etc. is because it gives them access to newer bug
fixes and support for things not yet present in the kernel source.  A
perfect example, the multiproto dvb driver tree.  Users wanting
support for dvb-s2 devices have to compile drivers outside of the
kernel because it's simply not available in the kernel and won't be
for some time.

I've contacted one of the i2c subsystem maintainers, Jean Delvare, but
unfortunately he doesn't seem to care about this problem and his
advice in dealing with it is to "Just get these drivers merged in the
kernel. Ah ah ah!"...

Clearly the more sane and reasonable solution is to not cripple the
menu options in the first place, especially when it creates no benefit
and only serves to limit/restrict the users ability to select what he
needs.  I'm asking that the patch be reverted and anyone in agreement
to please voice their opinion here in public.

Best regards,
-Derek

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

end of thread, other threads:[~2008-08-10 11:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 21:34 Problem with restricted I2C algorithms in kernel 2.6.26! mkrufky
2008-08-08  0:17 ` Stefan Richter
2008-08-08  9:28 ` Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2008-07-16 19:33 D. Kelly
2008-07-26  6:59 ` Andrew Morton
2008-08-07 11:13 ` Jean Delvare
2008-08-07 16:01   ` [i2c] " Trent Piepho
2008-08-07 16:14     ` Jean Delvare
2008-08-07 17:19       ` Jean Delvare
2008-08-07 17:29         ` Randy Dunlap
2008-08-07 23:41       ` Trent Piepho
2008-08-08  9:37         ` Jean Delvare
2008-08-08 17:52           ` Trent Piepho
2008-08-10 11:07             ` Adrian Bunk
2008-08-07 18:39   ` Sam Ravnborg
2008-08-07 18:49     ` Jean Delvare
2008-08-07 19:03       ` Michael Krufky
2008-08-07 21:06         ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox