* Re: [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer
[not found] ` <1396137686-32678-4-git-send-email-schmitz@debian.org>
@ 2014-03-31 7:46 ` Geert Uytterhoeven
2014-03-31 14:28 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-03-31 7:46 UTC (permalink / raw)
To: Jens Axboe
Cc: Linux/m68k, Debian m68k, Michael Schmitz, Michael Schmitz,
linux-kernel@vger.kernel.org
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 <schmitzmic@gmail.com> wrote:
> With new ST-RAM allocation to work also when the kernel is running
> from FastRAM, use dedicated virt/phys translation for this case.
>
> Signed-off-by: Michael Schmitz <schmitz@debian.org>
> ---
> drivers/block/ataflop.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c
> index 0e30c6e..f54655a 100644
> --- a/drivers/block/ataflop.c
> +++ b/drivers/block/ataflop.c
> @@ -1952,7 +1952,7 @@ static int __init atari_floppy_init (void)
> goto Enomem;
> }
> TrackBuffer = DMABuffer + 512;
> - PhysDMABuffer = virt_to_phys(DMABuffer);
> + PhysDMABuffer = atari_stram_to_phys(DMABuffer);
> PhysTrackBuffer = virt_to_phys(TrackBuffer);
> BufferDrive = BufferSide = BufferTrack = -1;
>
> --
> 1.7.0.4
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer
2014-03-31 7:46 ` [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer Geert Uytterhoeven
@ 2014-03-31 14:28 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-03-31 14:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Linux/m68k, Debian m68k, Michael Schmitz, Michael Schmitz,
linux-kernel@vger.kernel.org
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-31 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1396137686-32678-1-git-send-email-schmitz@debian.org>
[not found] ` <1396137686-32678-4-git-send-email-schmitz@debian.org>
2014-03-31 7:46 ` [PATCH 3/4] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer Geert Uytterhoeven
2014-03-31 14:28 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox