From: Ducrot Bruno <ducrot@poupinou.org>
To: Sergio Visinoni <piffio@arklinux.org>
Cc: "Grover, Andrew" <andrew.grover@intel.com>,
linux-kernel@vger.kernel.org, acpi-devel@sourceforge.net
Subject: Re: [ACPI] [TRIVIAL] Re: [PATCH] ACPI update (20030122)
Date: Fri, 24 Jan 2003 16:51:01 +0100 [thread overview]
Message-ID: <20030124155101.GZ18109@poup.poupinou.org> (raw)
In-Reply-To: <20030124032222.A9061@piffio.homelinux.org>
On Fri, Jan 24, 2003 at 03:22:22AM +0100, Sergio Visinoni wrote:
> * Grover, Andrew (andrew.grover@intel.com) wrote:
> > (2.4) S4BIOS support (Ducrot Bruno)
>
> Attached is the missing s4bios portion (the
> acpi_enter_sleep_state_s4bios function ) + fixes to make it
> build correctly on a 2.4.20 tree.
>
> It should apply correctly on 2.4.21-pre3 as well (not tested).
>
It should be OK (I think..)
Appart the following chunk:
--- linux-2.4.20/drivers/acpi/hardware/hwsleep.c.s4bios~ 2003-01-24 02:35:41.000000000 +0100
+++ linux-2.4.20/drivers/acpi/hardware/hwsleep.c 2003-01-24 02:35:53.000000000 +0100
@@ -339,6 +387,8 @@
ACPI_FUNCTION_TRACE ("acpi_leave_sleep_state");
+ /* Be sure to have BM arbitration */
+ status = acpi_set_register (ACPI_BITREG_ARB_DISABLE, 0, ACPI_MTX_LOCK);
/* Ensure enter_sleep_state_prep -> enter_sleep_state ordering */
@@ -371,8 +421,5 @@
return_ACPI_STATUS (status);
}
- /* Disable BM arbitration */
- status = acpi_set_register (ACPI_BITREG_ARB_DISABLE, 0, ACPI_MTX_LOCK);
-
return_ACPI_STATUS (status);
}
which is a bug fix for a different purpose.
We can not trust the bios when we have to enter the _WAK method.
Those we re-enable the BM arbitration before (the comment Disable
is actually a mistake).
Cheers,
--
Ducrot Bruno
-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.
next prev parent reply other threads:[~2003-01-24 15:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-23 22:44 Grover, Andrew
2003-01-24 0:00 ` Dave Jones
2003-01-24 0:10 ` Halil Demirezen
2003-01-24 2:22 ` [TRIVIAL] " Sergio Visinoni
2003-01-24 15:51 ` Ducrot Bruno [this message]
2003-01-24 13:09 ` Alvaro Lopes
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=20030124155101.GZ18109@poup.poupinou.org \
--to=ducrot@poupinou.org \
--cc=acpi-devel@sourceforge.net \
--cc=andrew.grover@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=piffio@arklinux.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®