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 C8443C433F5 for ; Thu, 21 Apr 2022 08:02:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386394AbiDUIF2 (ORCPT ); Thu, 21 Apr 2022 04:05:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386395AbiDUIFX (ORCPT ); Thu, 21 Apr 2022 04:05:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 872461CFFE; Thu, 21 Apr 2022 01:02:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 232BE61ABA; Thu, 21 Apr 2022 08:02:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83C1BC385C5; Thu, 21 Apr 2022 08:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528154; bh=85ztGE8SAOJYsSsE/m/ye56564WWRnDCXfBI1VMh6w8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gx80Hh2cCildDpD/QBFdHR9o5EQI4TZJNxY+M5H7fSxIckh3WEkeA61atMMdcjAs3 S1eAqplyh6FpSWhZlnE0zDt0DMoZ8vQJuuaC4Dyt6mtvcJHJGQlslG5tWAyufFpN7U +m0rH/jQNDvZtdE/ERPjRIKmMtCRfEgSCJgh2GuB0cb3cWfOQPdDoOuidIcQKuG0iY Sm9In6QEX7I7ZUBytG03Y7EH+G6pbZrkiy+sLch/OlLXMVfSl9zmTeQMB6R8FT7Xr5 vWGQ0s3//ga4gycac/gtSC/F4l8SxARO/sZm4JlDqEsV2KSP7jzaKcflBXrbYPAdoM n/ugXKlhfRznQ== Received: by mail-wr1-f53.google.com with SMTP id i20so5451740wrb.13; Thu, 21 Apr 2022 01:02:34 -0700 (PDT) X-Gm-Message-State: AOAM5336s/lqLWJqUNhdXZXKtbE1EVKn3nShpPnB/r7QTkBTeoLYM1ET lCvzBB9vXlUTwTgdpgXr3jqQWrak8iOCQkcIclk= X-Google-Smtp-Source: ABdhPJwd18r+4oxvbBvNk4Ssn0sgurWbN+G4WyUL66cAw98TCXAYMvuBOOjMpSguCZLqOVEc5MnPUhcs76UVW8oNVSU= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr18349140wru.192.1650528152748; Thu, 21 Apr 2022 01:02:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> <20220421074204.1284072-6-hch@lst.de> In-Reply-To: <20220421074204.1284072-6-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:02:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/7] ARM: use dma_to_phys/phys_to_dma in the dma-mapping code To: Christoph Hellwig Cc: 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 21, 2022 at 9:42 AM Christoph Hellwig wrote: > > Use the helpers as expected by the dma-direct code in the old arm > dma-mapping code to ease a gradual switch to the common DMA code. > > Signed-off-by: Christoph Hellwig Reviewed-by: Arnd Bergmann 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 AB766C433FE for ; Thu, 21 Apr 2022 08:02:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 662D3405C2; Thu, 21 Apr 2022 08:02:40 +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 lM7mlQ_9bmDz; Thu, 21 Apr 2022 08:02:39 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp2.osuosl.org (Postfix) with ESMTPS id 4A077400E5; Thu, 21 Apr 2022 08:02:39 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 1201FC0033; Thu, 21 Apr 2022 08:02:39 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id DE0F9C002C for ; Thu, 21 Apr 2022 08:02:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id B887F60C26 for ; Thu, 21 Apr 2022 08:02:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ONiyDZYC46xP for ; Thu, 21 Apr 2022 08:02:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by smtp3.osuosl.org (Postfix) with ESMTPS id 3B79960C22 for ; Thu, 21 Apr 2022 08:02:36 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4EBD061BBC for ; Thu, 21 Apr 2022 08:02:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C18CC385B9 for ; Thu, 21 Apr 2022 08:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528154; bh=85ztGE8SAOJYsSsE/m/ye56564WWRnDCXfBI1VMh6w8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gx80Hh2cCildDpD/QBFdHR9o5EQI4TZJNxY+M5H7fSxIckh3WEkeA61atMMdcjAs3 S1eAqplyh6FpSWhZlnE0zDt0DMoZ8vQJuuaC4Dyt6mtvcJHJGQlslG5tWAyufFpN7U +m0rH/jQNDvZtdE/ERPjRIKmMtCRfEgSCJgh2GuB0cb3cWfOQPdDoOuidIcQKuG0iY Sm9In6QEX7I7ZUBytG03Y7EH+G6pbZrkiy+sLch/OlLXMVfSl9zmTeQMB6R8FT7Xr5 vWGQ0s3//ga4gycac/gtSC/F4l8SxARO/sZm4JlDqEsV2KSP7jzaKcflBXrbYPAdoM n/ugXKlhfRznQ== Received: by mail-wr1-f47.google.com with SMTP id c10so5500583wrb.1 for ; Thu, 21 Apr 2022 01:02:34 -0700 (PDT) X-Gm-Message-State: AOAM531lbYgY9Rsy37b4zWWVDc78MvnwU0kiKTkvF+Cewl53uArQ9pHO 2P7oyQxATXf8KWDALIDXzQ96YqEnGoOjgXulbug= X-Google-Smtp-Source: ABdhPJwd18r+4oxvbBvNk4Ssn0sgurWbN+G4WyUL66cAw98TCXAYMvuBOOjMpSguCZLqOVEc5MnPUhcs76UVW8oNVSU= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr18349140wru.192.1650528152748; Thu, 21 Apr 2022 01:02:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> <20220421074204.1284072-6-hch@lst.de> In-Reply-To: <20220421074204.1284072-6-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:02:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/7] ARM: use dma_to_phys/phys_to_dma in the dma-mapping code To: Christoph Hellwig Cc: Andrew Lunn , Andre Przywara , Linus Walleij , USB list , Russell King , Linux Kernel Mailing List , "open list:IOMMU DRIVERS" , Alan Stern , Greg Kroah-Hartman , Robin Murphy , Gregory Clement , 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 9:42 AM Christoph Hellwig wrote: > > Use the helpers as expected by the dma-direct code in the old arm > dma-mapping code to ease a gradual switch to the common DMA code. > > Signed-off-by: Christoph Hellwig Reviewed-by: Arnd Bergmann _______________________________________________ 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 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 824CFC433F5 for ; Thu, 21 Apr 2022 08:07:42 +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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4zhsTw/G+WqVciBMs/kX+aWgUgsDlINs2JAQL3dcGX4=; b=GMtbpJmAnVQApC 6+MMezQN3bjfYKdLF6XPKf3WgBvtF0EHLx54qhJIC1k08TC5f3/S+THZsoMXr59n2AqlvtqCczaCj t/ykIb/GcUoEpdDAWTWT6ReaOJNA8WmpYGfK9cmwAuRKQsCbjo81t0/Bf1hyHc9lueLkV/CxSksuB iOQyzuHVhmKpbbpnF2U993UgG8bg4kayAMlOesXdEduHUw5mTF4bmzJi0IEC2LlvWDYcZxqFVVTJY XxmicJXypOvDWngSBFQGtrKUXIIiQEswhkXVCEXYFVHLSgbtcK9YhTmnTFzpSp/tklmQA4Vf2TLpO IWYc6/ApFQR16s5BAg+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRpe-00CJ7h-IS; Thu, 21 Apr 2022 08:06:31 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRls-00CHBR-Pi for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 08:02:38 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B93761BBE for ; Thu, 21 Apr 2022 08:02:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C775C385B8 for ; Thu, 21 Apr 2022 08:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528154; bh=85ztGE8SAOJYsSsE/m/ye56564WWRnDCXfBI1VMh6w8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=gx80Hh2cCildDpD/QBFdHR9o5EQI4TZJNxY+M5H7fSxIckh3WEkeA61atMMdcjAs3 S1eAqplyh6FpSWhZlnE0zDt0DMoZ8vQJuuaC4Dyt6mtvcJHJGQlslG5tWAyufFpN7U +m0rH/jQNDvZtdE/ERPjRIKmMtCRfEgSCJgh2GuB0cb3cWfOQPdDoOuidIcQKuG0iY Sm9In6QEX7I7ZUBytG03Y7EH+G6pbZrkiy+sLch/OlLXMVfSl9zmTeQMB6R8FT7Xr5 vWGQ0s3//ga4gycac/gtSC/F4l8SxARO/sZm4JlDqEsV2KSP7jzaKcflBXrbYPAdoM n/ugXKlhfRznQ== Received: by mail-wr1-f41.google.com with SMTP id i20so5451736wrb.13 for ; Thu, 21 Apr 2022 01:02:34 -0700 (PDT) X-Gm-Message-State: AOAM530QWynGO8CBR2dWpgzdALIa3ii6JEGcIeXl3kT1naAacHlwcNI2 A+13d/SwklzE88JSPnSvub3KbX1YUejRQ2wjfb4= X-Google-Smtp-Source: ABdhPJwd18r+4oxvbBvNk4Ssn0sgurWbN+G4WyUL66cAw98TCXAYMvuBOOjMpSguCZLqOVEc5MnPUhcs76UVW8oNVSU= X-Received: by 2002:a5d:6983:0:b0:207:a226:df4b with SMTP id g3-20020a5d6983000000b00207a226df4bmr18349140wru.192.1650528152748; Thu, 21 Apr 2022 01:02:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> <20220421074204.1284072-6-hch@lst.de> In-Reply-To: <20220421074204.1284072-6-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:02:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/7] ARM: use dma_to_phys/phys_to_dma in the dma-mapping code To: Christoph Hellwig Cc: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220421_010236_911602_1DEB45DA X-CRM114-Status: GOOD ( 15.17 ) 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 9:42 AM Christoph Hellwig wrote: > > Use the helpers as expected by the dma-direct code in the old arm > dma-mapping code to ease a gradual switch to the common DMA code. > > Signed-off-by: Christoph Hellwig Reviewed-by: Arnd Bergmann _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel