Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5614771ybp; Tue, 8 Oct 2019 05:53:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmt9KEy8J19uwpz05huCvJWiy2hC1BZzw9zPkqExFIJcjWG9M/Vfq0/xxbRbsJfznTG8Oc X-Received: by 2002:a50:b6a8:: with SMTP id d37mr395839ede.63.1570539186917; Tue, 08 Oct 2019 05:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570539186; cv=none; d=google.com; s=arc-20160816; b=w8q2hkcgYJDXkHGWaYHqREySRGOQBgoQIe2ZWvBHy89OnKT1+vz7o0l2fvkj5/OAFA FwT6p2fslvNgzHLeXkvgifCvNkhHjktDv2NBvoH3SAlqotkR5kW+vrugvrWN3jHGGIDI deHG8N9scyUx2l+EYdw+IdOjCLzPzNxKshFUc8Gt6sSLZhfRtB1JhwCuvx5F23BTojEz BXyKd7eO79wumx9ppRH+aGc1sNsyE38LBcenMz2CLrrhwukNiN/701DUo0OiSgd4U/aI lXkddcRjxqrpwEd2k11aU5VJ7V/xETRaIUjiJyB0OsdsKn5K1WvsF3OoBTrYW6EgFou/ n80Q== 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=Z8ABNTDblRwvUtn8I9PWJGst9HqAnVgiIuKrbmrZfhk=; b=QqqM+Cl/46Xm4z9DvOEvM76jW6TtzCQ9mZDPSK3LC0u4QUuQGy04huLyTsYiK66WOL +aWoNkcoDY3D/GRuGlPWBBnMzd/uGk+ilJJUtQGrhF4mQsgUUGIxgad+wXw5t+7UeFLk mXmnP3v228Mewp3kcy2EKqbeTliB3dSIQ+95sMdPRFYXcvwfA2cRjKVJzq8Ro2WKoijJ jMF5G6RXIwIynIFREziNb6cWk55etS5rTRZsOhHSA/I4ocLMOb5uBfpvTu7CgozCb5NU Qbim0930b9baII/stEYm//8Frq9PCSTBPw+T6hcka0Qdb4sHZvy+vvK9Inkzzwempoj4 JY1g== 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 k16si8842130ejo.7.2019.10.08.05.52.43; Tue, 08 Oct 2019 05:53:06 -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 S1730878AbfJHMuN (ORCPT + 99 others); Tue, 8 Oct 2019 08:50:13 -0400 Received: from verein.lst.de ([213.95.11.211]:46671 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730605AbfJHMuN (ORCPT ); Tue, 8 Oct 2019 08:50:13 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id D55AD68B05; Tue, 8 Oct 2019 14:50:08 +0200 (CEST) Date: Tue, 8 Oct 2019 14:50:08 +0200 From: Christoph Hellwig To: Arvind Sankar Cc: Christoph Hellwig , Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2 Message-ID: <20191008125008.GA4829@lst.de> References: <20191007175430.GA32537@rani.riverdale.lan> <20191007175528.GA21857@lst.de> <20191007175630.GA28861@infradead.org> <20191007175856.GA42018@rani.riverdale.lan> <20191007183206.GA13589@rani.riverdale.lan> <20191007184754.GB31345@lst.de> <20191007221054.GA409402@rani.riverdale.lan> <20191007235401.GA608824@rani.riverdale.lan> <20191008073210.GB9452@lst.de> <20191008115103.GA463127@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191008115103.GA463127@rani.riverdale.lan> 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, Oct 08, 2019 at 07:51:03AM -0400, Arvind Sankar wrote: > What I mean is, do there exist devices (which would necessarily support > 64-bit DMA) that want to DMA using bigger than 4Gb buffers. Eg a GPU > accelerator card with 16Gb of RAM on-board that wants to map 6Gb for DMA > in one go, or 5 accelerator cards that are in one IOMMU domain and want > to simultaneously map 1Gb each. If you allocate more than 32-bits worth of address space the IOMMU address space allocator will dip into 64-bit values if the device dma mask supports that.