From: Igor Popik <igor.popik-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [PATCH] acpi: processor add release_region()
Date: Sat, 8 Oct 2005 14:41:28 +0200 [thread overview]
Message-ID: <253000f70510080541w2175817w@mail.gmail.com> (raw)
Hi,
The processor module reservers some io mem but it does not release
that region during unload nor during processor removal (possibly with
hotplug support?).
This casues oops after unloading processor module and attempt to read
contents of /proc/ioports file (memory region name points to unloaded
module).
Best Regards,
Igor
--- a/drivers/acpi/processor_core.c 2005-10-08 13:26:23.000000000 +0200
+++ b/drivers/acpi/processor_core.c 2005-10-08 13:31:35.000000000 +0200
@@ -675,6 +675,9 @@
acpi_processor_remove_fs(device);
+ if (pr->throttling.address)
+ release_region(pr->throttling.address, 6);
+
processors[pr->id] = NULL;
kfree(pr);
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
reply other threads:[~2005-10-08 12:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=253000f70510080541w2175817w@mail.gmail.com \
--to=igor.popik-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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