Author: rsmith Date: 2009-08-25 06:36:50 +0200 (Tue, 25 Aug 2009) New Revision: 1327
Modified: cpu/x86/pc/olpc/via/dsdt.dsl Log: OLPC: Fixup the ACPI C state table to enable C4.
ACPI only knows about states up to C3 so the ID value of all states
= C3 needs to be C3. The validator code in linux will fail to validate
anything thats not C1-C3. The additional states are assumed by virtue of there being additional entries in the CST table.
Modified: cpu/x86/pc/olpc/via/dsdt.dsl =================================================================== --- cpu/x86/pc/olpc/via/dsdt.dsl 2009-08-25 03:09:56 UTC (rev 1326) +++ cpu/x86/pc/olpc/via/dsdt.dsl 2009-08-25 04:36:50 UTC (rev 1327) @@ -98,11 +98,10 @@ { Name(_CST, Package() { - 4, + 3, Package(){ResourceTemplate(){Register(SystemIO, 8, 0, 0x414)}, 2, 2, 750}, Package(){ResourceTemplate(){Register(SystemIO, 8, 0, 0x415)}, 3, 65, 500}, - Package(){ResourceTemplate(){Register(SystemIO, 8, 0, 0x416)}, 4, 100, 300}, - Package(){ResourceTemplate(){Register(SystemIO, 8, 0, 0x417)}, 5, 200, 200} + Package(){ResourceTemplate(){Register(SystemIO, 8, 0, 0x416)}, 3, 100, 300}, }) } }