lkml.org 
[lkml]   [2003]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.6][2/5]Support for HPET based timer
"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com> wrote:
>
> Problem Description:
> The requirement from HPET side is, we need to map HPET physical
> address during timer_init()
> routine and also during any read/write HPET addresses. We need to have
> this mapping kind of
> permanently, as we will do HPET reads/writes during every timer
> interrupt and also during
> every gettimeofday (if we don't use tsc timer).
> And the timer_init() happens before mem_init() (but after paging
> init()), so we cannot
> directly use ioremap(). Current implementation is using a separate
> fixmap region for HPET.

I doubt if we really need the timer running that early, apart from for
calibrate_delay().

You can probably move the time_init() and calibrate_delay() so they occur
after mem_init(). A close review would be needed to see if that is likely
to break anything. If it is, then consider creating a new late_time_init()
thing, and call that and calibrate_delay() after mem_init().



-
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:48    [W:0.061 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site