I just want to add a data-point and report that the force-hpet patch(es) are
working on my VIA EPIA EN12000EG (VT8237-based) with kernel 2.6.22.1-hrt3.

Hope to see this in mainline soon.

# dmesg | grep -i hpet
Force enabled HPET at base address 0xfed00000
hpet clockevent registered
Time: hpet clocksource has been installed.

# powertop1.7

Cn          Avg residency (20s)         P-states (frequencies)
C0 (cpu running)        (10.2%)
C1                0.0ms ( 0.0%)         1197 Mhz     0.5%
C2               61.9ms (89.8%)          399 Mhz    99.5%
C3                0.0ms ( 0.0%)

Wakeups-from-idle per second : 17.4

Top causes for wakeups:
   20.1% (  6.7)            python : schedule_timeout (process_timeout)
   14.4% (  4.8)              bash : queue_delayed_work_on 
(delayed_work_timer_fn)
   14.2% (  4.7)     <kernel core> : sk_reset_timer (tcp_keepalive_timer)
   14.2% (  4.7)        postmaster : schedule_timeout (process_timeout)
    7.3% (  2.4)             irssi : schedule_timeout (process_timeout)
    6.3% (  2.1)       <interrupt> : sata_via
    6.0% (  2.0)     <kernel core> : run_timer_softirq (keyScrubTimerFn)
    4.7% (  1.6)       <interrupt> : eth0
    3.0% (  1.0)              ntpd : do_setitimer (it_real_fn)
    2.9% (  0.9)           apache2 : schedule_timeout (process_timeout)
    1.4% (  0.5)     <kernel core> : queue_delayed_work_on 
(delayed_work_timer_fn)
    0.9% (  0.3)     <kernel core> : irlmp_init (irlmp_discovery_timer_expired)
    0.8% (  0.2)     <kernel core> : neigh_table_init_no_netlink 
(neigh_periodic_timer)
    0.6% (  0.2)         md0_raid1 : schedule_timeout (process_timeout)

(I never see any C3 action. There's a "enable C4" option in the BIOS, but I've 
never been
able to boot with it enabled (req. some fiddling around in the box too))

# lspci -nn
00:00.0 Host bridge [0600]: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge [1106:0314]
00:00.1 Host bridge [0600]: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge [1106:1314]
00:00.2 Host bridge [0600]: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge [1106:2314]
00:00.3 Host bridge [0600]: VIA Technologies, Inc. PT890 Host Bridge [1106:3208]
00:00.4 Host bridge [0600]: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge [1106:4314]
00:00.7 Host bridge [0600]: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge [1106:7314]
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8237 PCI Bridge [1106:b198]
00:0d.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. IEEE 1394 Host 
Controller [1106:3044] (rev 80)
00:0e.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6120/VT6121/VT6122 
Gigabit Ethernet Adapter [1106:3119] (rev 11)
00:0f.0 IDE interface [0101]: VIA Technologies, Inc. VIA VT6420 SATA RAID 
Controller [1106:3149] (rev 80)
00:0f.1 IDE interface [0101]: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 06)
00:10.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 81)
00:10.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 81)
00:10.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller [1106:3038] (rev 81)
00:10.4 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 
86)
00:11.0 ISA bridge [0601]: VIA Technologies, Inc. VT8237 ISA bridge 
[KT600/K8T800/K8T890 South] [1106:3227]
00:11.5 Multimedia audio controller [0401]: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller [1106:3059] (rev 60)
00:14.0 Network controller [0280]: RaLink RT2561/RT61 802.11g PCI [1814:0301]
01:00.0 VGA compatible controller [0300]: VIA Technologies, Inc. UniChrome Pro 
IGP [1106:3344] (rev 01)

# lspci -d 1106:3227 -xxx
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge 
[KT600/K8T800/K8T890 South]
00: 06 11 27 32 87 00 10 02 00 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 08 aa
30: 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 00 00
40: 44 00 f8 0b 00 00 00 00 0c 20 00 00 04 00 0a 08
50: 81 89 09 00 00 00 00 00 42 80 00 19 00 00 00 00
60: 80 00 00 00 00 00 04 04 80 00 d0 fe 00 00 00 00
70: 06 11 08 aa 00 00 00 00 00 00 00 00 20 00 00 00
80: 20 84 59 00 1a 30 00 00 01 04 00 00 0e 18 00 00
90: 70 2b 10 88 a0 c2 03 00 00 24 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 01 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 01 05 01 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 03 09 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 00 00

# cat /proc/timer_list
[...]
Tick Device: mode:     1
Clock Event Device: hpet
  max_delta_ns:   2147483647
  min_delta_ns:   3352
  mult:           61496110
  shift:          32
  mode:           3
  next_event:     2223780000000 nsecs
  set_next_event: hpet_legacy_next_event
  set_mode:       hpet_legacy_set_mode
  event_handler:  tick_handle_oneshot_broadcast
tick_broadcast_mask: 00000001
tick_broadcast_oneshot_mask: 00000000

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to