From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 514C5C433DF for ; Fri, 21 Aug 2020 14:43:35 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19B7F2078B for ; Fri, 21 Aug 2020 14:43:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19B7F2078B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CF6578565B; Fri, 21 Aug 2020 14:43:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id htxbly0jvXpe; Fri, 21 Aug 2020 14:43:34 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7193A8457E; Fri, 21 Aug 2020 14:43:34 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 53C07C07FF; Fri, 21 Aug 2020 14:43:34 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id F0D69C0051 for ; Fri, 21 Aug 2020 14:43:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D9A808565B for ; Fri, 21 Aug 2020 14:43:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pZk0CUeHnlJm for ; Fri, 21 Aug 2020 14:43:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4042C8457E for ; Fri, 21 Aug 2020 14:43:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 42071AC82; Fri, 21 Aug 2020 14:43:57 +0000 (UTC) Date: Fri, 21 Aug 2020 16:43:27 +0200 From: Joerg Roedel To: Kai-Heng Feng Subject: Re: [Regression] "iommu/amd: Relax locking in dma_ops path" makes tg3 ethernet transmit queue timeout Message-ID: <20200821144327.GN3354@suse.de> References: <4E9B03FB-9DA5-4831-B4CE-A0AA645D3F22@canonical.com> <20200518133209.GM8135@suse.de> <381D21C9-C913-4C33-A6F4-0440B5D11670@canonical.com> <8D375E06-A763-4B5E-9C6D-DA5EBC62530E@canonical.com> <20200821134300.GM3354@suse.de> <5D7A63DF-D360-4453-845C-924F4C13E3DB@canonical.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5D7A63DF-D360-4453-845C-924F4C13E3DB@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: iommu@lists.linux-foundation.org, open list X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Fri, Aug 21, 2020 at 09:50:33PM +0800, Kai-Heng Feng wrote: > Of course, I still have the system at my side. > > The offending commit is 92d420ec028d ("iommu/amd: Relax locking in > dma_ops path"), however be62dbf554c5 ("iommu/amd: Convert AMD iommu > driver to the dma-iommu api") removed .map_page entirely so I don't > know where to start. I guess you don't see any AMD-Vi page-faults reported in dmesg, right? That makes things more difficult. As a first step, can you please send me a complete dmesg after this happened? Also please boot with amd_iommu_dump on the kernel command line. Regards, Joerg _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu