All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ducrot Bruno <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
To: "Sérgio Monteiro Basto"
	<sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org>
Cc: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	ACPI Developers
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	linux-acpi <linux-acpi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: Re: eisa_set_level_irq(acpi_fadt.sci_int)
Date: Mon, 27 Oct 2003 14:30:45 +0100	[thread overview]
Message-ID: <20031027133045.GM28351@poupinou.org> (raw)
In-Reply-To: <1067046644.2219.9.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>

On Sat, Oct 25, 2003 at 02:50:43AM +0100, Sérgio Monteiro Basto wrote:
> Hi 
> > > On Fri, 2003-10-24 at 04:13, Len Brown wrote:
> > > > I expect the regression related to your lid switch is cased
> > > > by something else.  But since you have a box with an Edge Triggered
> > > > SCI, I'd be interested if you are able to receive ACPI interrupts
> > > > if we leave the SCI in Edge Triggered mode:
> 
> In fact is the acpi_ec_gpe_query patch that cause the regression.
> After some tests, I am sure, if I apply this patch, pressing lid button
> hangs my laptop.
> and only this patch.
> 
> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/test/2.4.22/20031017152411-acpi_ec_gpe_query.patch
> 

Hem, at first read, this patch is wrong, and seems more adapted to
a perticular case, and being a bad hack in fact.

ec_device_init is always 0 if there is no ECDT table, which is wrong,
or else we will have a really really long interrupt handler, not to
mention that acpi_ec_gpe_query is not interrupt-context safe anyway, so
calling directly this function from the interrupt handler is a mistake
in all cases.

-- 
Ducrot Bruno

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/

  parent reply	other threads:[~2003-10-27 13:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 21:48 eisa_set_level_irq(acpi_fadt.sci_int) Len Brown
     [not found] ` <1066254483.2535.51.camel-D2Zvc0uNKG8@public.gmane.org>
2003-10-17 15:41   ` eisa_set_level_irq(acpi_fadt.sci_int) Ducrot Bruno
     [not found]     ` <20031017154107.GI8668-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2003-10-17 17:28       ` eisa_set_level_irq(acpi_fadt.sci_int) Len Brown
     [not found]         ` <1066411716.2527.100.camel-D2Zvc0uNKG8@public.gmane.org>
2003-10-22  4:25           ` eisa_set_level_irq(acpi_fadt.sci_int) Len Brown
     [not found]             ` <1066796711.2593.30.camel-D2Zvc0uNKG8@public.gmane.org>
2003-10-24  2:54               ` eisa_set_level_irq(acpi_fadt.sci_int) Sérgio Monteiro Basto
     [not found]                 ` <1066964092.1541.16.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-10-24  3:13                   ` eisa_set_level_irq(acpi_fadt.sci_int) Len Brown
     [not found]                     ` <1066965206.3864.55.camel-D2Zvc0uNKG8@public.gmane.org>
2003-10-24  4:19                       ` eisa_set_level_irq(acpi_fadt.sci_int) Sérgio Monteiro Basto
     [not found]                         ` <1066969171.1608.32.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-10-24  6:07                           ` eisa_set_level_irq(acpi_fadt.sci_int) Len Brown
     [not found]                             ` <1066975669.3861.84.camel-D2Zvc0uNKG8@public.gmane.org>
2003-10-24 20:03                               ` eisa_set_level_irq(acpi_fadt.sci_int) Sérgio Monteiro Basto
2003-10-25  1:50                               ` eisa_set_level_irq(acpi_fadt.sci_int) Sérgio Monteiro Basto
     [not found]                                 ` <1067046644.2219.9.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2003-10-27 13:30                                   ` Ducrot Bruno [this message]
2003-10-24 13:12                           ` eisa_set_level_irq(acpi_fadt.sci_int) Ducrot Bruno
  -- strict thread matches above, loose matches on Subject: below --
2003-10-15 22:09 eisa_set_level_irq(acpi_fadt.sci_int) Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A8470255EF51-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-10-17 10:39   ` eisa_set_level_irq(acpi_fadt.sci_int) Arndt Schoenewald

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=20031027133045.GM28351@poupinou.org \
    --to=ducrot-kk6yzipjem5g9huczpvpmw@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-acpi-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.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 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.