Bug 5392

Summary: Copying the RefOf reference to Named object spoils that reference
Product: ACPI Reporter: Valery A Podrezov (Valery.A.Podrezov)
Component: ACPICA-CoreAssignee: Valery A Podrezov (Valery.A.Podrezov)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6 Subsystem:
Regression: --- Bisected commit-id:
Attachments: ASL code to reproduce bug.

Description Valery A Podrezov 2005-10-07 08:20:13 UTC
Most recent kernel where this bug did not occur:
Distribution:
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.


INTERNAL BUG NUMBER

   128
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.