From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: m68k v3.16 status update Date: Tue, 19 Dec 2017 09:19:15 +0100 Message-ID: References: <53E48C84.9090709@gmail.com> <53E4DDF1.9060701@kopteri.net> <53E54E6C.2040806@gmail.com> <53E5C3A7.3040106@kopteri.net> <68e92278-86e7-faef-f5b2-fbc514c27464@gmail.com> <4403d779c1664692ae5a7ef5b69ec888@aalto.fi> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-qt0-f174.google.com ([209.85.216.174]:45363 "EHLO mail-qt0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933843AbdLSITR (ORCPT ); Tue, 19 Dec 2017 03:19:17 -0500 Received: by mail-qt0-f174.google.com with SMTP id g10so23158110qtj.12 for ; Tue, 19 Dec 2017 00:19:16 -0800 (PST) In-Reply-To: Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Michael Schmitz Cc: Finn Thain , Vainikka Tuomas , linux-m68k Hi Michael, On Tue, Dec 19, 2017 at 1:40 AM, Michael Schmitz wrote: > Contrary to the Mac driver, esp->command_block and > esp->command_block_dma are not identical addresses on Amiga. Is there > a generic way to map a DMA address (i.e., physical address AFAIK) to a > kernel virtual one? (I can use esp->command_block in the reconnect > message special case but not otherwise ...) The only generic way is to use the virtual and DMA addresses as returned by the dma_map_*() functions. There may be some platform-specific legacy conversion routines around... 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