All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Backport of lm77.c for 2.4.x
Date: Sat, 17 Dec 2005 17:53:57 +0000	[thread overview]
Message-ID: <20051217185357.6117c026.khali@linux-fr.org> (raw)
In-Reply-To: <1134463317.4459.36.camel@gimli>

Hi Michael,

> > > a. Tcrit and Thyst into two distinct files, or
> > > b. Tcrit and Thyst into one file.
> (...)
> I decided to choose option (a) nevertheless. I felt that having Tcrit
> and Thyst might lead to confusions, making users think that Thyst is
> only related to Tcrit, for example. The driver therefore currently has
> the following proc files: temp, temp_crit, temp_hyst and alarms.

Fine with me.

> > My personal opinion is that this kind of tuning should be done by the
> > BIOS, as the system manufacturer should know whether the fault queue is
> > needed for the hardware combination used and the expected conditions of
> > the system.
> 
> Agreed.
> 
> On the other hand WRAPs don't offer BIOS support for this feature.

And the Linux 2.6 lm77 driver doesn't either. Just because it looks
easier to add it there doesn't mean that's where it really belongs.

> (...) I'm
> not sure if it is needed at all, but it might still be handy for some
> people out there. I made it a compile time decision: when
> LM77_FAULT_QUEUE is defined, the fault queue will be enabled on every
> chip (LM77 only, of course) the driver takes care of. By default that
> feature is turned off.
> 
> Do you think this is an acceptable compromise?

No, it's not. Compilation time options are a pain to deal with.
Distribution kernel builders don't know what to choose, support people
don't know what the user has, and users are not supposed to need a
kernel recompilation every now and then (if they only know how to
compile a kernel.)

If you do not need this feature yourself, I suggest you do not
implement it. Just make sure that the driver will respect the BIOS'
settings.

> Well, it seems that the backport is done then. I'll test the driver a
> bit more locally. If I don't find any further problems/bugs, I'll send
> it to the list during the next days.

OK, great.

> Another question: which is the right place to talk about the scx200_acb
> driver? I've done some modifications of the version that can be found in
> Kernel 2.4.32 so that it correctly recognizes and handles SC1100-based
> systems as well - 2.6.x handles this correctly, but 2.4.x only probes
> for SCx200-type systems.

As this driver is not part of our packages, there's not much we can do.
You may try proposing your patch to Marcelo Tosatti for inclusion into
2.4 mainline, but changes are he will reject it. He is being very
conservative now, he even didn't accept my latest documentation updates
and typo fixes.

Other than that, all you can do is publish your fix as a patch
somewhere on the web where people interested in it are likely to find
it. I have no idea myself where such a place would be.

Thanks,
-- 
Jean Delvare


  parent reply	other threads:[~2005-12-17 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-13  8:41 [lm-sensors] Backport of lm77.c for 2.4.x Michael Renzmann
2005-12-13 20:08 ` Jean Delvare
2005-12-14 16:53 ` Michael Renzmann
2005-12-17 17:53 ` Jean Delvare [this message]
2005-12-19 10:04 ` Michael Renzmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051217185357.6117c026.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.