Hi Geert,
Hi Michael,

On Tue, Mar 25, 2014 at 8:53 AM, schmitz
<[email protected]> wrote:
How can I delay the call to atari_stram_reserve_pages() until after VM init,
but before driver initcalls?

arch_initcall()?
subsys_initcall()?

Right - I'll try and see what works. Could only think of device_initcall() which might have been too late.

Or you can delay the ioremap() until the first caller of atari_stram_alloc()?

Messy.

If the kernel runs in ST-RAM, I think you have to keep the reservation in
early code, to avoid no ST-RAM being available later.

Yep, that was the reason it was called from early setup. Still a bit messy but can't be helped for now.

Thanks,

   Michael


Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to