Problem with packages version(on m68k architecture, but also on amd64 and maybe somewhere else)

2014-03-31 Thread Ondrej Riha
Problem with packages version(on m68k architecture, but also on amd64 and maybe somewhere else) linux-headers-2.6-* and linux-image-2.6-* and linux-doc-2.6-* for m68k have dummy package in which version doesn't relate with official repository of debian builds. Like linux-headers-2.6-amiga (3.0.0

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Michael Schmitz
Andreas, > Don't top post! Sorry - gurgle made me do it :') > > Michael Schmitz writes: > > > do we know the size of the first memory chunk early enough in head.S? > > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where > > we know that there's more than 4 MB in the first me

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Andreas Schwab
Don't top post! Michael Schmitz writes: > do we know the size of the first memory chunk early enough in head.S? > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where > we know that there's more than 4 MB in the first memchunk ... How do you know? You would have to reimplement

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Michael Schmitz
Andreas, do we know the size of the first memory chunk early enough in head.S? Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where we know that there's more than 4 MB in the first memchunk ... Cheers, Michael On Tue, Apr 1, 2014 at 9:58 AM, Andreas Schwab wrote: > Michael Sc

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Andreas Schwab
Michael Schmitz writes: > see attached. I may have disabled nfcon entirely - usually I use > parallel debug with ARAnyM. Thanks, with debug=par early printk is working. So the problem is that kernel-in-FastRAM does not solve the kernel-too-big/FastRAM-too-big problem, since the page tables for

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

2014-03-31 Thread Michael Schmitz
Hi Geert, On Mon, Mar 31, 2014 at 10:12 PM, Geert Uytterhoeven wrote: > Hi Michael, > > On Mon, Mar 31, 2014 at 10:06 AM, Michael Schmitz > wrote: >> The new atari_stram_alloc interface returns kernel virtual addresses >> even if the kernel runs in FastRAM. These addresses are not >> guarantee

Re: [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer

2014-03-31 Thread Jens Axboe
On 03/31/2014 01:46 AM, Geert Uytterhoeven wrote: Hi Jens, If you don't object, I'd like to take this one through the m68k tree, as it depends on a new m68k platform function. Sure, that's fine. -- Jens Axboe -- To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org with a subject of

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

2014-03-31 Thread Geert Uytterhoeven
Hi Michael, On Mon, Mar 31, 2014 at 10:06 AM, Michael Schmitz wrote: > 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

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

2014-03-31 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

[PATCH v3 4/4] m68k/atari - atari_scsi: use correct virt/phys translation for DMA buffer

2014-03-31 Thread Michael Schmitz
With the kernel running from FastRAM instead of ST-RAM, none of ST-RAM is mapped by mem_init, and DMA-addressable buffer must be mapped by ioremap. Use platform specific virt/phys translation helpers for this case. Signed-off-by: Michael Schmitz Cc: linux-s...@vger.kernel.org --- drivers/scsi/a

[PATCH v3 0/4] Atari kernel-in-FastRAM patches v3

2014-03-31 Thread Michael Schmitz
Hi Geert, changes to stram.c and atafb.c patches as requested. The external_addr case is still untested - may have other bugs that I've not seen when changing the external_addr types. CC to the relevant lists for floppy and SCSI patches. Cheers, Michael -- To UNSUBSCRIBE, email to d

[PATCH v3 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer

2014-03-31 Thread Michael Schmitz
With the kernel running from FastRAM instead of ST-RAM, none of ST-RAM is mapped by mem_init, and DMA-addressable buffer must be mapped by ioremap. Use platform specific virt/phys translation helpers for this case. Signed-off-by: Michael Schmitz Cc: linux-ker...@vger.kernel.org --- drivers/bloc

[PATCH v3 1/4] m68k/atari - stram: alloc ST-RAM pool even if kernel not in ST-RAM

2014-03-31 Thread Michael Schmitz
With the kernel loaded to FastRAM (TT-RAM), none of the ST-RAM address range is mapped by init_mem, and ST-RAM is not accessible through the normal allocation pathways as a result. Implement ST-RAM pool allocation to be based on physical addresses always (it already was when the kernel was loaded

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Michael Schmitz
Hi Geert, Hi Michael, On Sun, Mar 30, 2014 at 1:01 AM, Michael Schmitz wrote: see the following patch series for the hopefully final word on the 'make ST-RAM pool accessible for kernels running from FastRAM' story. When submitting a "take three", please annotate the individual patches with

Re: [PATCH 4/4] m68k/atari - atari_scsi: use correct virt/phys translation for DMA buffer

2014-03-31 Thread Geert Uytterhoeven
Hi James, If you don't object, I'd like to take this one through the m68k tree, as it depends on a new m68k platform function. On Sun, Mar 30, 2014 at 1:01 AM, Michael Schmitz wrote: > With new ST-RAM allocation to work also when the kernel is running > from FastRAM, use dedicated virt/phys tran

Re: [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer

2014-03-31 Thread Geert Uytterhoeven
Hi Jens, If you don't object, I'd like to take this one through the m68k tree, as it depends on a new m68k platform function. On Sun, Mar 30, 2014 at 1:01 AM, Michael Schmitz wrote: > With new ST-RAM allocation to work also when the kernel is running > from FastRAM, use dedicated virt/phys trans

Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three

2014-03-31 Thread Geert Uytterhoeven
Hi Michael, On Sun, Mar 30, 2014 at 1:01 AM, Michael Schmitz wrote: > see the following patch series for the hopefully final word on > the 'make ST-RAM pool accessible for kernels running from FastRAM' > story. When submitting a "take three", please annotate the individual patches with "[PATCH v