All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Bird <neil@fnxweb.com>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org, malattia@linux.it
Subject: Re: sonypc with Sony Vaio VGN-SZ1VP
Date: Wed, 10 Jan 2007 08:36:49 +0000	[thread overview]
Message-ID: <45A4A5A1.9000800@fnxweb.com> (raw)
In-Reply-To: <200701051219.00509.lenb@kernel.org>

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

  reply	other threads:[~2007-01-10  8:37 UTC|newest]

Thread overview: 67+ 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 10:09     ` Stelian Pop
2007-01-04 19:15     ` Mattia Dongili
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:36           ` Stelian Pop
2007-01-04 23:44           ` Andrew Morton
2007-01-04 23:54             ` Stelian Pop
2007-01-04 23:54               ` Stelian Pop
2007-01-05  4:16               ` Andrew Morton
2007-01-05  4:16                 ` Andrew Morton
2007-01-05  9:58                 ` Stelian Pop
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-05  9:59               ` Stelian Pop
2007-01-04 23:34       ` 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 [this message]
2007-01-11 12:20           ` sonypc with Sony Vaio VGN-SZ1VP [repost] Neil Bird
2007-01-05 10:02       ` sonypc with Sony Vaio VGN-SZ1VP Stelian Pop
2007-01-05 10:02         ` Stelian Pop
2007-01-05 12:13         ` Mattia Dongili
2007-01-05 12:13           ` Mattia Dongili
2007-01-05 14:23           ` Jan Engelhardt
2007-01-09 15:19   ` Luming Yu
  -- strict thread matches above, loose matches on Subject: below --
2007-01-04 17:58 Cacy Rodney
2007-01-05 17:33 ` Len Brown
2007-01-05 19:10   ` Mattia Dongili
2006-09-26 13:56 Andrea Gelmini
2006-09-26 16:29 ` Stelian Pop
2006-09-26 17:56   ` Ismail Donmez
2006-09-27  5:14     ` Andrew Morton
2006-09-27  5:14       ` Andrew Morton
2006-09-27  5:59       ` Jan Engelhardt
2006-09-27  6:04       ` Len Brown
2006-09-27  6:04         ` Len Brown
2006-09-27  7:50         ` Ismail Donmez
2006-09-27  7:50           ` Ismail Donmez
2006-09-28 15:48           ` Yu Luming
2006-09-28 15:48             ` Yu Luming
2006-09-27 16:26       ` Andrea Gelmini
2006-09-26 21:38   ` Andrea Gelmini

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=45A4A5A1.9000800@fnxweb.com \
    --to=neil@fnxweb.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=malattia@linux.it \
    /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.