From: Thomas Renninger <trenn@suse.de>
To: devel@acpica.org
Cc: Lv Zheng <lv.zheng@intel.com>, Len Brown <len.brown@intel.com>,
Rafael J Wysocki <rafael.j.wysocki@intel.com>,
Rafael J Wysocki <rjw@sisk.pl>,
Robert Moore <robert.moore@intel.com>,
linux-acpi@vger.kernel.org
Subject: Re: [Devel] [RFC PATCH] ACPI: Add boot option to disable auto return object repair
Date: Wed, 23 Jan 2013 13:18:52 +0100 [thread overview]
Message-ID: <201301231318.52311.trenn@suse.de> (raw)
In-Reply-To: <59ec303219ed43c247fd5afc75de35553b9a52d5.1358954645.git.lv.zheng@intel.com>
On Wednesday, January 23, 2013 08:29:02 AM Lv Zheng wrote:
> There is automatic return object repair mechanism implemented in
> ACPICA which can not handle all of the issues exposed by BIOS
> currently. This patch allow a kernel boots up without such
> workarounds enabled. A better choice should refine the repair
> mechanism to allow more robust evaluation result.
>
> Signed-off-by: Lv Zheng <lv.zheng@intel.com>
> ---
> drivers/acpi/bus.c | 12 ++++++++++++
drivers/acpi/osl.c would IMO make more sense to add this, there
is no __setup function in bus.c yet, but in osl.c there is:
__setup("acpi_serialize", acpi_serialize_setup);
doing more or less the same.
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index 01708a1..e33577f 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -805,6 +805,18 @@ static int __init acpi_bus_init(void)
> struct kobject *acpi_kobj;
> EXPORT_SYMBOL_GPL(acpi_kobj);
>
> +static int __init acpi_disable_repair(char *s)
> +{
> + printk(KERN_NOTICE PREFIX
pr_notice()
No need to change other printk(KERN_NOTICE..., but new patches
should make use of pr_notice.
Are there known error messages that indicate when it makes sense
to try this out?
How would I know I should try this boot param?
If there are hints when to use this, it makes sense to mention them at
least in the changelog (or a bug reference or similar).
kernel parameters are typically described in
Documentation/kernel-parameters.txt
Not sure whether it's worth for this one (if it's intended for low level
ACPI debugging only and people making use of it know the drivers/acpi/*
code and therefore know about this option it may not).
Thomas
next prev parent reply other threads:[~2013-01-23 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 7:29 [RFC PATCH] ACPI: Add boot option to disable auto return object repair Lv Zheng
2013-01-23 12:18 ` Thomas Renninger [this message]
2013-01-23 12:59 ` Moore, Robert
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=201301231318.52311.trenn@suse.de \
--to=trenn@suse.de \
--cc=devel@acpica.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=lv.zheng@intel.com \
--cc=rafael.j.wysocki@intel.com \
--cc=rjw@sisk.pl \
--cc=robert.moore@intel.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 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).