All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michel Dänzer" <michel@daenzer.net>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Jan Engelhardt <jengelh@inai.de>,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Ben Hutchings <ben@decadent.org.uk>
Subject: Re: therm_pm72 units, interface
Date: Fri, 02 Aug 2013 12:03:36 +0200	[thread overview]
Message-ID: <1375437816.3852.12.camel@thor.local> (raw)
In-Reply-To: <20130720203346.GM14385@blackmetal.musicnaut.iki.fi>

On Sam, 2013-07-20 at 23:33 +0300, Aaro Koskinen wrote:
> Hi,
>=20
> On Sat, Jul 20, 2013 at 09:16:49AM +1000, Benjamin Herrenschmidt wrote:
> > On Fri, 2013-07-19 at 20:43 +0300, Aaro Koskinen wrote:
> > > I booted a Xserve today with 3.11-rc1, and noticed the noise is comin=
g
> > > from slots-fan (PCI fan?) which is always 99%, although the slots-tem=
p is
> > > just 33. Is it on purpose the rm31 slots PID params are totally diffe=
rent
> > > from therm_pm72 slots params? It seems like they have been copied fro=
m
> > > pm72 "drive bay" PID params instead.
> >=20
> > Could be my mistake. What happens if you change them to match the old c=
ode ?
>=20
> I tried the change below (use SLOTS_PID_* values from therm_pm72.h),
> and the noise level is considerably lower. The slots-fan stays at 19%,
> and slots-temp rises to 42'C but not higher after running couple of hours=
.
>=20
> diff --git a/drivers/macintosh/windfarm_rm31.c b/drivers/macintosh/windfa=
rm_rm31.c
> index 0b9a79b..82fc86a 100644
> --- a/drivers/macintosh/windfarm_rm31.c
> +++ b/drivers/macintosh/windfarm_rm31.c
> @@ -439,15 +439,15 @@ static void backside_setup_pid(void)
> =20
>  /* Slots fan */
>  static const struct wf_pid_param slots_param =3D {
> -	.interval	=3D 5,
> -	.history_len	=3D 2,
> -	.gd		=3D 30 << 20,
> -	.gp		=3D 5 << 20,
> -	.gr		=3D 0,
> -	.itarget	=3D 40 << 16,
> -	.additive	=3D 1,
> -	.min		=3D 300,
> -	.max		=3D 4000,
> +	.interval	=3D 1,
> +	.history_len	=3D 20,
> +	.gd		=3D 0,
> +	.gp		=3D 0,
> +	.gr		=3D 0x00100000,
> +	.itarget	=3D 3200000,
> +	.additive	=3D 0,
> +	.min		=3D 20,
> +	.max		=3D 100,
>  };
> =20
>  static void slots_fan_tick(void)

Could a similar change fix the same problem on desktop G5s? The same
values for slots_param in windfarm_pm112.c don't help, unfortunately.


--=20
Earthling Michel D=C3=A4nzer           |                   http://www.amd.c=
om
Libre software enthusiast         |          Debian, X and DRI developer

  parent reply	other threads:[~2013-08-02 10:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15 17:53 therm_pm72 units, interface Jan Engelhardt
2012-08-15 21:35 ` Benjamin Herrenschmidt
2012-08-16 15:24   ` Jan Engelhardt
2012-08-16 20:51     ` Benjamin Herrenschmidt
2012-08-17 13:51       ` Jan Engelhardt
2012-08-17 20:17         ` Benjamin Herrenschmidt
2012-08-17 14:23       ` Jan Engelhardt
2012-08-15 21:36 ` Benjamin Herrenschmidt
2013-01-17 14:38   ` Jan Engelhardt
2013-01-17 23:38     ` Benjamin Herrenschmidt
2013-07-19 17:43       ` Aaro Koskinen
2013-07-19 23:16         ` Benjamin Herrenschmidt
2013-07-20 20:33           ` Aaro Koskinen
2013-07-20 23:42             ` Benjamin Herrenschmidt
2013-08-02 10:03             ` Michel Dänzer [this message]
2013-08-02 12:51               ` Benjamin Herrenschmidt
2013-08-02 14:47                 ` Michel Dänzer
2013-08-02 15:58                   ` Aaro Koskinen
2013-08-02 16:52                     ` Michel Dänzer
2013-08-02 21:02                       ` Benjamin Herrenschmidt
2013-08-05  9:13                         ` Michel Dänzer
2013-08-05  9:22                           ` Benjamin Herrenschmidt
2013-08-05 10:32                             ` Michel Dänzer
2013-08-05 10:53                               ` Benjamin Herrenschmidt
2013-09-27 15:44                                 ` Michel Dänzer
2013-08-02 20:47                   ` Benjamin Herrenschmidt
2013-08-02 20:56                     ` Ben Hutchings
2013-08-02 21:04                       ` Benjamin Herrenschmidt

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=1375437816.3852.12.camel@thor.local \
    --to=michel@daenzer.net \
    --cc=aaro.koskinen@iki.fi \
    --cc=ben@decadent.org.uk \
    --cc=jengelh@inai.de \
    --cc=linuxppc-dev@lists.ozlabs.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.