[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140730131600.GA14219@developer>
Date: Wed, 30 Jul 2014 09:16:00 -0400
From: Eduardo Valentin <edubezval@...il.com>
To: Peter Feuerer <peter@...e.net>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Andreas Mohr <andi@...as.de>, Borislav Petkov <bp@...e.de>,
Zhang Rui <rui.zhang@...el.com>,
Javi Merino <javi.merino@....com>
Subject: Re: [PATCH v3 0/6] acerhdf/thermal: adding new models, appropriate
governor and minor clean up
Hello Peter,
On Fri, May 16, 2014 at 12:53:51AM +0200, Peter Feuerer wrote:
> Hi Eduardo,
>
> Eduardo Valentin writes:
>
> > Hello Peter,
> >
> > On Sat, May 03, 2014 at 07:59:20PM +0200, Peter Feuerer wrote:
> >>
> >> Hi,
> >>
> >> This patch series is intended to:
> >>
> >> * Introduce "manual mode" support (Patch 1 & 2), which is needed to control
> >> the fan of a few new models.
> >>
> >> * Add an appropriate thermal governor (Patch 3 & 4). Manipulating and
> >> fiddling around with the step-wise governor has been a very fragile thing
> >> in the past and as it broke again, I used the opportunity to add a two
> >> point thermal governor which implements the actual fan handling required by
> >> acerhdf and puts from my point of view things straight.
> >>
> >
> > Can you please provide more groundings why step_wise is not working?
>
> Step_wise does (or did) not support hysteresis functionality, so what we've
> done in the past was to manipulate the fan handling within acerhdf (e.g.
> reporting different trip temperature, based whether the fan is on or not).
> But this was very fragile and with each change in step_wise we had to find
> another method to somehow fit acerhdf into it again. Step_wise is clearly
> intended for fans which can be regulated in speed and it has some fancy
> algorithms like trend monitoring which work fine there.
>
> But for the audience of acerhdf it has always been overkill and they've noticed
> broken fan control, when things changed in step_wise again.
>
Can you please add your arguments in the commit message and in the code
documentation itself. Explaining the audience why we have an extra
governor is my intention here. My point is for you to improve your patch
description and code documentation with your arguments (above)
explaining the reasons why acerhd needs a special governor.
>
> > I had a look on bang bang proposal patch and to me, at a first glance,
> > step_wise should cover the target behavior. Of course, that also depend
> > on the cooling device you attach to it.
>
> Actually even Rui stated a while ago, creation of a separate governor would be
> one thinkable solution to get a more robust solution for the two step
> regulation of acerhdf.
>
>
> > Is it possible to report the problems you have with step_wise? This way
> > we could benefit the other users of it as well.
>
> There is no problem in step_wise in general. It is just so, that the
> governor is overkill for the simple on-off fan of acerhdf.
>
> And what's the deal of having plugable governors, when you try to fit every
> single feature into one gigantic?
> Aren't the unix philosophies of modularity, serparation and simplicity valid
> in the kernel too?
>
> kind regards,
> --peter;
>
> >
> >
> >
> >
> >> * Do some minor clean up like:
> >> - adding second trip point for critical temperature (Patch 5)
> >> - removing _t suffix from struct which isn't typedef and replace unsigned
> >> char by u8 (Patch 6)
> >>
> >> Thanks and kind regards,
> >> peter
> >>
> >>
> >> Cc: Andrew Morton <akpm@...ux-foundation.org>
> >> Cc: Andreas Mohr <andi@...as.de>
> >> Cc: Borislav Petkov <bp@...e.de>
> >> Cc: Zhang Rui <rui.zhang@...el.com>
> >> Cc: Javi Merino <javi.merino@....com>
> >>
> >>
> >> Peter Feuerer (6):
> >> acerhdf: Adding support for "manual mode"
> >> acerhdf: Adding support for new models
> >> thermal: Added Bang-bang thermal governor
> >> acerhdf: Use bang-bang thermal governor
> >> acerhdf: added critical trip point
> >> acerhdf: minor clean up
> >>
> >> drivers/platform/x86/Kconfig | 2 +-
> >> drivers/platform/x86/acerhdf.c | 260 +++++++++++++++++++++++++---------------
> >> drivers/thermal/Kconfig | 10 ++
> >> drivers/thermal/Makefile | 1 +
> >> drivers/thermal/gov_bang_bang.c | 131 ++++++++++++++++++++
> >> drivers/thermal/thermal_core.c | 5 +
> >> drivers/thermal/thermal_core.h | 8 ++
> >> 7 files changed, 321 insertions(+), 96 deletions(-)
> >> create mode 100644 drivers/thermal/gov_bang_bang.c
> >>
> >> --
> >> 1.9.2
> >>
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> >> the body of a message to majordomo@...r.kernel.org
> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists