linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Bird <neil.bird@uk.thalesgroup.com>
To: linux-acpi@vger.kernel.org
Subject: Re: sonypc with Sony Vaio VGN-SZ1VP  [repost]
Date: Thu, 11 Jan 2007 12:20:55 +0000	[thread overview]
Message-ID: <45A62BA7.1090500@uk.thalesgroup.com> (raw)
In-Reply-To: <200701051219.00509.lenb@kernel.org>


   [orig. quietly didn't make it to the list for some reason]

Around about 05/01/07 17:19, Len Brown typed ...
> running the AML interpreter in  interrupt context would be a no-no.
> I thought we had deferred the notify handlers so that they wouldn't
> run in interrupt context, but maybe there is a case here where
> that does not happen.

   Yes, I tracked though the kernel acpi code as much as I could, and found
that I was making acpi calls that did kmalloc() with the 'wrong' arg. in a
context that didn't allow it (where /proc reads would).

   Unfortunately, the solutions I tried (diff. ways of deferral using notify
handlers) still failed, or at least stuffed it on boot (which is what my
current code-base does).  The last code I traced was the bit that looked up
the full ACPI ref. from a local ref., and that does a malloc, so I did the
lookup at module init and stored that full string to bypass the lookup
malloc later, but then it just goes wrong a bit later :-(

-- 
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit


  parent reply	other threads:[~2007-01-11 12:39 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 11:51 sonypc with Sony Vaio VGN-SZ1VP stelian
2006-09-28 16:27 ` Yu Luming
2007-01-04  5:24 ` Len Brown
2007-01-04 10:09   ` Stelian Pop
2007-01-04 19:15     ` Mattia Dongili
2007-01-04 20:51       ` Andrew Morton
2007-01-04 21:18         ` Mattia Dongili
2007-01-04 21:28           ` Andrew Morton
2007-01-04 21:36             ` Timo Hoenig
2007-01-04 21:36             ` Richard Hughes
2007-01-04 21:58               ` Mattia Dongili
2007-01-05 17:02                 ` Len Brown
2007-01-05 18:06                   ` Mattia Dongili
2007-01-04 23:36         ` Stelian Pop
2007-01-04 23:44           ` Andrew Morton
2007-01-04 23:54             ` Stelian Pop
2007-01-05  4:16               ` Andrew Morton
2007-01-05  9:58                 ` Stelian Pop
2007-01-05  2:20             ` MoRpHeUz
2007-01-05 17:11               ` Sony Vaio VGN-SZ340 (was Re: sonypc with Sony Vaio VGN-SZ1VP) Len Brown
2007-01-05 17:24                 ` MoRpHeUz
2007-01-05 18:10                   ` Len Brown
2007-01-06  4:09                     ` Bjorn Helgaas
2007-01-11 19:52                       ` Len Brown
2007-01-11 20:01                         ` Alexey Starikovskiy
2007-01-05  0:11           ` sonypc with Sony Vaio VGN-SZ1VP Jan Engelhardt
2007-01-05  9:15             ` Mattia Dongili
2007-01-05  9:59             ` Stelian Pop
2007-01-04 23:34       ` Stelian Pop
2007-01-05  9:23       ` Neil Bird
2007-01-05 16:24         ` Mattia Dongili
2007-01-10  8:32           ` Neil Bird
2007-01-11 12:20           ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 17:19         ` sonypc with Sony Vaio VGN-SZ1VP Len Brown
2007-01-10  8:36           ` Neil Bird
2007-01-11 12:20           ` Neil Bird [this message]
2007-01-05 10:02       ` Stelian Pop
2007-01-05 12:13         ` Mattia Dongili
2007-01-05 14:23           ` Jan Engelhardt
2007-01-09 15:19   ` Luming Yu

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=45A62BA7.1090500@uk.thalesgroup.com \
    --to=neil.bird@uk.thalesgroup.com \
    --cc=linux-acpi@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;
as well as URLs for NNTP newsgroup(s).