Bug 5395

Summary: Store to the RefOf reference immediately returned by Method doesn't work
Product: ACPI Reporter: Valery A Podrezov (Valery.A.Podrezov)
Component: ACPICA-CoreAssignee: Lin Ming (ming.m.lin)
Status: CLOSED 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.

Description Valery A Podrezov 2005-10-07 08:35:27 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:36:54 UTC
Created attachment 6257 [details]
ASL code to reproduce bug.

The Store operations of demo program attempt to rewrite
the contents of the target objects of RefOf references
passed immediately to the Store operations as a return
of some Method call. The following verification shows
that in fact the target objects are not changed.
That is considered as errors.

One of choices for Destination of Store operation
"Store(Source, Destination)" is a call to Method:
SuperName->Type6Opcode->UserTermObj-><NameString TermArgList>

INTERNAL BUG NUMBER

   131
Comment 2 Valery A Podrezov 2006-06-06 04:17:13 UTC
INTERNAL BUG NUMBER:

   228 (there were two bugs with 131 internal IID)
Comment 3 Fu Michael 2008-01-01 22:55:57 UTC
Ported to acpica.org bugzilla as bug# 710. Close this one.