Bug 5369 - Unexpected exception on Store of ThermalZone to Debug operation
Summary: Unexpected exception on Store of ThermalZone to Debug operation
Status: CLOSED CODE_FIX
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: 2005-10-05 05:49 UTC by Valery A Podrezov
Modified: 2006-09-28 13:20 UTC (History)
2 users (show)

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


Attachments
ASL code to reproduce bug. (671 bytes, text/plain)
2005-10-05 05:51 UTC, Valery A Podrezov
Details
Proposed patch (2.29 KB, patch)
2006-02-18 10:50 UTC, Valery A Podrezov
Details | Diff

Description Valery A Podrezov 2005-10-05 05:49:14 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 05:51:42 UTC
Created attachment 6224 [details]
ASL code to reproduce bug.

Example of Store(ThermalZone, Debug) operation which
causes exception when try to apply the Store-to-Debug
operation to the ThermalZone type object. All other
type objects are processed properly.


INTERNAL BUG NUMBER

   175
Comment 2 Valery A Podrezov 2006-02-18 10:50:56 UTC
Created attachment 7399 [details]
Proposed patch

PROPOSED BUG FIX:

Both data types - Devices and ThermalZones are of
type AML_TYPE_NAMED_NO_OBJ (see AcpiGbl_AmlOpInfo).
Update excludes attempts to retrieve the internal
objects of NameSpace nodes of these types. This done
now, was earlier taken into account only for Devices
in AcpiExResolveNodeToValue.

This patch resolves bug 5370 too.


TESTED:

The update was tested by the ASLTS test suite runs
(all the test cases) on the following systems:

- CYGWIN_NT-5.1 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cygwin
- Linux 2.6.5-7.191-smp #1 SMP Tue Jun 28 14:58:56 UTC 2005 i686 i686 i386
GNU/Linux

for the following modes supported by the ASLTS test suite:

- 32-bit norm mode
- 64-bit norm mode
- 32-bit slack mode
- 64-bit slack mode

The tests were run (on the systems described above) before update,
then the tests were run on those systems after update. Then results
of two runs were compared. All is Ok (the relevant error fixed, no
new errors).
Comment 3 Robert Moore 2006-06-08 13:33:22 UTC
Released in 20060608
Comment 4 Len Brown 2006-06-25 21:39:42 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.