https://bugzilla.kernel.org/show_bug.cgi?id=15174


Robert Moore <robert.mo...@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert.mo...@intel.com




--- Comment #17 from Robert Moore <robert.mo...@intel.com>  2010-03-24 15:11:39 
---
I think what happens in these cases is that the BIOS is dynamically changing
the size of the _PSS package on the fly. The key would be this statement:

Name (_PSS, Package (0x03)

indicating that only 3 of the _PSS sub-packages are valid. So, the original ASL
code has the worst-case size of _PSS, and the package is truncated by the BIOS
as necessary.

The ACPICA code will truncate this _PSS package to three sub-packages and emit
an exception. If this is not happening, perhaps there is a bug.

/*
 * NumElements was exhausted, but there are remaining elements in the
 * PackageList. Truncate the package to NumElements.
 *
 * Note: technically, this is an error, from ACPI spec: "It is an error
 * for NumElements to be less than the number of elements in the
 * PackageList". However, we just print a message and
 * no exception is returned. This provides Windows compatibility. Some
 * BIOSs will alter the NumElements on the fly, creating this type
 * of ill-formed package object.
 */

...

 ACPI_INFO((AE_INFO,
    "Actual Package length (0x%X) is larger than NumElements field (0x%X),
truncated\n",

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to