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 51E47C433E1 for ; Fri, 21 Aug 2020 14:43:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2D5EE2078B for ; Fri, 21 Aug 2020 14:43:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725873AbgHUOnp (ORCPT ); Fri, 21 Aug 2020 10:43:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:52988 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbgHUOnb (ORCPT ); Fri, 21 Aug 2020 10:43:31 -0400 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 Cc: iommu@lists.linux-foundation.org, open list 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5D7A63DF-D360-4453-845C-924F4C13E3DB@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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