From: Len Brown <lenb@kernel.org>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, william.morrow@amd.com,
jordan.crouse@amd.com, luming.yu@intel.com,
robert.moore@intel.com
Subject: Re: [patch 01/19] ACPI: Clear GPE before disabling it
Date: Fri, 22 Dec 2006 21:15:50 -0500 [thread overview]
Message-ID: <200612222115.50505.lenb@kernel.org> (raw)
In-Reply-To: <200612192056.kBJKu9BE010008@shell0.pdx.osdl.net>
NAK
Per previous discussions, I continue to have no plans to apply this patch as it stands,
and am awaiting reply from the author if the latest ACPICA code
works properly on their machine without this patch.
thanks,
-Len
On Tuesday 19 December 2006 15:56, akpm@osdl.org wrote:
> From: William Morrow <william.morrow@amd.com>
>
> On some BIOSen, the GPE bit will remain set even if it is disabled,
> resulting in a interrupt storm. This patch clears the bit before disabling
> it.
>
> Signed-off-by: William Morrow <william.morrow@amd.com>
> Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
> Cc: "Yu, Luming" <luming.yu@intel.com>
> Cc: "Brown, Len" <len.brown@intel.com>
> Cc: "Moore, Robert" <robert.moore@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/acpi/events/evgpe.c | 14 +++++++++++++-
> 1 files changed, 13 insertions(+), 1 deletion(-)
>
> diff -puN drivers/acpi/events/evgpe.c~acpi-clear-gpe-before-disabling-it drivers/acpi/events/evgpe.c
> --- a/drivers/acpi/events/evgpe.c~acpi-clear-gpe-before-disabling-it
> +++ a/drivers/acpi/events/evgpe.c
> @@ -677,10 +677,22 @@ acpi_ev_gpe_dispatch(struct acpi_gpe_eve
> case ACPI_GPE_DISPATCH_METHOD:
>
> /*
> - * Disable GPE, so it doesn't keep firing before the method has a
> + * Clear GPE, so it doesn't keep firing before the method has a
> * chance to run.
> */
> + status = acpi_hw_clear_gpe(gpe_event_info);
> + if (ACPI_FAILURE(status)) {
> + ACPI_EXCEPTION((AE_INFO, status,
> + "Unable to clear GPE[%2X]",
> + gpe_number));
> + return_UINT32(ACPI_INTERRUPT_NOT_HANDLED);
> + }
> + /*
> + * Disable GPE, so it doesn't keep happen again.
> + */
> +
> status = acpi_ev_disable_gpe(gpe_event_info);
> +
> if (ACPI_FAILURE(status)) {
> ACPI_EXCEPTION((AE_INFO, status,
> "Unable to disable GPE[%2X]",
> _
>
next prev parent reply other threads:[~2006-12-23 2:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-19 20:56 [patch 01/19] ACPI: Clear GPE before disabling it akpm
2006-12-23 2:15 ` Len Brown [this message]
2006-12-23 4:16 ` Andrew Morton
2006-12-24 22:43 ` Jordan Crouse
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=200612222115.50505.lenb@kernel.org \
--to=lenb@kernel.org \
--cc=akpm@osdl.org \
--cc=jordan.crouse@amd.com \
--cc=linux-acpi@vger.kernel.org \
--cc=luming.yu@intel.com \
--cc=robert.moore@intel.com \
--cc=william.morrow@amd.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.