Re: [PATCH][2.6][2/5]Support for HPET based timer

From: Dave Hansen
Date: Wed Aug 20 2003 - 12:25:03 EST


On Wed, 2003-08-20 at 03:01, Andi Kleen wrote:
> Vojtech Pavlik <vojtech@xxxxxxx> writes:
>
> > On Tue, Aug 19, 2003 at 05:18:50PM -0700, Pallipadi, Venkatesh wrote:
> >
> > > Fixmap is for HPET memory map address access. As the timer
> > > initialization happen
> > > early in the boot sequence (before vm initialization), we need to have
> > > fixmap()
> > > and fix_to_virt() to access HPET memory map address.
> >
> > Ahh, yes, you're right. You can't use ioremap at that time. Actually I
> > did the same on x86_64 not only because of vsyscalls.
>
> iirc i386 has an ioremap_early or somesuch.

Yep, we have boot_ioremap(). It's used to do ioremap() even while we're
still using the original early boot pagetables (before paging_init()):
arch/i386/mm/boot_ioremap.c

--
Dave Hansen
haveblue@xxxxxxxxxx

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