http://bugzilla.kernel.org/show_bug.cgi?id=11516





------- Comment #31 from [EMAIL PROTECTED]  2008-10-04 12:23 -------
I have confirmed that this is still a problem under Linus' 2.6.27-rc8 tree
of 2008-09-29 ( 94aca1dac6f6d21f4b07e4864baf7768cabcc6e7 ) .
I'm now building the latest linux-2.6-tip tree (
800be01f27c9542ea4640d731874986c60f521e5 ) and am going to enable ACPI
table parsing debug to try to understand how the two kernels can be 
parsing the same ACPI tables and get such different results .

Here is the relevant DSL from 'iasl -d /proc/acpi/dsdt' :
            ...
            Method (_PSV, 0, NotSerialized)
            {
                Return (C391 (C384, 0x00))
            }
            ...
        Method (C391, 2, Serialized)
        {
            Store (0x01, Local0)
            Store (Arg0, Local1)
            If (LLess (Arg0, DerefOf (Index (C38C, Arg1))))
            {
                Store (0x00, Local0)
                Add (Arg0, 0x01, Local1)
            }

            Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C37F, C392
(Arg1)
                )), Local0)), Local1)), Local2)
            If (LAnd (LEqual (\_SB.C03E, 0x01), LAnd (LEqual (Arg0, 0x00),
LEqual (
                Arg1, 0x00))))
            {
                If (\_SB.C08B.C0FE.C172.C1D5 ())
                {
                    Store (0x0B4B, Local2)
                }
            }

            If (LEqual (\_SB.C08B.C09F.C0A0, 0x01))
            {
                Store (0x0B4B, Local2)
            }

            Return (Local2)
        }

Now 0x0B4B (2891 deci-Kelvin) is the infamous 16 degrees celsius default
_PSV value that the 2.6.27 kernels get ; under 2.6.26.5, the expression
  Store (DerefOf (Index (DerefOf (Index (DerefOf (Index (C37F, C392 (Arg1)
                )), Local0)), Local1)), Local2)
is evidently storing the correct 3682 deci-Kelvin ( 95 degrees celsius ) 
in "Local2" , and \_SB.C08B.C09F.C0A0 is not 1 -
ACPI debug output under 2.6.26.5:
[   11.902295] Execute Method: [\_TZ_.TZ1_._PSV] (Node ffff810077b3b7c0)
[   11.902295] exregion-0186 [15] ex_system_memory_space: System-Memory (width
8) R/W 0 Address=0000000077FE7DC6
[   11.902295] exregion-0289 [18] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000072
[   11.902295] exregion-0289 [17] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=0000000000000073
[   11.902295]    utils-0291 [00] evaluate_integer      : Return value [3682]
[   11.902295]    utils-0291 [00] evaluate_integer      : Return value [1]
[   11.902295]    utils-0291 [00] evaluate_integer      : Return value [2]
[   11.902295]    utils-0291 [00] evaluate_integer      : Return value [100]
[   11.902295]    utils-0420 [00] evaluate_reference    : Found reference
[ffff8100778082c0]
[   11.902295]    utils-0420 [00] evaluate_reference    : Found reference
[ffff8100778082e0]

ACPI debug output under 2.6.27-rc7:
[    4.906580] Execute Method: [\_TZ_.TZ1_._PSV] (Node ffff880077b387a0)
[    4.908052] exregion-0186 [14] ex_system_memory_space: System-Memory (width
8) R/W 0 Address=0000000077FE7DC6
[    4.908220] exregion-0289 [17] ex_system_io_space_han: System-IO (width 8)
R/W 1 Address=0000000000000072
[    4.908234] exregion-0289 [16] ex_system_io_space_han: System-IO (width 8)
R/W 0 Address=0000000000000073
[    4.908729]    utils-0291 [4294967295] evaluate_integer      : Return value
[2891]
[    4.908750]    utils-0291 [4294967295] evaluate_integer      : Return value
[1]
[    4.908771]    utils-0291 [4294967295] evaluate_integer      : Return value
[2]
[    4.908792]    utils-0291 [4294967295] evaluate_integer      : Return value
[100]
[    4.908826]    utils-0420 [4294967295] evaluate_reference    : Found
reference [ffff8800778032a0]
[    4.908832]    utils-0420 [4294967295] evaluate_reference    : Found
reference [ffff8800778032c0]

I'm re-testing the above with the latest 2.6.27-rc8-tip kernel and will attach
the relevant output when done - at least I can give the "thermal.psv=95" 
parameter to the new kernel so that the CPU stays at 2.2Ghz and a boot/reboot
cycle takes less than one hour! (But the active cooling devices stay always
on).


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to