From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B297CCA473 for ; Mon, 27 Jun 2022 08:26:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233537AbiF0I04 (ORCPT ); Mon, 27 Jun 2022 04:26:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233445AbiF0I0y (ORCPT ); Mon, 27 Jun 2022 04:26:54 -0400 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1725617A; Mon, 27 Jun 2022 01:26:53 -0700 (PDT) Received: by mail-qv1-f53.google.com with SMTP id t16so13792356qvh.1; Mon, 27 Jun 2022 01:26:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ir7A3VG3rQ4e3U1bE1FV/pPr5VS7k4YiEaqfUpRXgys=; b=IJ/ker2OztbJ6Y9amS9jpZJVZjrNwaCbvU7EONtHRurGva4phx1A2Vz5fxtGN0yZsA TR1sYSnVi+/V0MXk4MqXo0SASB/Uw2uFsOVcvFPVguB+a2HLNqnUzalfWFG2yYwXK/qF NmtOTqWa1cBkFPKEhFtzBI6YMI0t+NCK2yi3yQc6a3Dr6BeSU8Z3Pkamt/adCD1cs0nx 1gqv8CRD77DOzFqTdWNsVKzd1XKGOLikBxmMx3IInATouWFhQQyoNTXtJDhuk+ugiVaR M6NCqh9vZn0yK5eFQgfBee37uGMtyAzD04nqvwb/eO0laJmRYajuNgNWugdSfnTDeJvt WRiA== X-Gm-Message-State: AJIora8RvMF9qKR7n4Ab/++axdpQcYPngCMxpkIM0w7gRaRGIgrgeUvE hiwKKJsE9Zo2Nl2+e9OPXCivO8YRY1AR0A== X-Google-Smtp-Source: AGRyM1vHhDLOj+YR67X6R5xmjl5UZpyqZlzepweNOBfzLHP+pW893g5tK/bnuEQLeWEDWMAu/+/d9w== X-Received: by 2002:a05:6214:21c4:b0:470:4aa8:1eba with SMTP id d4-20020a05621421c400b004704aa81ebamr7746704qvh.125.1656318411789; Mon, 27 Jun 2022 01:26:51 -0700 (PDT) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com. [209.85.128.175]) by smtp.gmail.com with ESMTPSA id ay41-20020a05620a17a900b006af0d99c7fesm4807183qkb.132.2022.06.27.01.26.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jun 2022 01:26:51 -0700 (PDT) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-2ef5380669cso77766197b3.9; Mon, 27 Jun 2022 01:26:50 -0700 (PDT) X-Received: by 2002:a81:a092:0:b0:318:5c89:a935 with SMTP id x140-20020a81a092000000b003185c89a935mr14193176ywg.383.1656318410280; Mon, 27 Jun 2022 01:26:50 -0700 (PDT) MIME-Version: 1.0 References: <20220617125750.728590-1-arnd@kernel.org> <20220617125750.728590-4-arnd@kernel.org> <6ba86afe-bf9f-1aca-7af1-d0d348d75ffc@gmail.com> In-Reply-To: <6ba86afe-bf9f-1aca-7af1-d0d348d75ffc@gmail.com> From: Geert Uytterhoeven Date: Mon, 27 Jun 2022 10:26:37 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/3] arch/*/: remove CONFIG_VIRT_TO_BUS To: Michael Schmitz Cc: Arnd Bergmann , scsi , Linux Kernel Mailing List , Arnd Bergmann , Jakub Kicinski , Christoph Hellwig , Marek Szyprowski , Robin Murphy , Linux IOMMU , Khalid Aziz , "Maciej W . Rozycki" , Matt Wang , Miquel van Smoorenburg , Mark Salyzyn , linuxppc-dev , Linux-Arch , alpha , linux-m68k , Parisc List , Denis Efremov , Michael Ellerman Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Hi Michael, On Sat, Jun 18, 2022 at 3:06 AM Michael Schmitz wrote: > Am 18.06.2022 um 00:57 schrieb Arnd Bergmann: > > From: Arnd Bergmann > > > > All architecture-independent users of virt_to_bus() and bus_to_virt() > > have been fixed to use the dma mapping interfaces or have been > > removed now. This means the definitions on most architectures, and the > > CONFIG_VIRT_TO_BUS symbol are now obsolete and can be removed. > > > > The only exceptions to this are a few network and scsi drivers for m68k > > Amiga and VME machines and ppc32 Macintosh. These drivers work correctly > > with the old interfaces and are probably not worth changing. > > The Amiga SCSI drivers are all old WD33C93 ones, and replacing > virt_to_bus by virt_to_phys in the dma_setup() function there would > cause no functional change at all. FTR, the sgiwd93 driver use dma_map_single(). 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