Bug 5392 - Copying the RefOf reference to Named object spoils that reference
Copying the RefOf reference to Named object spoils that reference
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core
i386 Linux
: P2 normal
Assigned To: Valery A Podrezov
Depends on:
  Show dependency treegraph
Reported: 2005-10-07 08:20 UTC by Valery A Podrezov
Modified: 2006-09-28 13:15 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6
Tree: Mainline
Regression: ---

ASL code to reproduce bug. (1.08 KB, text/plain)
2005-10-07 08:22 UTC, Valery A Podrezov

Description Valery A Podrezov 2005-10-07 08:20:13 UTC
Most recent kernel where this bug did not occur:
Hardware Environment:
Software Environment:
Problem Description:

The Linux kernel ACPI interpreter fails the following
AML test when it is compiled into a simulator. So if an
OEM BIOS includes this code, Linux would fail.

Steps to reproduce:

Run interpreter with the .asl demo code attached below.
Comment 1 Valery A Podrezov 2005-10-07 08:22:03 UTC
Created attachment 6254 [details]
ASL code to reproduce bug.

Two the same methods are represented by demo.
The only that differs Method m001 from method m000
is that RefOf reference in m001 is copied to Named
object but not to LocalX as it is in m000. Method
m001 unexpectedly causes exception.


Comment 2 Valery A Podrezov 2006-02-07 07:44:52 UTC
The patch proposed to bug 5360 does fixing this bug too (see comment to 5360).
Comment 3 Robert Moore 2006-02-10 14:24:35 UTC
Released in ACPICA version 20060210
Comment 4 Len Brown 2006-06-25 21:57:58 UTC
ACPICA 20060608 shipped in Linux-2.6.17-git9, closed. 

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