Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4802937imu; Wed, 19 Dec 2018 00:05:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/WnJxQGKWOgVlbEiIVeLMRsBziE3OK2XJqg/EZoo/XC/JzZblhgfpOEk9vLU4b1kPNTmc3N X-Received: by 2002:a63:4002:: with SMTP id n2mr18255854pga.137.1545206704163; Wed, 19 Dec 2018 00:05:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545206704; cv=none; d=google.com; s=arc-20160816; b=yFh88yAukJbUNndm6xnI7t0TOlbWtZAylOyB5beidPOeXWTUOXDgZR/YB1hydOid/e dRcET4xgnhvgkO0Zfda/2ri8KX/V0AbnDMMUUw50H829YPFOltXBMBMy4BzLBsbshNfY d64e+4/7peWLZUjsp3LdMFItg27gr38tI3mYHUw2N6TbuNs2cSaczUllIRDY8uz90Dzz oKyzTNi7lRsEQROj3NlG/NSk0euFl1ZDn5wgLaqDZ1fW9Y+LPeJVChlEPH4e0HPUk67A CxXGt6zwYmVIt021E425ss5vqL155jhWHNyw+VOMUunrkM25D0EGrg6hfNxxlhpCh6nx 1bKA== 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=wpf0qxUqpjgq5ujlkvjj6UbGgEpJZvQBnoldjPOX5gc=; b=aZ57UI7XyqN6mRc6uGInWqoLgA0i9+pUvrE1h2zd1M3y6bqNfKKhvUpyvAy1Yf11t5 KZ4hAMbHYZphrzWiOW6SQ8MZPvvcgLEpn9vTbY4crXaypJWeZmXEXtNPluOeUXMIF7gQ Co/D9UR040vPcmmYStV4TOKFFSJGmERjXa6KN+8d2Wif5Nwvgk5clhdszBABhDEpgBQi CbcOahF4rCZrGrChhl4O4hypg9HBByhgdtXziZXoInFaBYsP8gA1zNi+TbjvIKeG1I41 freN5FMIi8G2t3wcUjgxqX2+4/o9xuqnKV6G3Z19199zi3ollDWwvfMG4BRU4GCuHbSy vkIA== 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 h188si16076452pfg.44.2018.12.19.00.04.45; Wed, 19 Dec 2018 00:05:04 -0800 (PST) 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 S1727924AbeLSGmJ (ORCPT + 99 others); Wed, 19 Dec 2018 01:42:09 -0500 Received: from verein.lst.de ([213.95.11.211]:45213 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725290AbeLSGmJ (ORCPT ); Wed, 19 Dec 2018 01:42:09 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 9559C67358; Wed, 19 Dec 2018 07:42:06 +0100 (CET) Date: Wed, 19 Dec 2018 07:42:06 +0100 From: Christoph Hellwig To: Robin Murphy Cc: Guillaume Tucker , Christoph Hellwig , iommu@lists.linux-foundation.org, Linus Torvalds , Jesper Dangaard Brouer , Tariq Toukan , Ilias Apalodimas , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Konrad Rzeszutek Wilk , Tony Luck , Fenghua Yu , Marek Szyprowski , Keith Busch , Jonathan Derrick , linux-pci@vger.kernel.org, linux-ia64@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, ezequiel Garcia , "linux-arm-kernel@lists.infradead.org" Subject: Re: [15/15] dma-mapping: bypass indirect calls for dma-direct Message-ID: <20181219064206.GA27018@lst.de> References: <20181207190720.18517-16-hch@lst.de> <2e779fa7-dc9f-7ed8-252a-5d20c5deca9c@collabora.com> <92096de9-7183-dbe8-2169-0143190591fa@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <92096de9-7183-dbe8-2169-0143190591fa@arm.com> 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 Tue, Dec 18, 2018 at 08:42:46PM +0000, Robin Murphy wrote: >> [ 16.046084] rk_iommu ff8f3f00.iommu: DMA map error for DT > > Yup, with this patch as-is, anything which isn't behind an IOMMU will be > erroneously banned from DMA entirely - see here: > > https://lore.kernel.org/lkml/20181214142435.GA18448@lst.de/ FYI, I'm still waiting for a review on that..