public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Regression from 2.6.28-rc7: Commit 7cd5b08be3 breaks startup on Toshiba Portege R500
@ 2008-12-03 22:00 Rafael J. Wysocki
  2008-12-03 22:17 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2008-12-03 22:00 UTC (permalink / raw)
  To: Wim Van Sebroeck
  Cc: ACPI Devel Maling List, Andrew Morton, Len Brown, Linus Torvalds,
	LKML

Hi,

The following commit:

commit 7cd5b08be3c489df11b559fef210b81133764ad4
Author: Wim Van Sebroeck <wim@iguana.be>
Date:   Wed Nov 19 19:39:58 2008 +0000

    [WATCHDOG] iTCO_wdt : problem with rebooting on new ICH9 based motherboards

    Bugzilla #9868: On Intel motherboards with the ICH9 based I/O controllers
    (Like DP35DP and DG33FB) the iTCO timer counts but it doesn't reboot the
    system after the counter expires.

    This patch fixes this by moving the enabling & disabling of the TCO_EN bit
    in the SMI_EN register into the start and stop code.

    Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

makes CPU fan spin with full speed and causes hald-addon-acpi to take 100% of
CPU time on Toshiba Portege R500 with openSUSE 11.0 user space.  This starts as
soon as hal starts or thereabouts and never ends, which makes the current
mainline unusable on that box.

Thanks,
Rafael

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

* Re: Regression from 2.6.28-rc7: Commit 7cd5b08be3 breaks startup on Toshiba Portege R500
  2008-12-03 22:00 Regression from 2.6.28-rc7: Commit 7cd5b08be3 breaks startup on Toshiba Portege R500 Rafael J. Wysocki
@ 2008-12-03 22:17 ` Linus Torvalds
  2008-12-03 23:13   ` Frans Pop
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Torvalds @ 2008-12-03 22:17 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Wim Van Sebroeck, ACPI Devel Maling List, Andrew Morton,
	Len Brown, LKML



On Wed, 3 Dec 2008, Rafael J. Wysocki wrote:
> 
> commit 7cd5b08be3c489df11b559fef210b81133764ad4
> Author: Wim Van Sebroeck <wim@iguana.be>
> Date:   Wed Nov 19 19:39:58 2008 +0000
> 
>     [WATCHDOG] iTCO_wdt : problem with rebooting on new ICH9 based motherboards
> 
>     Bugzilla #9868: On Intel motherboards with the ICH9 based I/O controllers
>     (Like DP35DP and DG33FB) the iTCO timer counts but it doesn't reboot the
>     system after the counter expires.
> 
>     This patch fixes this by moving the enabling & disabling of the TCO_EN bit
>     in the SMI_EN register into the start and stop code.
> 
>     Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
> 
> makes CPU fan spin with full speed and causes hald-addon-acpi to take 100% of
> CPU time on Toshiba Portege R500 with openSUSE 11.0 user space.  This starts as
> soon as hal starts or thereabouts and never ends, which makes the current
> mainline unusable on that box.

Hmm. I wonder if the bug is this one-liner (it really looks like an 
idiotic typo).

Can you test?

		Linus
---
 drivers/watchdog/iTCO_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
index 26173a2..5b395a4 100644
--- a/drivers/watchdog/iTCO_wdt.c
+++ b/drivers/watchdog/iTCO_wdt.c
@@ -392,7 +392,7 @@ static int iTCO_wdt_stop(void)
 
 	/* Bit 13: TCO_EN -> 1 = Enables the TCO logic to generate SMI# */
 	val32 = inl(SMI_EN);
-	val32 &= 0x00002000;
+	val32 |= 0x00002000;
 	outl(val32, SMI_EN);
 
 	/* Set the NO_REBOOT bit to prevent later reboots, just for sure */

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

* Re: Regression from 2.6.28-rc7: Commit 7cd5b08be3 breaks startup on Toshiba Portege R500
  2008-12-03 22:17 ` Linus Torvalds
@ 2008-12-03 23:13   ` Frans Pop
  0 siblings, 0 replies; 3+ messages in thread
From: Frans Pop @ 2008-12-03 23:13 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: rjw, wim, linux-acpi, akpm, lenb, linux-kernel

> Hmm. I wonder if the bug is this one-liner (it really looks like an
> idiotic typo).
>
> Can you test?
>
>  drivers/watchdog/iTCO_wdt.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c
> index 26173a2..5b395a4 100644
> --- a/drivers/watchdog/iTCO_wdt.c
> +++ b/drivers/watchdog/iTCO_wdt.c
> @@ -392,7 +392,7 @@ static int iTCO_wdt_stop(void)
>  
>         /* Bit 13: TCO_EN -> 1 = Enables the TCO logic to generate SMI#
> */ val32 = inl(SMI_EN);
> -       val32 &= 0x00002000;
> +       val32 |= 0x00002000;
>         outl(val32, SMI_EN);
>  
>         /* Set the NO_REBOOT bit to prevent later reboots, just for
> sure */

Fixes my X.Org issue (http://lkml.org/lkml/2008/12/3/178).

Cheers,
FJP
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2008-12-03 23:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 22:00 Regression from 2.6.28-rc7: Commit 7cd5b08be3 breaks startup on Toshiba Portege R500 Rafael J. Wysocki
2008-12-03 22:17 ` Linus Torvalds
2008-12-03 23:13   ` Frans Pop

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