How early? If this is just to get gettimeofday() working, can't it
wait until the regular initcalls are done?
> However one of the registers needs to be kept mapped
>for the life of the system (look for "cyclone_timer" below). I couldn't
>find any documentation on whether memory mapped with bt_ioremap can be
>held across mem_init(). It seems to "just work" but I wanted to find out
>if I really should be re-mapping the register w/ ioremap once it becomes
>available.
If you look in include/asm-i386/fixmap.h you'll see that the BT ioremap
pages are temporary, and they do disappear once mem_init() [or whatever]
is done [pgtable.h sets VMALLOC_END to just below FIXADDR_START, which
protects the permanent fixmaps but intensionally not the temporary ones].
If it seemed to work for you then that's just luck, or perhaps it does
work in highmem kernels?
For things that must be mapped very early and continue to be mapped as
long as the kernel is up, you need a permanent fixmap. fixmap.h has a
number of permanent fixmaps defined #ifdef CONFIG_* and you can easily
add your own there, under #ifdef CONFIG_X86_IBMEXA.
/Mikael
-
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/