Re: [PATCH 2/4] m68k/atari - atafb: convert allocation of fb ram to new interface

2014-03-30 Thread Geert Uytterhoeven
Hi Michael, On Sun, Mar 30, 2014 at 1:01 AM, Michael Schmitz wrote: > @@ -3166,13 +3167,13 @@ int __init atafb_init(void) > memset(screen_base, 0, mem_req); > pad = -(unsigned long)screen_base & (PAGE_SIZE - 1); > screen_base += pad; > -

[PATCH 2/4] m68k/atari - atafb: convert allocation of fb ram to new interface

2014-03-29 Thread Michael Schmitz
The new atari_stram_alloc interface returns kernel virtual addresses even if the kernel runs in FastRAM. These addresses are not guaranteed to be identical with the physical addresses. Since ST-RAM mappings have not been set up by mem_init, virt_to_phys() and its cousin do not work and the atari_st