Re: HPET regression in 2.6.26 versus 2.6.25 -- found another user with the same regression

Yinghai Lu
2008-08-24T02:05:31Z

On Sat, Aug 23, 2008 at 4:42 PM, David Witbrodt <dawitbro@sbcglobal.net> wrote:
>
>
>> please check v3
>>
>> deviceid should be 0x4385 instead.
>
> Yinghai!
>
> You did it! The kernel boots without "hpet=disable" or any other
> workaround...

good

>
> (BTW, just what kernel version were you using for those patches? The
> v2.6.27-rcX series place the patch's changes over 100 lines earlier
> than the line numbers indicated in your patches....)

we are working on tip/master

>
> In case you want it, here is the output you have usually asked for:
> =============================
>
> $ dmesg
> Linux version 2.6.27-rc4.080823.hpet+bar1+v3 (dawitbro@fileserver) (gcc version 4.3.1 (Debian 4.3.1-2) ) #1 SMP Sat Aug 23 19:23:53 EDT 2008
> Command line: root=/dev/hda1 ro video=uvesafb:1280x1024-16@60,mtrr:3 fbcon=scrollback:256k,font:10x18 debug initcall_debug
> KERNEL supported cpus:
> Intel GenuineIntel
> AMD AuthenticAMD
> Centaur CentaurHauls

> 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
> Subsystem: Elitegroup Computer Systems Device 2621
> Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
> Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> Region 0: I/O ports at fa00 [size=16]
> Region 1: Memory at fed00000 (32-bit, non-prefetchable) [size=1K]
> Capabilities: <access denied>
> Kernel driver in use: piix4_smbus
> 00: 02 10 85 43 03 04 30 02 13 00 05 0c 00 00 80 00
> 10: 01 fa 00 00 00 00 d0 fe 00 00 00 00 00 00 00 00
> 20: 00 00 00 00 00 00 00 00 00 00 00 00 19 10 21 26
> 30: 00 00 00 00 b0 00 00 00 00 00 00 00 00 00 00 00

kernel leave the BAR1 untouched ...

>
> $ cat /proc/timer_list | grep -B1 -A5 hpet
> Tick Device: mode: 1
> Clock Event Device: hpet
> max_delta_ns: 149983003520
> min_delta_ns: 3352
> mult: 61496115
> shift: 32
> mode: 1
> next_event: 9223372036854775807 nsecs
> set_next_event: hpet_legacy_next_event
> set_mode: hpet_legacy_set_mode
> event_handler: tick_handle_oneshot_broadcast
> tick_broadcast_mask: 00000000
> tick_broadcast_oneshot_mask: 00000000
>

hpet works.

YH