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 smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 25957C433F5 for ; Thu, 21 Apr 2022 14:11:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B347B40C11; Thu, 21 Apr 2022 14:11:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GFSj3y8MAWJk; Thu, 21 Apr 2022 14:11:18 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id AD9DD409DE; Thu, 21 Apr 2022 14:11:17 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 85155C0033; Thu, 21 Apr 2022 14:11:17 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id F1E7DC002C for ; Thu, 21 Apr 2022 14:11:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id E739A40B66 for ; Thu, 21 Apr 2022 14:11:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T7mBPP6YtRl8 for ; Thu, 21 Apr 2022 14:11:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by smtp2.osuosl.org (Postfix) with ESMTPS id 11886409DE for ; Thu, 21 Apr 2022 14:11:14 +0000 (UTC) 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 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Andrew Lunn , Gregory Clement , Andre Przywara , Linus Walleij , USB list , Russell King , Linux Kernel Mailing List , "open list:IOMMU DRIVERS" , Alan Stern , Greg Kroah-Hartman , Robin Murphy , Christoph Hellwig , Linux ARM , Sebastian Hesselbarth X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" 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. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu 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. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C9E7C433F5 for ; Thu, 21 Apr 2022 14:12:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vVUSbN5QkHcM1B8uwIY82xkkyYiNSoLfdcpjld6LzYk=; b=gM6Jl2i1tcb0Uc m6KBX3KUGojv+lMgmmQ9HeKu/ySHu1+2m6boHdq0bSpvP51B3xFWo/la3uM9bBs/etgbbmF546Dt8 PGi5rk35XTfXQ7pcnx/fPokVWkSL3pxh87ozh2Vul0ET3tlwse900jiwTP9swQpPaWRBS121NKmHF qHPAOXEKB8+8j2NDBNQuARpFSbIX9PWIYz5sbvDG666pKX1MiTT5zs9YHutK9txwXfx0uPISf2IQd qKXy8/xLwM0xCsEnk+ze9vf77CPzFzIvHLT5OFCzp+lvbDcnRmIBEor1/cflMLm8jqizgjoSnT5IP 6sJUijhTFhQuch0mU6nw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXWj-00DhyS-Vd; Thu, 21 Apr 2022 14:11:22 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhXWg-00Dhv7-Li for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 14:11:20 +0000 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_071118_874698_D55A4827 X-CRM114-Status: GOOD ( 16.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel