public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Rich Townsend <rhdt-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
To: Dmitry Torokhov
	<dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>,
	Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] Change spinlock mutex to semaphor in ec.c
Date: Fri, 04 Feb 2005 13:26:49 -0500	[thread overview]
Message-ID: <4203BE69.50004@bartol.udel.edu> (raw)
In-Reply-To: <200502040055.53765.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>

Dmitry Torokhov wrote:
> On Thursday 03 February 2005 19:24, Rich Townsend wrote:
> 
>>Hi all --
>>
>>Attached is a patch against the 2.6.10 kernel, to convert the mutexing 
>>in the embdedded controller driver from a spinlock to a semaphore. The 
>>rationale behind this is to permit sleeping inside the acpi_ec_wait() 
>>polling routine.
>>
> 
> 
> Hi,
> 
> Last time such patch was proposed there were some concerns regarding
> possible interrupt storm, see the follwing thread:
> 
> http://marc.theaimsgroup.com/?l=acpi4linux&m=110055992814866&w=2
> 
> I have an alternative patch that tries to address these concerns,
> unfortunately I do not have a box with EC controller so it is
> completely untested.
> 

I've just tried your patch out on 2.6.11-rc3 (with acpi-dsdt-initrd and 
swsusp2 patches), and it causes a kernel oops when the EC is accessed at 
boot time. Unfortunately, the backtrace is too long to see where the 
oops arises; I'm sure there's a way of capturing the oops output, but I 
don't know it yet (suggestions welcome).

cheers,

Rich


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

  parent reply	other threads:[~2005-02-04 18:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04  0:24 [PATCH] Change spinlock mutex to semaphor in ec.c Rich Townsend
     [not found] ` <4202C0A4.1020700-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-04  5:55   ` Dmitry Torokhov
     [not found]     ` <200502040055.53765.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
2005-02-04 18:26       ` Rich Townsend [this message]
     [not found]         ` <4203BE69.50004-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-07  7:15           ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2005-02-04  6:31 Yu, Luming
2005-02-04  6:50 ` Dmitry Torokhov
     [not found]   ` <200502040150.25175.dtor_core-yWtbtysYrB+LZ21kGMrzwg@public.gmane.org>
2005-02-04 12:05     ` Rich Townsend
     [not found]       ` <42036527.4030807-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-02-04 13:53         ` Dmitry Torokhov

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=4203BE69.50004@bartol.udel.edu \
    --to=rhdt-obnux95toyn10jlvftc4ga@public.gmane.org \
    --cc=Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=dtor_core-yWtbtysYrB+LZ21kGMrzwg@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox