Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3920835pxb; Tue, 10 Nov 2020 03:39:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxNNFOFKOATo2s7r028c2GR0RrifkOzrSZNM8Y1vGaqsDvisdRfAh9zR492YrKFLU1V6fGK X-Received: by 2002:a50:b761:: with SMTP id g88mr20776698ede.387.1605008387190; Tue, 10 Nov 2020 03:39:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605008387; cv=none; d=google.com; s=arc-20160816; b=lMnltsvfRKrSos6z3YKd4UGtiT2bs07KMLwJp7FWuyuMfkziDjBWMZT4STIyKDY7OF WsrZoqfbyWbOpqI8iewmBBE9yXjV71qZ5mwgjZBrintAkSyt+n0Fw2rg2YvOX9rSeB+E 2/Xsn4QXyQDMANK6pHt+VmiMSe6yLj7RkY0Xx7JjyoeCZ9AXGozeP7HnysemXDrx3yo2 gBeJgnGxEHO/o0UuRtNG1dffwvxgB46cWG+BUBpN3KrOK06Fuq44GQP/8tp4o9nWz0UQ 2oqjza7hWg94Uvj2kGOyKzMODsHCgytR+sq3A08dUb7TcZSDn78ClYkyKfXORCMQpGVB 3ESg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to :dkim-signature; bh=PrGAKVagvZ8eCK0FrYU3d1oHprXELoDjKZm4mUCI5qA=; b=rRsKYzxB04kbX//0xIlIVY/les83KoVwsbAxTPXmZR3EGbu3IJ+32kMNyrXES6k0o+ nqHvaS2WjKpCBKalZlyazgkr/rtzeBY9lYM0bEuZh06HB423/uxmjzjJr5NlnrFm+xgH PikbuC+JmUusSw3jEdjTfXZQABnTDJtXtDE53QLl//FUPRGDQT3LuruylnNvAbqJiwUC MnuOdUzTzO3sw87dDWz/109EJKsTkJoJCSdwROQy7bf3pRIMt/mma5yYV7Iea0TyfoHD sQGnwT++O1aHnNg2zumpnGiPt0SjoisdXq6lVDsdnqJebCH/wkfy2VnOckGr1pvMYdE5 FGYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MwpnSE4C; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb26si8639956ejb.603.2020.11.10.03.39.23; Tue, 10 Nov 2020 03:39:47 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MwpnSE4C; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731211AbgKJLgz (ORCPT + 99 others); Tue, 10 Nov 2020 06:36:55 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:59895 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730061AbgKJLgy (ORCPT ); Tue, 10 Nov 2020 06:36:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605008213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PrGAKVagvZ8eCK0FrYU3d1oHprXELoDjKZm4mUCI5qA=; b=MwpnSE4Chs/0Pu8ShHFVvA5DaB8eTrpN9jn5qCTC139Tg5Q/L7liBMyIXLT+w5m2n27e2M XATtSbyPhJTf760/kqjus8wke7h5/VJRrgGTQlCNQOXadv86YNcYWM1pq0rxdHgSgkmB32 M3WC7x0jrLPy8Of7vHLTnjX4LhpaJPg= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-357-ch5J07AfMQCd3XS5sDIcfQ-1; Tue, 10 Nov 2020 06:36:49 -0500 X-MC-Unique: ch5J07AfMQCd3XS5sDIcfQ-1 Received: by mail-ed1-f70.google.com with SMTP id d1so4110004edz.14 for ; Tue, 10 Nov 2020 03:36:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=PrGAKVagvZ8eCK0FrYU3d1oHprXELoDjKZm4mUCI5qA=; b=IWy23MI3FS0pItD6PKGukdbiNLfXX3wya5KJLrn5lvDJdXEcDjwvLmgkXRR7DXT1jk LwZly910riuErw6oiyRrzNU2ZHeSS/YKyOvNro1dFKLMR7nVuailUaOPrVxl50dFT35j WvXX3Z9v1zIOWba7qLs+IqDVVlJEfZ9lhMmtfHurYqv1RtkKvdPs1g2c68RnY1K0JN1X GUlI/KnYg2GhkxzLU/B/LgdQueCjAhSfK/+Ux86VrYYRZmcNl85xeplkfTzFgNSjr5B5 YWswxUuyN2nWniLC8KWaFzzRCOfV2PVhAxa+sgPSrgkbgVwJYto+FEHbnMFG7q7zonIq DnZQ== X-Gm-Message-State: AOAM532dcO5sTFfF8Unsv/HQFigLJ3M4mVvYq3mYh865mEMnCVkEc1mp cSaxr+ckgffuylYAqWKqbbBFkgF8h3lEVQnKXCz7VsP4IQXW6KWGwql7D3e9deI6rQL9Gyq8mwn 6uR28JI2+Pay2v4h27aiYaKE0 X-Received: by 2002:a17:906:2b06:: with SMTP id a6mr20501741ejg.283.1605008208402; Tue, 10 Nov 2020 03:36:48 -0800 (PST) X-Received: by 2002:a17:906:2b06:: with SMTP id a6mr20501730ejg.283.1605008208230; Tue, 10 Nov 2020 03:36:48 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c0c-fe00-6c10-fbf3-14c4-884c.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:6c10:fbf3:14c4:884c]) by smtp.gmail.com with ESMTPSA id s12sm10225439ejy.25.2020.11.10.03.36.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Nov 2020 03:36:47 -0800 (PST) To: Mathias Nyman , Greg Kroah-Hartman Cc: linux-usb , Linux Kernel Mailing List , linux-pci@vger.kernel.org From: Hans de Goede Subject: 5.10 regression, many XHCI swiotlb buffer is full / DMAR: Device bounce map failed errors on thunderbolt connected XHCI controller Message-ID: Date: Tue, 10 Nov 2020 12:36:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Not sure if this is a XHCI driver problem at all, but I needed to start somewhere with reporting this so I went with: scripts/get_maintainer.pl -f drivers/usb/host/xhci-pci.c And added a Cc: linux-pci@vger.kernel.org as bonus. I'm seeing the following errors and very slow network performance with the USB NIC in a Lenovo Thunderbolt gen 2 dock. Note that the USB NIC is connected to the XHCI controller which is embedded inside the dock and is connected over thunderbolt! So the errors are: [ 1148.744205] swiotlb_tbl_map_single: 6 callbacks suppressed [ 1148.744210] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1148.744218] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 16ea@1411c0000 dir 1 --- failed [ 1148.744226] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1148.744368] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1148.744375] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 16ea@10aabc000 dir 1 --- failed [ 1148.744381] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1148.745141] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1148.745148] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 118e@1411c0000 dir 1 --- failed [ 1148.745155] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1148.951282] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1148.951388] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 118e@140988000 dir 1 --- failed [ 1148.951420] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1151.013342] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1151.013357] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 1d2a@1411c0000 dir 1 --- failed [ 1151.013373] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1151.018660] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 18 (slots) [ 1151.018696] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 11da@1411c0000 dir 1 --- failed [ 1151.018711] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1151.223022] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1151.223102] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 11da@10aabc000 dir 1 --- failed [ 1151.223133] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1151.228810] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1151.228870] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 11da@10aabc000 dir 1 --- failed [ 1151.228898] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 [ 1151.234792] xhci_hcd 0000:0a:00.0: swiotlb buffer is full (sz: 8192 bytes), total 32768 (slots), used 16 (slots) [ 1151.234852] xhci_hcd 0000:0a:00.0: DMAR: Device bounce map: 11da@10aabc000 dir 1 --- failed [ 1151.234882] r8152 4-2.1.2:1.0 ens1u2u1u2: failed tx_urb -11 etc. This happens as soon as I generate any serious amount of outgoing network traffic. E.g. rsyncing files to another machine. Regards, Hans