reedwind / lib

0 stars 0 forks source link

Bug 393 - Unexpected exception occurs on access to the Fields specified by BankField #113

Closed reedwind closed 11 years ago

reedwind commented 11 years ago

Reported by: Valery Podrezov valery.a.podrezov@intel.com Reported at: 2006-05-24 00:30:43

Product: ACPICA Component: Core/Interpreter Platform: All OS: Linux Priority: P1 Severity: normal

reedwind commented 11 years ago

Commented by: Valery Podrezov valery.a.podrezov@intel.com Commented at: 2006-05-24 00:30:43

Unexpected exception occurs on access to the Fields specified by BankField.

Syntax BankField (RegionName, BankName, BankValue, AccessType, LockRule, UpdateRule) {FieldUnitList}

  1. In case BankValue is Named object exception AE_NOT_FOUND occurs.
  2. In case BankValue is a result of expression exception AE_AML_REGISTER_LIMIT occurs.

INTERNAL BUG NUMBER:

178

reedwind commented 11 years ago

Commented by: Valery Podrezov valery.a.podrezov@intel.com Commented at: 2006-05-24 00:31:35

Created an attachment (id=457) ASL code to reproduce the bug

reedwind commented 11 years ago

Commented by: Bob Moore robert.moore@intel.com Commented at: 2006-07-14 06:12:16

Namespace dump from AcpiExec shows that the BKF1 field does not get created for some reason, needs investigation:

0 R000 Region 004513A8 07 [SystemMemory] Addr 0000000000000100 Len 0100 0 BNK0 RegionField 00451068 07 Rgn [R000] Off 000 Len 02 Acc 01 0 BKF0 BankField 00452EF8 07 Rgn [R000] Bnk [BNK0] Off 000 Len 09 Acc 01 0 I001 Integer 00452EA8 07 = 0000000000000000 0 R001 Region 00452E58 07 [SystemMemory] Addr 0000000000000100 Len 0100 0 BNK1 RegionField 00452D48 07 Rgn [R001] Off 000 Len 02 Acc 01 0 I002 Integer 00452BB8 07 = 0000000000000000 0 R002 Region 00452B68 07 [SystemMemory] Addr 0000000000000100 Len 0100 0 BNK2 RegionField 00452A58 07 Rgn [R002] Off 000 Len 02 Acc 01 0 BKF2 BankField 00452A08 07 Rgn [R002] Bnk [BNK2] Off 000 Len 09 Acc 01

reedwind commented 11 years ago

Commented by: Bob Moore robert.moore@intel.com Commented at: 2006-07-14 06:16:33

Interpreter currently cannot handle a TermArg as the 3rd parameter (BankValue):

BankField (R001, BNK1, Add (I001, Zero), ByteAcc, NoLock, Preserve)

reedwind commented 11 years ago

Commented by: Lin Ming ming.m.lin@intel.com Commented at: 2007-11-23 13:36:48

Created an attachment (id=746) implement TermArg of BankField Op

Tested aginst ASLTS, no regression and error numbers drop down

And also tested the ASL code to check Termarg fix from http://xmas.sh.intel.com/linuxosbugzilla/attachment.cgi?id=507&action=view

reedwind commented 11 years ago

Commented by: Len Brown len.brown@intel.com Commented at: 2008-04-30 20:48:38

shipped in linux-2.6.25-git16 ef805d956320ffa36d068673d5c5eb2a7d13209b ACPICA: Implemented full argument resolution support for the BankValue argument to BankField