Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4608303ybp; Mon, 7 Oct 2019 10:58:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqGJdq8KsRzhMeR4okcIZQ4+ALJaN5ecfj/GJQcDFz5FfIf4+X6MVXLTWZkzfoGuz/rCIV X-Received: by 2002:aa7:cf81:: with SMTP id z1mr30202260edx.224.1570471118033; Mon, 07 Oct 2019 10:58:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570471118; cv=none; d=google.com; s=arc-20160816; b=xIpWsFFFOZ8V3ODey8NsZjKpAK6dQWiYOJg1AolR4AtWsKgf5ymy+dfpx2UXhHj+LW 5pqhlJutBODLHaJ7BnWINrTT1hVYmHFpwwSnBwK3D50rf4a6EzB5/Bi3l8mltVE2b6QH Ab6397xSQJnR/H+HsXSSGs9sNTLP8y1uDbE6bBPXERuSnkvjmxOXc1wEz2/WVkAGi/xL WJ367D9ageEunV4GkRpTTFLzEvGECIhJ+HgwsR54QB6zkAjZ3HtBy/dMPFTLaqMxmnLf ktECaa/pRO23+FqT+nErffNpwWxwNr0Z3ePNaWBmjsgownhhzkwAqVP7TaYVWFO6UOux JVPQ== 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=R2m6sMODwq4LTmz3UTutdgiJj8ioUAriQiwTJVax3IQ=; b=NKK7oq549UaRHmA0GWXlkwelGTLgMSUqwUN7xv776BxFrZlyaiZLmkf4r6lNaRLRpS PN7HSPpwHLBstUhFAns8zx2ko2ymb0tbrYBx/KPSyxYsxaR5UY4w1nAGyqyHnBXM5DNg cLDNM83RquVZf+CKguMqFZUV97P7r9Gr4KowqsJn2tKbfUosqFfjN8FCwyS5SP6y47tP qK2nDm2Eok3tz2zXWbbsB4urMpX5H8usJ3mAAy1xhaoYzyPnRD0qPJn0sGnOZYA4eqjm uywK+CXoGs1VQt9JQpeEnMUrTlP8eLIBeJwNdbZLLee+B7N6Ne1xEi+arRp5kCWAhkc5 UXIA== 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 z9si9253774edz.77.2019.10.07.10.58.14; Mon, 07 Oct 2019 10:58:38 -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 S1728691AbfJGRzc (ORCPT + 99 others); Mon, 7 Oct 2019 13:55:32 -0400 Received: from verein.lst.de ([213.95.11.211]:39764 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728079AbfJGRzc (ORCPT ); Mon, 7 Oct 2019 13:55:32 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id D13CA68B20; Mon, 7 Oct 2019 19:55:28 +0200 (CEST) Date: Mon, 7 Oct 2019 19:55:28 +0200 From: Christoph Hellwig To: Arvind Sankar Cc: Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: ehci-pci breakage with dma-mapping changes in 5.4-rc2 Message-ID: <20191007175528.GA21857@lst.de> References: <20191007022454.GA5270@rani.riverdale.lan> <20191007073448.GA882@lst.de> <20191007175430.GA32537@rani.riverdale.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191007175430.GA32537@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 Mon, Oct 07, 2019 at 01:54:32PM -0400, Arvind Sankar wrote: > It doesn't boot with the patch. Won't it go > dma_get_required_mask > -> intel_get_required_mask > -> iommu_need_mapping > -> dma_get_required_mask > ? > > Should the call to dma_get_required_mask in iommu_need_mapping be > replaced with dma_direct_get_required_mask on top of your patch? Yes, sorry.