Bug 2900 - potential recursion
Summary: potential recursion
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Robert Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 19:03 UTC by Len Brown
Modified: 2008-11-10 18:09 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Len Brown 2004-06-16 19:03:41 UTC
J
Comment 1 Robert Moore 2005-09-29 14:19:41 UTC
The biggest issue here is that AML fields are accessed recursively in the case 
of Index and Bank Fields. However, this recursion is bounded to 1 or 2 levels, 
mostly because these type of fields are directly related to the hardware.

Debug output has some recursion also, considered a don't-care.

There appears to be some recursion in the upper software (drivers, etc.)

Comment 2 Natalie Protasevich 2007-09-03 22:57:40 UTC
Has this problem been fixed or is it still preset in current kernels (2.6.22+)?
Thanks.
Comment 3 Natalie Protasevich 2008-03-03 20:45:12 UTC
No new status, so I'm closing the bug. Please reopen if the problem confirmed in latest kernel. (and it is probably fixed knowing the ACPI team)
Comment 4 Robert Moore 2008-03-04 10:05:25 UTC
I don't think this should be closed. While ACPICA has eliminated most "unbounded" recursion, there exists recursion in some areas that still needs to be removed.
Comment 5 Natalie Protasevich 2008-03-04 11:06:22 UTC
Sure, I thought the bug was stale.
I will put it as work in progress and will leave up to you Robert.
Comment 6 Len Brown 2008-03-25 20:49:56 UTC
Although this issue is in the ACPICA AML interpreter,
lets keep this report in bugzilla.kernel.org
instead of moving it to http://acpica.org/bugzilla/
because success here is measured by tools that
run against the Linux source tree.
Comment 7 Len Brown 2008-11-10 18:09:28 UTC
we will always have some recursion in the AML interpreter.

In theory, one could write AML that could make our interpreter
mis-behave, but we think that there are practical limits,
and we don't run into this issue in the real world.

closed.

Note You need to log in before you can comment on or make changes to this bug.