RE: Dell BIOS and HPET timer support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HPET timer will be useful for different purposes:
1) Kernel uses it for timer interrupt and time source (gettimeofday).
Kernel will use one particular timer among available HPET timers
(typically 3).
2) The HPET driver exports the HPET device in /dev which can be used by
other kernel drivers or user programs.

In this particular case, with forcing of HPET, (1) above seems to be
working fine.
But, (2) is printing 0ns. Probably because missing HPET information in
ACPI. You may need to do some more changes in drivers/char/hpet.c in
case BIOS doesn not support HPET.

But, this will not affect normal kernel functioning. This will only
affect is someone wants to use /dev/hpet interface.

Thanks,
Venki


>-----Original Message-----
>From: [email protected] 
>[mailto:[email protected]] On Behalf Of Jon Smirl
>Sent: Wednesday, June 08, 2005 1:12 PM
>To: lkml
>Subject: Dell BIOS and HPET timer support
>
>After several communications with Dell support I have determined that
>most Dell BIOSs don't include the ACPI entry for the HPET timer. The
>official reason for this is that no version of Windows uses the HPET
>and adding the ACPI entry might cause compatibility problems.
>
>So I added this to force the HPET on:
>   extern unsigned long hpet_address;
>   hpet_address = 0xfed00000ULL;
>
>Now my HPET seems to be working:
>hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
>hpet0: 0ns tick, 3 64-bit timers
>Using HPET for base-timer
>Using HPET for gettimeofday
>
>What does the 0ns tick mean, is this bad? Is there any way to verify
>my HPET is working correctly? My date/time is advancing.
>
>If my HPET is working correctly is it ok to add a probe to 
>find the timer?
>
>-- 
>Jon Smirl
>[email protected]
>-
>To unsubscribe from this list: send the line "unsubscribe 
>linux-kernel" in
>the body of a message to [email protected]
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux