mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Seblu <seblu@seblu.net>
Cc: Zhang Rui <rui.zhang@intel.com>,
	"Brown, Len" <len.brown@intel.com>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ACPI battery: Fix sysfs oops when removing battery
Date: Tue, 21 Dec 2010 08:23:09 +0100	[thread overview]
Message-ID: <20101221072309.GA32278@liondog.tnic> (raw)
In-Reply-To: <AANLkTi=0ZU_eHQpUHwny=TZn31iH0GJq7tCXhPqs3WE4@mail.gmail.com>

On Tue, Dec 21, 2010 at 04:24:26AM +0100, Seblu wrote:
> On Tue, Dec 21, 2010 at 3:01 AM, Zhang Rui <rui.zhang@intel.com> wrote:
> > On Sun, 2010-12-19 at 21:00 +0800, Borislav Petkov wrote:
> >> Hi guys,
> >>
> >> I get the oops below on 37-rc6. Here's a possible fix:
> >>
> > does this happen every time when you unload the battery driver?
> >
> on my laptop (dell e6410), with 4 tests, this append every times.

Yes, it happens every time here too. The explanation for that is simple:
according to the oops, this is on the path of acpi_ev_notify_dispatch()
which looks like it handles ACPI events and since removing the battery
or changing of the power supply or similar is one such event, we do a
state update.

-- 
Regards/Gruss,
    Boris.

      reply	other threads:[~2010-12-21  7:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-19 13:00 Borislav Petkov
2010-12-19 14:43 ` Seblu
2010-12-21  2:01 ` Zhang Rui
2010-12-21  3:24   ` Seblu
2010-12-21  7:23     ` Borislav Petkov [this message]

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=20101221072309.GA32278@liondog.tnic \
    --to=bp@alien8.de \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rui.zhang@intel.com \
    --cc=seblu@seblu.net \
    /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

all inboxes | Powered by JetHome®