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


ykzhao <yakui.z...@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yakui.z...@intel.com




--- Comment #20 from ykzhao <yakui.z...@intel.com>  2010-12-28 05:47:42 ---
hi, James
     Do you mean that the bios limit will be changed when the AC adaptor is
plugged/unplugged? From the ACPI AML code it seems that it will update the _PPC
and send the notification event when AC is plugged/unplugged.
     >Method (_Q16, 0, NotSerialized)
                    {
                        Store (0x16, P80H)
                        If (LEqual (ADP, Zero))
                        {
                            Store (\_PR.CPU0.VPPC, \_PR.CPU0._PPC)
                            Store (\_PR.CPU0.VPPC, \_PR.CPU1._PPC)
                            TRAP (0x42)
                        }
                        Else
                        {
                            If (LEqual (SILM, One))
                            {
                                Store (\_PR.CPU0.VPPC, \_PR.CPU0._PPC)
                                Store (\_PR.CPU0.VPPC, \_PR.CPU1._PPC)
                                TRAP (0x42)
                            }
                            Else
                            {
                                Store (Zero, \_PR.CPU0._PPC)
                                Store (Zero, \_PR.CPU1._PPC)
                                TRAP (0x43)
                            }
                        }

   At the same time it will also update the _PPC value in course of querying
the AC status by using _PSR object.
   Method (_PSR, 0, NotSerialized)
            {
                If (LEqual (^^PCI0.LPCB.EC.ADP, Zero))
                {
                    If (THRF) {}
                    Else
                    {
                        Store (\_PR.CPU0.VPPC, \_PR.CPU0._PPC)
                        Store (\_PR.CPU0.VPPC, \_PR.CPU1._PPC)
                        Notify (\_PR.CPU0, 0x80)
                        Sleep (0x64)
                        Notify (\_PR.CPU0, 0x81)
                        Sleep (0x0A)
                        Notify (\_PR.CPU1, 0x80)
                        Sleep (0x64)
                        Notify (\_PR.CPU1, 0x81)
                        TRAP (0x42)
                    }
                }


     Will you please poll the AC status again and then check whether the speed
limit is correct?
     >for example: /proc/acpi/ac_adapter/*/state 

Thanks.
   Yakui

-- 
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.
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to