Bug 5334 - No exception when Serialized Method is run after the higher level mutex acquiring
Summary: No exception when Serialized Method is run after the higher level mutex acqui...
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Valery A Podrezov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-30 06:12 UTC by Valery A Podrezov
Modified: 2007-01-15 08:50 UTC (History)
1 user (show)

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


Attachments
ASL code to reproduce bug. (2.46 KB, text/plain)
2005-09-30 06:18 UTC, Valery A Podrezov
Details

Description Valery A Podrezov 2005-09-30 06:12:34 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-09-30 06:18:08 UTC
Created attachment 6194 [details]
ASL code to reproduce bug.


Serialized Method doesn't follow SyncLevel transition rule (17.5.79 Mutex).
Namely, invocation of the Method declared as a Serialized one doesn't cause
exception in case it is declared for the level lower than the current
synchronization level is. This contradicts with the rule mentioned above.

Actions reproducing the bug (see Method md8d of attached demo).

1. Mutex of level 1 is acquired.
2. Serialized Method specified with 0 SyncLevel is invoked.
3. Exception AE_AML_MUTEX_ORDER is expected in this case
   due to the lower synchronization level of Method which
   is invoked after acquiring the higher level mutex.
4. But, and this is a bug, no exception occurs.


INTERNAL BUG NUMBER

   150
Comment 2 Valery A Podrezov 2006-07-04 04:08:24 UTC
Fixed in 20060623 version of ACPICA.
Comment 3 Len Brown 2007-01-15 08:50:26 UTC
ACPICA 20060707 shipped in Linux-2.6.18
closed.

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