----- Forwarded message from Florentin Demetrescu echelon@free.fr ----- Date: Mon, 15 Jun 2009 01:36:40 +0200 From: Florentin Demetrescu echelon@free.fr Reply-To: Florentin Demetrescu echelon@free.fr Subject: Re: [coreboot] ACPI support on M57SLI To: Harald Gutmann harald.gutmann@gmx.net
Quoting Harald Gutmann harald.gutmann@gmx.net:
- check dmesg for error related to acpi.
1) output of "dmesg | grep -i acpi" : [ 0.000000] ACPI: RSDP (v002 CORE ) @ 0x00000000000f0400 [ 0.000000] ACPI: RSDT (v001 CORE RSDT 0x00000000 CORE 0x00000000) @ 0x00000000000f0424 [ 0.000000] ACPI: FADT (v001 GBT COREBOOT 0x00000000 iasl 0x00000000) @ 0x00000000000f0ea1 [ 0.000000] ACPI: HPET (v001 CORE AMD64 0x00000000 CORE 0x00000000) @ 0x00000000000f0f95 [ 0.000000] ACPI: MADT (v001 CORE MADT 0x00000000 CORE 0x00000000) @ 0x00000000000f0fcd [ 0.000000] ACPI: MCFG (v001 CORE MCFG 0x00000000 CORE 0x00000000) @ 0x00000000000f1035 [ 0.000000] ACPI: SRAT (v001 CORE SRAT 0x00000000 CORE 0x00000000) @ 0x00000000000f1061 [ 0.000000] ACPI: SLIT (v001 CORE SLIT 0x00000000 CORE 0x00000000) @ 0x00000000000f1101 [ 0.000000] ACPI: SSDT (v002 CORE DYNADATA 0x0000002a GENA 0x0000002a) @ 0x00000000000f112e [ 0.000000] ACPI: DSDT (v001 LXBIOS LXB-DSDT 0x00000001 INTL 0x20061109) @ 0x0000000000000000 [ 0.000000] ACPI: PM-Timer IO Port: 0x2008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] ACPI: IOAPIC (id[0x02] address[0xf4144000] gsi_base[0]) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ2 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] ACPI: HPET id: 0x102282a0 base: 0xfed00000 [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 62.311421] ACPI: Core revision 20060707 [ 62.315513] ACPI: Looking for DSDT in initramfs... file /DSDT.aml not found, using machine DSDT. [ 63.283765] ACPI: bus type pci registered [ 63.293822] ACPI: Interpreter enabled [ 63.297542] ACPI: Using IOAPIC for interrupt routing [ 63.302810] ACPI: PCI Root Bridge [PCI0] (0000:00) [ 63.313534] ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT] [ 63.315525] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBF._PRT] [ 63.315600] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBE._PRT] [ 63.315656] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBD._PRT] [ 63.315713] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBC._PRT] [ 63.315772] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBB._PRT] [ 63.315830] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PEBA._PRT] [ 63.315888] ACPI: PCI Interrupt Routing Table [_SB_.PCI0.PCID._PRT] [ 63.321951] pnp: PnP ACPI init [ 63.325291] pnp: PnP ACPI: found 3 devices [ 63.329495] PCI: Using ACPI for IRQ routing [ 66.951600] ACPI: (supports S0 S5) [ 67.605130] ACPI: PCI Interrupt 0000:00:02.1[B] -> GSI 23 (level, low) -> IRQ 23 [ 68.611707] ACPI: PCI Interrupt 0000:01:0a.0[A] -> GSI 18 (level, low) -> IRQ 18 [ 68.681455] ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 20 (level, low) -> IRQ 20 [ 69.219295] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 22 (level, low) -> IRQ 22 [ 69.436130] ACPI: PCI Interrupt 0000:01:07.0[A] -> GSI 19 (level, low) -> IRQ 19 [ 69.504130] ACPI: PCI Interrupt 0000:00:05.0[A] -> <6>eth1: Digital DS21142/DS21143 Tulip rev 48 at Port 0x1000, 08:00:2B:C3:50:3B, IRQ 19. [ 70.228005] ACPI: PCI Interrupt 0000:00:05.1[B] -> GSI 21 (level, low) -> IRQ 21 [ 70.934620] ACPI: PCI Interrupt 0000:00:05.2[C] -> GSI 22 (level, low) -> IRQ 22 [ 81.373687] ACPI: PCI Interrupt 0000:00:06.1[B] -> GSI 23 (level, low) -> IRQ 23 [ 89.176132] ibm_acpi: ec object not found [ 89.368539] ACPI: Power Button (FF) [PWRF] [ 89.753690] pcc_acpi: loading...
- check soft-power-off
2) It works!
- check PowerNow! (modprobe powernow-k8) http://www.twibble.org/Articles/amd-x2-powernow (overview)
3) output of "dmesg | grep -i power" : [ 89.368516] input: Power Button (FF) as /class/input/input3 [ 89.368539] ACPI: Power Button (FF) [PWRF] [ 90.021841] powernow-k8: Found 2 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ processors (version 2.00.00) [ 90.021890] powernow-k8: 0 : fid 0xc (2000 MHz), vid 0xa [ 90.021894] powernow-k8: 1 : fid 0xa (1800 MHz), vid 0xc [ 90.021897] powernow-k8: 2 : fid 0x2 (1000 MHz), vid 0x12 [ 90.021935] powernow-k8: ph2 null fid transition 0xc Moreover, when monitoring the CPU frequency with ksysguard (I have a KDE desktop), after launching a CPU-intensive process (like a "dd if=/dev/urandom of=/dev/null"), one can see the CPU frequency jump from 1000 MHz to 2000 MHhz.
- check HPET (works with coreboot, but not with proprietary bios ;))
4) Dunno how to (functionaly) test this.. Anyway dmesg says : [ 0.000000] ACPI: HPET (v001 CORE AMD64 0x00000000 CORE 0x00000000) @ 0x00000000000f0f95 [ 0.000000] ACPI: HPET id: 0x102282a0 base: 0xfed00000
- review my patch
Done. No remarks. :)
I did all these tests with an old ubuntu (feisty 7.04), with a 2.6.20 kernel. If more tests are needed in order to validate the Harald's patch, tell me and I will upgrade my kernel next week.
Regards, Florentin
----- End forwarded message -----