> Sending out an initial attempt at implementing C-states for APCI CPUs. > The C-states are used to implement the CPU idle loop per CPU. > > Please send dmesgs of booting using this patch.
it reboots my macbook pro as soon as it hits the acpi stuff. the below dmesg is from a completely current kernel that doesn't included this diff, showing up to the end of the acpi stuff OpenBSD 4.5-current (GENERIC.MP) #1: Wed Jun 10 20:03:41 EST 2009 dan...@macbook.local:/home/daniel/openbsd/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2128543744 (2029MB) avail mem = 2055323648 (1960MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (47 entries) bios0: vendor Apple Inc. version "MBP31.88Z.0070.B07.0803051658" date 03/05/08 bios0: Apple Inc. MacBookPro3,1 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices ADP1(S3) LID0(S3) ARPT(S3) GIGE(S3) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) UHC5(S3) EHC1(S3) EHC2(S3) EC__(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2194.87 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz, 2194.50 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR,NXE,LONG cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0 apid 1 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEGP) acpiprt2 at acpi0: bus 3 (RP03) acpiprt3 at acpi0: bus 11 (RP05) acpiprt4 at acpi0: bus 12 (RP06) acpiprt5 at acpi0: bus 13 (PCIB) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpiac0 at acpi0: AC unit online acpibtn0 at acpi0: LID0 acpibtn1 at acpi0: PWRB acpibtn2 at acpi0: SLPB acpibat0 at acpi0: BAT0 model "14127832176087873" type 14127832377542988 oem "14127832377609555" acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: LCD_ acpivout1 at acpivideo0: VGA_ acpivout2 at acpivideo0: TV__ cpu0: Enhanced SpeedStep 2194 MHz: speeds: 2200, 2000, 1800, 1600, 1400, 1200, 800 MHz memory map conflict 0xf00f8000/0x1000 memory map conflict 0xfed1c000/0x4000 memory map conflict 0xfffa0000/0x30000