Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4900004iob; Mon, 9 May 2022 04:25:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyddus8G3y5WuHFKkFeaiBelNd4SX4JzQ93xs2Ka/8XzW8np/o9LlpPQUznxmmXn3bXyiwy X-Received: by 2002:a63:60d:0:b0:3c1:7361:b265 with SMTP id 13-20020a63060d000000b003c17361b265mr13155048pgg.434.1652095530014; Mon, 09 May 2022 04:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652095530; cv=none; d=google.com; s=arc-20160816; b=OsSPu/Q4HYr+lqZgiDyv8eN9DMscM2aGGbo6scRRZb6am8fLjbo2BWCC7An6qBI6/r 2Ig1sj6yBrRWYdsp8XXFhhqnHJAithfclZrhWHVowmHXBVspKjYdmb2d8ho5uz7jLXBk xFUaUmnjhjROl97IUHOu3JuyRDXqZhot0CLrsflFLCh2cItHnpjW6o0rIVdEwX5wUPS2 Lhno8N69ba/UHM7SyKUDuijR5nCCl1ZBCva49F7vi9gcKvRIwjWULzU9jwwaTP5y4Z+k aixn+nq3apgnLjslD5zXpNJAEt/WLZgjHKW2VU1siOrvxInuL7YChB8SOcVV5bTu9B2o eIOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=2A3tOkSAdkdbx1KsI4jpVdiYrUhZ88RkDtNipZ9qf7k=; b=YWRlmQpoUAWvJiMSFR/HxQonzd48ODxN6imJLty7R9+KDi66NIPLofHLDu5qXn+x7q ZaBfHraQGRvGU3IEaX3M8aEblePqUq+SIAFUn0tsXMhchlkl/pLzm+8z9WMw1tNlJzLq g2m3Dyix+WwPRjjWu6Q8eWgECecUHxH9QlHoGGblouhfcjj7s8n+1+hn2bwue2gITqiG d/0rP90Y1VzZkgvQInZ9prx+BjrihPLm4M/EKzwy0TIN8IKUJPbEE05A9lMLOJSoD+pK OI38aiJ7Ydxx7pX1i+xqSSQ7+E/JxfWuYfSdnOkopTbKLAiOiZD558TnIyF2DnhLv5uy a7BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MBysmdTy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x9-20020a170902a38900b001589d3ae40dsi10269551pla.505.2022.05.09.04.25.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 04:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MBysmdTy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F49C25AFB6; Mon, 9 May 2022 03:33:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1391636AbiEFMKH (ORCPT + 99 others); Fri, 6 May 2022 08:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344614AbiEFMKC (ORCPT ); Fri, 6 May 2022 08:10:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDE9664BC0; Fri, 6 May 2022 05:06:19 -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 8DCFAB83565; Fri, 6 May 2022 12:06:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4215CC385A8; Fri, 6 May 2022 12:06:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651838777; bh=J1BFnOrZCOSHrGx0h+sxgmQe0zh5fq+PoLA/EaqvKIU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=MBysmdTypb1LnzcGZ4cJXPF/zQ4aNjd8kO7ekgkF+E5LCDWrQDRbLjkjhZYHjI3VL Kgtq29zORPPwf/ZFbLnq5hw9X9eTFaDAYKao1/IhuBDlhfW6wLdzgKa1pj4YD7fWap nC9DqOef+XuGtLVm6rzS4Si2jwNSQiS6q3GM/vfP8vWQOWqty3wxo2Ayv13cKE/VoP MIQBhBSodm195bXu8Ha3DFijUYQdkXun6oSWnL10mHoGFqWZ53PqqtMQKMWPqAWLWq NfWNVktB2+7dNyeP3Ke1qQ1J381R4470NYJfxDsO9WiMnMtXW1CW+KpVD7mCVUof/i XQZRyUpDnuZCw== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nmwis-009S7X-Oz; Fri, 06 May 2022 13:06:14 +0100 Date: Fri, 06 May 2022 13:06:14 +0100 Message-ID: <87pmkq7tmx.wl-maz@kernel.org> From: Marc Zyngier To: Linus Walleij , Christoph Hellwig Cc: Russell King , Arnd Bergmann , Andre Przywara , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Greg Kroah-Hartman , Alan Stern , Laurentiu Tudor , Marek Szyprowski , Robin Murphy , iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: fully convert arm to use dma-direct In-Reply-To: References: <20220421074204.1284072-1-hch@lst.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: linus.walleij@linaro.org, hch@lst.de, linux@armlinux.org.uk, arnd@kernel.org, andre.przywara@arm.com, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, gregkh@linuxfoundation.org, stern@rowland.harvard.edu, laurentiu.tudor@nxp.com, m.szyprowski@samsung.com, robin.murphy@arm.com, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Apr 2022 22:17:20 +0100, Linus Walleij wrote: > > On Thu, Apr 21, 2022 at 9:42 AM Christoph Hellwig wrote: > > > 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. > (...) > > > b/arch/arm/mach-footbridge/Kconfig | 1 > > b/arch/arm/mach-footbridge/common.c | 19 > > b/arch/arm/mach-footbridge/include/mach/dma-direct.h | 8 > > b/arch/arm/mach-footbridge/include/mach/memory.h | 4 > > I think Marc Z has a Netwinder that he can test this on. Marc? > I have one too, just not much in my office because of parental leave. Finally found some time to hook the machine up and throw a new kernel at it. Booted at its usual glacial speed, so FWIW: Tested-by: Marc Zyngier Thanks, M. -- Without deviation from the norm, progress is not possible.