lkml.org 
[lkml]   [2003]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.6][5/5]Support for HPET based timer
On Tue, Aug 19, 2003 at 12:20:22PM -0700, Pallipadi, Venkatesh wrote:

> 5/5 - hpet5.patch - This can be a standalone patch. Without this
> patch we loose interrupt generation capability
> of RTC (/dev/rtc), due to HPET. With this patch
> we basically try to emulate RTC interrupt
> functions in software using HPET counter 1.
>

This is very wrong IMO. We shouldn't try to emulate the RTC interrupt
for the kernel, instead the HPET should use native APIC interrupt
routing. This way the RTC will keep working and the 'legacy mode' of
HPET doesn't need to be used. I must admit I was a bit lazy when I was
implementing the x86_64 variant and the native IRQ for HPET is still on
my to-do list.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.049 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site