[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141201201536.GA28914@roeck-us.net>
Date: Mon, 1 Dec 2014 12:15:36 -0800
From: Guenter Roeck <linux@...ck-us.net>
To: Pali Rohár <pali.rohar@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Arnd Bergmann <arnd@...db.de>, lm-sensors@...sensors.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/3] i8k: Rework error retries
On Mon, Dec 01, 2014 at 08:45:59PM +0100, Pali Rohár wrote:
> On Sunday 30 November 2014 22:00:39 Guenter Roeck wrote:
> > Instead of returning a previous value if the SMM code returns
> > an error when trying to read a temperature, retry once.
> > If that fails again, return -ENODATA. Also return -ENODATA if
> > an attempt is made to read the GPU temperature but the GPU is
> > currently turned off.
> >
> > Drop the I8K_TEMPERATURE_BUG definition and handle the related
> > bug unconditionally.
> >
> > Cc: Pali Rohár <pali.rohar@...il.com>
> > Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> > ---
> > Applies on top of Pali's patch series.
> >
> > drivers/char/i8k.c | 47
> > ++++++++++++++++++++++++----------------------- 1 file
> > changed, 24 insertions(+), 23 deletions(-)
> >
>
> Working fine GPU temp (turned on or off).
>
> Tested-by: Pali Rohár <pali.rohar@...il.com>
>
Thanks a lot for testing!
Guenter
--
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