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 282C2C433F5 for ; Thu, 21 Apr 2022 14:12:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1388966AbiDUOPA (ORCPT ); Thu, 21 Apr 2022 10:15:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389188AbiDUOON (ORCPT ); Thu, 21 Apr 2022 10:14:13 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E33E43B2AB; Thu, 21 Apr 2022 07:11:13 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id D28F268B05; Thu, 21 Apr 2022 16:11:08 +0200 (CEST) Date: Thu, 21 Apr 2022 16:11:08 +0200 From: Christoph Hellwig To: Arnd Bergmann Cc: Christoph Hellwig , Russell King , Linus Walleij , Andre Przywara , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Greg Kroah-Hartman , Alan Stern , Laurentiu Tudor , Marek Szyprowski , Robin Murphy , "open list:IOMMU DRIVERS" , Linux ARM , Linux Kernel Mailing List , USB list Subject: Re: [PATCH 4/7] ARM: remove the unused virt_to_dma helper Message-ID: <20220421141108.GA20492@lst.de> References: <20220421074204.1284072-1-hch@lst.de> <20220421074204.1284072-5-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 21, 2022 at 10:00:55AM +0200, Arnd Bergmann wrote: > I think __virt_to_bus() is now unused as well and could be removed > in the same step. Yes. > It looks like __bus_to_virt() is still used in the ISA DMA API, but > as that is only used on footbridge and rpc, the generic version of > that could be moved into rpc (footbridge already has a custom > version). That sounds like a useful cleanup, but isn't really in scope for this series.