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 1F30EC433EF for ; Thu, 21 Apr 2022 08:15:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386545AbiDUIRr (ORCPT ); Thu, 21 Apr 2022 04:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386556AbiDUIRY (ORCPT ); Thu, 21 Apr 2022 04:17:24 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D15C1F62D; Thu, 21 Apr 2022 01:14:36 -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 ams.source.kernel.org (Postfix) with ESMTPS id F3305B8229E; Thu, 21 Apr 2022 08:14:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0B63C385AA; Thu, 21 Apr 2022 08:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528873; bh=qvOB0ikvcyf8yw1Oo7pNju5ahvdIUh+2Ix9pkj27y0Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C8/36XvBwLlf/tCkvKdfxh2dlEfTwb3EENcYUs7KzlM9ndwHlgIvwLRtufU1yCfZA KYdJoOqqjcf9N6DXfaXdlsuqzcCkvpmJtduGtJ7I8h4CSVYQbm6k17H7d//HzRl1xT +iLV4x1sM5NxUm9HVTj4ysVMwzaZfVw/fvd6ju1sh2mrdEOi/o/+H0T6JRE/MDevo2 R/mw1ENGqiMBVG71qRJyYQ2KhyHdxQyK+pHv+IZH9LJSr426ea/y1UGGoPMWSecBQI FIslay2JFfL+IFTCjL3SnfnfcRPlyyTQGhbaubsdobe5Qzj75cwt2eYys8zsmNhZKf 2YEu9sdnJHjVg== Received: by mail-wr1-f53.google.com with SMTP id b19so5489476wrh.11; Thu, 21 Apr 2022 01:14:33 -0700 (PDT) X-Gm-Message-State: AOAM530q4Em9PwN+t9CPfCF+e8whFuTvA0xhGuBF8IhYZ4CZgPIwMAz1 I+b4livSIjyNrHUGdUSJrFq02IR3RZIzy1VA7SY= X-Google-Smtp-Source: ABdhPJwmmO+oW480q+9P9XgUMSnyEpeIXZk6a3NVVRJyO7eKIgGvUhnLJsU5orqLkWv0a3+Q7VPZ8SMJsIerFHk4Q8s= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr19205164wrp.407.1650528872088; Thu, 21 Apr 2022 01:14:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> In-Reply-To: <20220421074204.1284072-1-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:14:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: fully convert arm to use dma-direct 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:41 AM Christoph Hellwig wrote: > > Hi all, > > arm is the last platform not using the dma-direct code for directly > mapped DMA. With the dmaboune removal from Arnd we can easily switch > arm to always use dma-direct now (it already does for LPAE configs > and nommu). I'd love to merge this series through the dma-mapping tree > as it gives us the opportunity for additional core dma-mapping > improvements. Thanks a lot for completing this, it looks all good to me, and I hope that Russell can test my assabet patch to make sure this doesn't break anything. I saw one opportunity for an additional cleanup patch that I commented on, but that does not stop the rest from getting merged. I also made sure that this passes the basic kernelci tests across all arm machines. Arnd 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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 7F658C433F5 for ; Thu, 21 Apr 2022 08:14:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 1667560B32; Thu, 21 Apr 2022 08:14:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.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 tgFEmBgmK1ZD; Thu, 21 Apr 2022 08:14:40 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp3.osuosl.org (Postfix) with ESMTPS id 04E16607F4; Thu, 21 Apr 2022 08:14:39 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CD9A2C002F; Thu, 21 Apr 2022 08:14:39 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 7920CC002C for ; Thu, 21 Apr 2022 08:14:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 6339A60B32 for ; Thu, 21 Apr 2022 08:14:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.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 kaP24Azwk3Sg for ; Thu, 21 Apr 2022 08:14:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by smtp3.osuosl.org (Postfix) with ESMTPS id A0446607F4 for ; Thu, 21 Apr 2022 08:14:38 +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 sin.source.kernel.org (Postfix) with ESMTPS id 5EC97CE0FD5 for ; Thu, 21 Apr 2022 08:14:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF4A5C385AE for ; Thu, 21 Apr 2022 08:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528873; bh=qvOB0ikvcyf8yw1Oo7pNju5ahvdIUh+2Ix9pkj27y0Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C8/36XvBwLlf/tCkvKdfxh2dlEfTwb3EENcYUs7KzlM9ndwHlgIvwLRtufU1yCfZA KYdJoOqqjcf9N6DXfaXdlsuqzcCkvpmJtduGtJ7I8h4CSVYQbm6k17H7d//HzRl1xT +iLV4x1sM5NxUm9HVTj4ysVMwzaZfVw/fvd6ju1sh2mrdEOi/o/+H0T6JRE/MDevo2 R/mw1ENGqiMBVG71qRJyYQ2KhyHdxQyK+pHv+IZH9LJSr426ea/y1UGGoPMWSecBQI FIslay2JFfL+IFTCjL3SnfnfcRPlyyTQGhbaubsdobe5Qzj75cwt2eYys8zsmNhZKf 2YEu9sdnJHjVg== Received: by mail-wr1-f41.google.com with SMTP id bv16so5492399wrb.9 for ; Thu, 21 Apr 2022 01:14:33 -0700 (PDT) X-Gm-Message-State: AOAM530kgJVANl0u8FTisMyLR9wX2ofdOxhVML5B/lWeFd7mBybqQ697 /qbYDfG12DRwXiHZH3ZcGSMsX+2ButkTiMHKd0Y= X-Google-Smtp-Source: ABdhPJwmmO+oW480q+9P9XgUMSnyEpeIXZk6a3NVVRJyO7eKIgGvUhnLJsU5orqLkWv0a3+Q7VPZ8SMJsIerFHk4Q8s= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr19205164wrp.407.1650528872088; Thu, 21 Apr 2022 01:14:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> In-Reply-To: <20220421074204.1284072-1-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:14:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: fully convert arm to use dma-direct 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:41 AM Christoph Hellwig wrote: > > Hi all, > > arm is the last platform not using the dma-direct code for directly > mapped DMA. With the dmaboune removal from Arnd we can easily switch > arm to always use dma-direct now (it already does for LPAE configs > and nommu). I'd love to merge this series through the dma-mapping tree > as it gives us the opportunity for additional core dma-mapping > improvements. Thanks a lot for completing this, it looks all good to me, and I hope that Russell can test my assabet patch to make sure this doesn't break anything. I saw one opportunity for an additional cleanup patch that I commented on, but that does not stop the rest from getting merged. I also made sure that this passes the basic kernelci tests across all arm machines. Arnd _______________________________________________ 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 AB116C433EF for ; Thu, 21 Apr 2022 08:16:33 +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=XIf/WL5gpcf7AnlCs6puxAjPenjcwxMkvSHoQ6zo8CI=; b=pS6K4XOGc975Tq iYof7nnCnvgIYYDyzYfNWadK7aYDCm+rDMgYGFJHQgria/+QEIGGfR6ZJ5kItdfuit4ZKT8rICxK6 Bqx0G6Dtney4AJy9bwhaVKD+uKvcG8YLD/xLB9fRB6rEz6t/PqJlpJtX6V96LYQRmPiYh/WTpJa5d Xsl8bc0VLOWJu+p7e0GtMG0b48bmsf72y/Q69buAOvrCGe5U0R5Z5kFJs3Clltb7dBwpcODR1rtWz uMdttKq5ghAXPuf7Wc9tOdsAZAXh5ux5ylQu9rJ9J53eBMun4l13XOs8qG1LQwsolRgwaKxTSQtnj OtS75GIXOy9wTcMc6E7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nhRyI-00CN9Q-8i; Thu, 21 Apr 2022 08:15:26 +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 1nhRxT-00CMoL-Lu for linux-arm-kernel@lists.infradead.org; Thu, 21 Apr 2022 08:14:37 +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 29C4261BD5 for ; Thu, 21 Apr 2022 08:14:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D33F2C385B1 for ; Thu, 21 Apr 2022 08:14:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650528873; bh=qvOB0ikvcyf8yw1Oo7pNju5ahvdIUh+2Ix9pkj27y0Y=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=C8/36XvBwLlf/tCkvKdfxh2dlEfTwb3EENcYUs7KzlM9ndwHlgIvwLRtufU1yCfZA KYdJoOqqjcf9N6DXfaXdlsuqzcCkvpmJtduGtJ7I8h4CSVYQbm6k17H7d//HzRl1xT +iLV4x1sM5NxUm9HVTj4ysVMwzaZfVw/fvd6ju1sh2mrdEOi/o/+H0T6JRE/MDevo2 R/mw1ENGqiMBVG71qRJyYQ2KhyHdxQyK+pHv+IZH9LJSr426ea/y1UGGoPMWSecBQI FIslay2JFfL+IFTCjL3SnfnfcRPlyyTQGhbaubsdobe5Qzj75cwt2eYys8zsmNhZKf 2YEu9sdnJHjVg== Received: by mail-wr1-f52.google.com with SMTP id i20so5495285wrb.13 for ; Thu, 21 Apr 2022 01:14:33 -0700 (PDT) X-Gm-Message-State: AOAM531N8/2Y/YauO0N+OXt91rX2F4ZVW+C6SoCbeYE+XAx+XdMAWzPF 5VDhpS2BUdQbQuyJPFyUVbeuY7WQw+uP4QEfGI0= X-Google-Smtp-Source: ABdhPJwmmO+oW480q+9P9XgUMSnyEpeIXZk6a3NVVRJyO7eKIgGvUhnLJsU5orqLkWv0a3+Q7VPZ8SMJsIerFHk4Q8s= X-Received: by 2002:a5d:64a3:0:b0:20a:7931:5b84 with SMTP id m3-20020a5d64a3000000b0020a79315b84mr19205164wrp.407.1650528872088; Thu, 21 Apr 2022 01:14:32 -0700 (PDT) MIME-Version: 1.0 References: <20220421074204.1284072-1-hch@lst.de> In-Reply-To: <20220421074204.1284072-1-hch@lst.de> From: Arnd Bergmann Date: Thu, 21 Apr 2022 10:14:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: fully convert arm to use dma-direct 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_011435_798874_00D3E335 X-CRM114-Status: GOOD ( 16.89 ) 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:41 AM Christoph Hellwig wrote: > > Hi all, > > arm is the last platform not using the dma-direct code for directly > mapped DMA. With the dmaboune removal from Arnd we can easily switch > arm to always use dma-direct now (it already does for LPAE configs > and nommu). I'd love to merge this series through the dma-mapping tree > as it gives us the opportunity for additional core dma-mapping > improvements. Thanks a lot for completing this, it looks all good to me, and I hope that Russell can test my assabet patch to make sure this doesn't break anything. I saw one opportunity for an additional cleanup patch that I commented on, but that does not stop the rest from getting merged. I also made sure that this passes the basic kernelci tests across all arm machines. Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel