Bug 5372

Summary: The Read access automatic dereference for RefOf reference doesn't work
Product: ACPI Reporter: Valery A Podrezov (Valery.A.Podrezov)
Component: ACPICA-CoreAssignee: Lin Ming (ming.m.lin)
Status: REJECTED DOCUMENTED    
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.
ArgX object auto deference support

Description Valery A Podrezov 2005-10-05 09:07:56 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-05 09:11:29 UTC
Created attachment 6230 [details]
ASL code to reproduce bug.

The Read access automatic dereference performs one dereference for
reference to object (but not object itself) passed to Method by argX
(no need to do DerefOf, though applying DerefOf provides the same
result as without it in this case).

In case a passed to Method reference is obtained by the
RefOf operation this feature doesn't work, but should.
Exception occurs instead.

INTERNAL BUG NUMBER

   126
Comment 2 Dave Jones 2007-05-17 15:06:29 UTC
did this ever get fixed ?
Comment 3 Lin Ming 2007-10-10 19:44:44 UTC
Bug still exist at ACPICA-v20070912
Comment 4 Lin Ming 2007-10-10 19:47:59 UTC
*** Bug 5373 has been marked as a duplicate of this bug. ***
Comment 5 Lin Ming 2007-10-10 20:01:22 UTC
*** Bug 5374 has been marked as a duplicate of this bug. ***
Comment 6 Lin Ming 2007-10-28 00:29:01 UTC
Created attachment 13295 [details]
ArgX object auto deference support
Comment 7 Len Brown 2008-01-06 20:56:36 UTC
moving to RESOLVED b/c proposed ACPICA patch is present in comment #6
What ACPICA release contains this patch?
Comment 8 Lin Ming 2008-01-06 21:10:34 UTC
This patch has not been integrated to ACPICA release yet.
Comment 9 Len Brown 2008-06-13 20:13:17 UTC
lin-ming, what is the state of this sighting?
Comment 10 Len Brown 2008-06-27 22:18:32 UTC
please mark at RESOLVED when a patch is integrated
into the ACPICA source tree
Comment 11 Lin Ming 2008-10-15 00:48:51 UTC
Move to acpica bugzilla since it's an pure CA bug
http://www.acpica.org/bugzilla/show_bug.cgi?id=737