* ACPI patches on test branch
@ 2008-06-28 6:06 Len Brown
2008-06-28 6:06 ` [PATCH 1/2] ACPI: add WARN_ON(acpi_disabled) Len Brown
2008-06-28 14:21 ` ACPI patches on test branch Henrique de Moraes Holschuh
0 siblings, 2 replies; 5+ messages in thread
From: Len Brown @ 2008-06-28 6:06 UTC (permalink / raw)
To: linux-acpi, linux-kernel
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test
This test branch, which is pulled into linux-next
and -mm, is a superset of the "release-2.6.27" branch.
test contains the additional following patches.
thanks,
-Len
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ACPI: add WARN_ON(acpi_disabled)
2008-06-28 6:06 ACPI patches on test branch Len Brown
@ 2008-06-28 6:06 ` Len Brown
2008-06-28 6:06 ` [PATCH 2/2] ACPI: add standard linux WARN_ON() output to ACPI errors and exceptions Len Brown
2008-06-28 14:21 ` ACPI patches on test branch Henrique de Moraes Holschuh
1 sibling, 1 reply; 5+ messages in thread
From: Len Brown @ 2008-06-28 6:06 UTC (permalink / raw)
To: linux-acpi, linux-kernel; +Cc: Len Brown
From: Len Brown <len.brown@intel.com>
We should not get to acpi_walk_namespace and
acpi_install_fixed_event_handler when acpi is disabled.
Signed-off-by: Len Brown <len.brown@intel.com>
---
drivers/acpi/events/evxface.c | 2 ++
drivers/acpi/namespace/nsxfeval.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/events/evxface.c b/drivers/acpi/events/evxface.c
index 94a6efe..fcf0fb9 100644
--- a/drivers/acpi/events/evxface.c
+++ b/drivers/acpi/events/evxface.c
@@ -114,6 +114,8 @@ acpi_install_fixed_event_handler(u32 event,
ACPI_FUNCTION_TRACE(acpi_install_fixed_event_handler);
+ WARN_ON(acpi_disabled);
+
/* Parameter validation */
if (event > ACPI_EVENT_MAX) {
diff --git a/drivers/acpi/namespace/nsxfeval.c b/drivers/acpi/namespace/nsxfeval.c
index a8d5491..934c8fc 100644
--- a/drivers/acpi/namespace/nsxfeval.c
+++ b/drivers/acpi/namespace/nsxfeval.c
@@ -391,6 +391,8 @@ acpi_walk_namespace(acpi_object_type type,
ACPI_FUNCTION_TRACE(acpi_walk_namespace);
+ WARN_ON(acpi_disabled);
+
/* Parameter validation */
if ((type > ACPI_TYPE_LOCAL_MAX) || (!max_depth) || (!user_function)) {
--
1.5.6.1.89.gd544
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ACPI: add standard linux WARN_ON() output to ACPI errors and exceptions
2008-06-28 6:06 ` [PATCH 1/2] ACPI: add WARN_ON(acpi_disabled) Len Brown
@ 2008-06-28 6:06 ` Len Brown
0 siblings, 0 replies; 5+ messages in thread
From: Len Brown @ 2008-06-28 6:06 UTC (permalink / raw)
To: linux-acpi, linux-kernel; +Cc: Len Brown
From: Len Brown <len.brown@intel.com>
In linux-2.6.27, we expect WARN() with printk semantics
to become available, and we'll be able to simplify
this code.
Signed-off-by: Len Brown <len.brown@intel.com>
---
drivers/acpi/utilities/utmisc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/acpi/utilities/utmisc.c b/drivers/acpi/utilities/utmisc.c
index 1f057b7..0a340b0 100644
--- a/drivers/acpi/utilities/utmisc.c
+++ b/drivers/acpi/utilities/utmisc.c
@@ -1028,6 +1028,7 @@ acpi_ut_error(char *module_name, u32 line_number, char *format, ...)
{
va_list args;
+ warn_on_slowpath(module_name, line_number);
acpi_os_printf("ACPI Error (%s-%04d): ", module_name, line_number);
va_start(args, format);
@@ -1042,6 +1043,7 @@ acpi_ut_exception(char *module_name,
{
va_list args;
+ warn_on_slowpath(module_name, line_number);
acpi_os_printf("ACPI Exception (%s-%04d): %s, ", module_name,
line_number, acpi_format_exception(status));
--
1.5.6.1.89.gd544
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: ACPI patches on test branch
2008-06-28 6:06 ACPI patches on test branch Len Brown
2008-06-28 6:06 ` [PATCH 1/2] ACPI: add WARN_ON(acpi_disabled) Len Brown
@ 2008-06-28 14:21 ` Henrique de Moraes Holschuh
1 sibling, 0 replies; 5+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-06-28 14:21 UTC (permalink / raw)
To: Len Brown; +Cc: linux-acpi, linux-kernel, Andi Kleen
On Sat, 28 Jun 2008, Len Brown wrote:
> git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test
>
> This test branch, which is pulled into linux-next
> and -mm, is a superset of the "release-2.6.27" branch.
Len,
I just got a bunch of net/rfkill changes merged into -next through
linux-wireless.
And I have a stack of thinkpad-acpi patches that depend on those, which I'd
like to see in 2.6.27.
The thinkpad-acpi changes are being field-tested for more than a month now,
not just by me, but also by the users of my thinkpad-acpi devel backports,
and it is working fine.
So, how could we do it? Should I send the thinkpad-acpi patches to you guys
now for review, and we merge them a bit late (after the rfkill work has
already landed on mainline)?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
^ permalink raw reply [flat|nested] 5+ messages in thread
* ACPI patches on test branch
@ 2010-06-04 19:51 Len Brown
0 siblings, 0 replies; 5+ messages in thread
From: Len Brown @ 2010-06-04 19:51 UTC (permalink / raw)
To: linux-acpi
Here are the patches currently on the ACPI test branch --
beyond what is on the release branch.
git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git test
We may choose to cherry-pick some of these for 2.6.35-rc2,
rather than waiting for 2.6.36, so please speak up
if you have troubles with any of them.
thanks,
Len Brown, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-06-04 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 6:06 ACPI patches on test branch Len Brown
2008-06-28 6:06 ` [PATCH 1/2] ACPI: add WARN_ON(acpi_disabled) Len Brown
2008-06-28 6:06 ` [PATCH 2/2] ACPI: add standard linux WARN_ON() output to ACPI errors and exceptions Len Brown
2008-06-28 14:21 ` ACPI patches on test branch Henrique de Moraes Holschuh
-- strict thread matches above, loose matches on Subject: below --
2010-06-04 19:51 Len Brown
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).