From: Len Brown <len.brown@intel.com>
To: akpm@osdl.org
Cc: linux-acpi@vger.kernel.org, y-goto@jp.fujitsu.com, luming.yu@intel.com
Subject: Re: [patch 14/14] acpi: memory hotplug: remove useless message at boot time
Date: Wed, 16 Aug 2006 00:30:00 -0400 [thread overview]
Message-ID: <200608160030.00960.len.brown@intel.com> (raw)
In-Reply-To: <200608150537.k7F5bWIW011569@shell0.pdx.osdl.net>
Applied.
thanks,
-Len
On Tuesday 15 August 2006 01:37, akpm@osdl.org wrote:
> From: Yasunori Goto <y-goto@jp.fujitsu.com>
>
> This is to remove noisy useless message at boot. The message is a ton of
> "ACPI Exception (acpi_memory-0492): AE_ERROR, handle is no memory device"
>
> In my emulation, number of memory devices are not so many (only 6), but,
> this messages are displayed 114 times.
>
> It is showed by acpi_memory_register_notify_handler() which is called by
> acpi_walk_namespace().
>
> acpi_walk_namespace() parses all of ACPI's namespace and execute
> acpi_memory_register_notify_handler(). So, it is called for all of the
> device which is defined in namespace. If the parsing device is not memory,
> acpi_memhotplug ignores it due to "no match" and will parse next device.
> This is normal route.
>
> But this message says it is exception. It is meaningless.
>
> Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
> Cc: "Brown, Len" <len.brown@intel.com>
> Cc: "Yu, Luming" <luming.yu@intel.com>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> ---
>
> drivers/acpi/acpi_memhotplug.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff -puN drivers/acpi/acpi_memhotplug.c~acpi-memory-hotplug-remove-useless-message-at-boot-time drivers/acpi/acpi_memhotplug.c
> --- a/drivers/acpi/acpi_memhotplug.c~acpi-memory-hotplug-remove-useless-message-at-boot-time
> +++ a/drivers/acpi/acpi_memhotplug.c
> @@ -484,10 +484,8 @@ acpi_memory_register_notify_handler(acpi
>
>
> status = is_memory_device(handle);
> - if (ACPI_FAILURE(status)){
> - ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device"));
> + if (ACPI_FAILURE(status))
> return AE_OK; /* continue */
> - }
>
> status = acpi_install_notify_handler(handle, ACPI_SYSTEM_NOTIFY,
> acpi_memory_device_notify, NULL);
> @@ -503,10 +501,8 @@ acpi_memory_deregister_notify_handler(ac
>
>
> status = is_memory_device(handle);
> - if (ACPI_FAILURE(status)){
> - ACPI_EXCEPTION((AE_INFO, status, "handle is no memory device"));
> + if (ACPI_FAILURE(status))
> return AE_OK; /* continue */
> - }
>
> status = acpi_remove_notify_handler(handle,
> ACPI_SYSTEM_NOTIFY,
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2006-08-16 15:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-15 5:37 [patch 14/14] acpi: memory hotplug: remove useless message at boot time akpm
2006-08-16 4:30 ` Len Brown [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=200608160030.00960.len.brown@intel.com \
--to=len.brown@intel.com \
--cc=akpm@osdl.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=luming.yu@intel.com \
--cc=y-goto@jp.fujitsu.com \
/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.