mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexander Rauth <Alexander.Rauth@promotion-ie.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: ACPI Developers <acpi-devel@lists.sourceforge.net>
Subject: [PATCH] Re: acpi shutdown problem on SMP (tyan tiger mp, athlon)
Date: Mon, 16 Aug 2004 11:23:18 +0200	[thread overview]
Message-ID: <1092648198.8494.7.camel@pro30.local.promotion-ie.de> (raw)
In-Reply-To: <1092376617.8529.13.camel@pro30.local.promotion-ie.de>

Hi

This patch fixes poweroff on my Tyan Tiger S2460 - AMP 760 MP mainboard.
I also test ist on my UP ACPI systems and none broke.

Please verify if it breaks poweroff on other systems.

Alexander

diff -u -r -N linux-2.6.8.1/drivers/acpi/hardware/hwsleep.c
linux-2.6.8.1-acpifix/drivers/acpi/hardware/hwsleep.c
--- linux-2.6.8.1/drivers/acpi/hardware/hwsleep.c	2004-08-16
09:53:05.000000000 +0200
+++ linux-2.6.8.1-acpifix/drivers/acpi/hardware/hwsleep.c	2004-08-16
10:00:41.257905209 +0200
@@ -284,6 +284,11 @@
 		if (ACPI_FAILURE (status)) {
 			return_ACPI_STATUS (status);
 		}
+	} else {
+		status = acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK);
+		if (ACPI_FAILURE (status)) {
+		return_ACPI_STATUS (status);
+		}
 	}
 
 	/*

Am Fr, den 13.08.2004 schrieb Alexander Rauth um 7:56:
> this problem first appeared in vanilla-2.6.2 and is still present in
> vanilla-2.6.8-rc4 (vanilla-2.6.1 worked fine)
> 
> on shutdown the disks spin down, the VGA switches to powersave, but the
> cpu-fans and the power-supply won't power down.



  parent reply	other threads:[~2004-08-16  9:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-13  5:56 Alexander Rauth
2004-08-16  9:16 ` [PATCH] " alex
2004-08-16  9:23 ` Alexander Rauth [this message]
2004-08-20  5:28 ` alex

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=1092648198.8494.7.camel@pro30.local.promotion-ie.de \
    --to=alexander.rauth@promotion-ie.de \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®