Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9849447ybi; Wed, 24 Jul 2019 11:02:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwD948upiCul9ZLEHoHuSinTTg/MJ4XhYxa3HfJundSXyldrJuXkPLNnOtWAYigy8Q8ukAy X-Received: by 2002:a17:902:2926:: with SMTP id g35mr86683593plb.269.1563991342681; Wed, 24 Jul 2019 11:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563991342; cv=none; d=google.com; s=arc-20160816; b=QMFAdrWVoe88L4QiRXvhqCOpsEUaUOefsZ64cYhzn3ZPUQ9MuTfxQs0wZelmU8yv+f O3cC0/ZgMP+3wbCyKKoQnoiE2uiSCH8U4PpLfzSjDGCFwMlKTaVk5mVkAbK0JLM6BkZ/ 125Rj3yLhOsWBvHs5ln0dfSbc2L029lE8CoTKrUashJtZSVrgQFwIjO+JovjDRp4Nrjo off4i/Vgqzogiel4bBqDoOtq18NpXUFuVThK1jEpi/HuqOe6HSEGPt4+oERL5xsRqIAH 6P/OQ5yxuUr6pLNpL7CiT3yQUqBlU8e6KHyinq8Ugv561szmrblEKq8O3PmVQOBpn3ho mXgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=H4tuAChPqboxoUx8w5lBjb5Bv+AkJEkRmxv9Z5mntEA=; b=bk3HE4geo0H2R8GbXCMgdQXepXrZy5wVze7DrjOc+FxlXyHj7zQNfbsBxLxj8aHAfM dm5y7EANk74KmbhIPALWXB39jGCbfGJb9vwn+iL5pXcNECIocWWa5V8wr7dV5MDrdV5w 7+Rr3uduDRzVHTqfWfi50/E1Iqv4PQEMzE8oM3OQ1409xhx6l55fyc7hKnpgJtE4yWR+ oJcV2nKKMtiawsIvJMMIwFgJvz/myYur3FUSAV8HxPAP/4NPzcdnwBCy7NyXy9nV3Jgq 2CBd0X/eQoEN1IDPyc0tBdJO+CeTHkCvNzbaT4AFaZePmZ/3axyOgDBtBk44/hXSc07X 5unQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si15029188pgg.334.2019.07.24.11.02.07; Wed, 24 Jul 2019 11:02:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726857AbfGXRzy (ORCPT + 99 others); Wed, 24 Jul 2019 13:55:54 -0400 Received: from verein.lst.de ([213.95.11.211]:53005 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfGXRzx (ORCPT ); Wed, 24 Jul 2019 13:55:53 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 4813E68B20; Wed, 24 Jul 2019 19:55:51 +0200 (CEST) Date: Wed, 24 Jul 2019 19:55:51 +0200 From: Christoph Hellwig To: Nicolas Saenz Julienne Cc: Christoph Hellwig , Russell King - ARM Linux admin , Vignesh Raghavendra , Konrad Rzeszutek Wilk , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, Roger Quadros Subject: Re: [PATCH 2/2] arm: use swiotlb for bounce buffer on LPAE configs Message-ID: <20190724175551.GA13073@lst.de> References: <20190709142011.24984-1-hch@lst.de> <20190709142011.24984-3-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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 24, 2019 at 07:23:50PM +0200, Nicolas Saenz Julienne wrote: > Out of curiosity, what is the reason stopping us from using dma-direct/swiotlb > instead of arm_dma_ops altogether? Nothing fundamental. We just need to do a very careful piecemeal migration as the arm code handles a ot of interesting corner case and we need to ensure we don't break that. I have various WIP patches for the easier bits and we can work from there.