Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1526992pxu; Tue, 24 Nov 2020 02:29:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzrWDTsxSrG4qr+JyjJmtTAag473B54St8GPyX+Kmnl/pKp46itSY5SSi3tJGwTWFxLjHW+ X-Received: by 2002:aa7:df81:: with SMTP id b1mr3159624edy.365.1606213758666; Tue, 24 Nov 2020 02:29:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606213758; cv=none; d=google.com; s=arc-20160816; b=XWEce+wtcmxnHYyXG9sgg76pwSG20Wlk5GSxkUedBwVp7HBR83sA1iaPp6fNdV0j8B yghTzuJHAvlLTcu3S49RwCQqE8N+J3VfnmRabVaeC4w0Z+tQs5CBk79uj4DanIcF65gj czZwszHvGQJET2NQ6/bpeRUU3oNGv1DZY5Fchh8IpRsNyDbRhNgCQI7WynZnIZp7ZbQb 32VGZSxb3m5dXs4KIxYvCXEc96YCk+CAjsgtq+Pc7RDPfIpivE1uIqzkQmwnYRzQwPni +vyfkO2jDYntQ1hXw39YnzMqdOaIpwV95HNWljGvUYeVspnlpU2816Jp6yEmCOWasZ48 Jx2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=LHAXO1A8F+IdvsrjAuhZsyuDHT43jMCTVZEzymyJM9E=; b=tc+p3PHkZV1CVOHbswhYFj7wbpMHSJYhVSWqFiLz0vVrEGF8154CC0Y3ucjS6wcRYB 5jw7zJe0RcXSSvNUMMSqBdJuF2MchBP+sTd/1WDPYVBSvKJGb0oBFn1LuGrqlcUV2QbC +iKibSG5IVjvON0ahTUk3R4bZihK+Am3LNEzlQxzBVCWqjHSwNeeAZ8vSWIttKMov1FQ AVkOn4ffYq1+fRApIWHuqHtprVnN/vI2T7DkT9BnZEYdvJCS2RteJv6ZY2FVnxobD0D+ NSMXqAuKJ3KSUwCUFSmnMTUCtZORTZt2GcgYEa32ohDCDqUF+suB2HIKf6b9+bpf4MAK ej8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr18si8108675ejb.201.2020.11.24.02.28.54; Tue, 24 Nov 2020 02:29:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732004AbgKXK1S (ORCPT + 99 others); Tue, 24 Nov 2020 05:27:18 -0500 Received: from verein.lst.de ([213.95.11.211]:53857 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731828AbgKXK1S (ORCPT ); Tue, 24 Nov 2020 05:27:18 -0500 Received: by verein.lst.de (Postfix, from userid 2407) id 8AE1867373; Tue, 24 Nov 2020 11:27:15 +0100 (CET) Date: Tue, 24 Nov 2020 11:27:15 +0100 From: Christoph Hellwig To: Hans de Goede Cc: Mathias Nyman , Greg Kroah-Hartman , Christoph Hellwig , linux-usb , Linux Kernel Mailing List , linux-pci@vger.kernel.org Subject: Re: 5.10 regression, many XHCI swiotlb buffer is full / DMAR: Device bounce map failed errors on thunderbolt connected XHCI controller Message-ID: <20201124102715.GA16983@lst.de> References: 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 23, 2020 at 03:49:09PM +0100, Hans de Goede wrote: > Hi, > > +Cc Christoph Hellwig > > Christoph, this is still an issue, so I've been looking around a bit and think this > might have something to do with the dma-mapping-5.10 changes. > > Do you have any suggestions to debug this, or is it time to do a git bisect > on this before 5.10 ships with regression? Given that DMAR prefix this seems to be about using intel-iommu + bounce buffering for external devices. I can't really think of anything specific in 5.10 related to that, so maybe you'll need to bisect. I doub this means we are actually leaking swiotlb buffers, so while I'm pretty sure we broke something in lower layers this also means xhci doesn't handle swiotlb operation very gracefully in general.