Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2751398ybk; Mon, 18 May 2020 07:07:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyn5PxND8XaDhv8NCjANaDykPKkGdqIZLGfEwKkAOOWEB7eqZ/tlVAYjj5A7mrZMhbi749+ X-Received: by 2002:a05:6402:cb4:: with SMTP id cn20mr14445662edb.150.1589810860812; Mon, 18 May 2020 07:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589810860; cv=none; d=google.com; s=arc-20160816; b=qL3dB1lOmwRRgUEURHQOG8hfJGujMzN1ZuSo0bkAruITXeCD3F8lOEOZlAQjKCSUoY 6h2ICKC8nYj7TkBkEhpAnEckixKZPhp/xSSFuw6hh/l5C8dpwPDGQpseIsuC7WkEj/+R AMYZeDz3HHKf9d9XTaHIZWqZT2wuBvHWGzH651Ztmwxhom9s2O6sNZNxRwzQbd3ASmKD fOvoFzDSYJw7l/veoI8+9CwLEJDWamrbuf0jvaQr2lCg5z+j7Ntly1GT1C97IHoGG58V yUL0ZHoaDTw3r3rH5mB1M3rp2Ta3jB9d2tqTjxzIGAqGAGsPvvKpWWD5h4bgGGcCcExF 8+bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=CYy6xGEV06d10NVZ4lnfCA1CSMrQHu4KGF50bvPuezI=; b=a6Cm+gX0Exu7V3h5W5SsLwjYEiYN8wIrLFFlSRVEoSoDoILDEzd1mrGPaioLzpVIYZ np1lkB6jvI28lgrC+nMTavCoeL92H+hAnGlDL/Gzuhu/5dXk2Ab5diPrWckkYtViZknL 9hmUFasaIYg1e0Gg2pTZiS74PFMbs/Wl+1EVssvHOXGg09GcMpQwVSwxS+8kiwGSGD6j kse0y3IYQ/wkiwtQPdod/VEyTtK7rjrgfOR4azq0Galq5kvtiBBTLx9IzscoN7mID2GC noxBw94eO7PacoPEH25UodNLSKFcSK2hv/D8QW8lbDYpRFKVDtt2STGlmqM88iKfl4iK lVJA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca1si6384576ejb.42.2020.05.18.07.07.15; Mon, 18 May 2020 07:07:40 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727005AbgEROFl convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 May 2020 10:05:41 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:34365 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726907AbgEROFk (ORCPT ); Mon, 18 May 2020 10:05:40 -0400 Received: from mail-pl1-f197.google.com ([209.85.214.197]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jagOg-0003fD-MT for linux-kernel@vger.kernel.org; Mon, 18 May 2020 14:05:38 +0000 Received: by mail-pl1-f197.google.com with SMTP id t13so7506647plo.6 for ; Mon, 18 May 2020 07:05:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=eAqYxR1VuKxANFGYDzoTuNI/yexhnse0Gr19klQrpbA=; b=oVmYZEUggoRbn34OCipwxZRHlFTY/w3KTiILcMAkIxiL7tPPhOVii6myhHkkIH2gqE m3R+efcwFTXn3tCRY3Y3TPyHtBZuHFHqN6aEA/x03BeRz/au7IfesT9UYccVb9a6fuHM +VOJbmK/V4zgESrHEPUr5usc4ElJLRODI4238VE3q0AsTwwk37u9n+/sAL17/4rQ3bU6 2NJPBs4uSdpUxVksRhfgByiT26/5EmsobDnRG15yR9f3fOqsdeGjGyh1FOpRCVCJYANc yxYcHzO/VhwlMplp3N7tbJVOzA5cnjcZyqmccE7tAOlTRgtaSshFoy62jQLA7fhir35J A/JA== X-Gm-Message-State: AOAM532t02jPTdU9H6dtJO4XCk2XqKR35n+szrOloJFtIGXyGiQOTq9d Wk98AsH5ph6LLSBt4onM1Mfk3n1HsJBOwzkexKDdvQQNvbUKo0KkOHVGAlKBl+s9HD++bnknF3B 53fB8N/XYMPM3V83ZX3CSdsjHWSTgKWRt2lIshH1lQA== X-Received: by 2002:a17:902:8344:: with SMTP id z4mr16353679pln.207.1589810736905; Mon, 18 May 2020 07:05:36 -0700 (PDT) X-Received: by 2002:a17:902:8344:: with SMTP id z4mr16353654pln.207.1589810736557; Mon, 18 May 2020 07:05:36 -0700 (PDT) Received: from [192.168.1.208] (220-133-187-190.HINET-IP.hinet.net. [220.133.187.190]) by smtp.gmail.com with ESMTPSA id a16sm7971187pfl.167.2020.05.18.07.05.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 May 2020 07:05:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [Regression] "iommu/amd: Relax locking in dma_ops path" makes tg3 ethernet transmit queue timeout From: Kai-Heng Feng In-Reply-To: <20200518133209.GM8135@suse.de> Date: Mon, 18 May 2020 22:05:33 +0800 Cc: iommu@lists.linux-foundation.org, open list Content-Transfer-Encoding: 8BIT Message-Id: <381D21C9-C913-4C33-A6F4-0440B5D11670@canonical.com> References: <4E9B03FB-9DA5-4831-B4CE-A0AA645D3F22@canonical.com> <20200518133209.GM8135@suse.de> To: Joerg Roedel X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 18, 2020, at 21:32, Joerg Roedel wrote: > > On Mon, May 18, 2020 at 05:06:45PM +0800, Kai-Heng Feng wrote: >> Particularly, as soon as the spinlock is removed, the issue can be reproduced. >> Function domain_flush_complete() doesn't seem to affect the status. >> >> However, the .map_page callback was removed by be62dbf554c5 >> ("iommu/amd: Convert AMD iommu driver to the dma-iommu api"), so >> there's no easy revert for this issue. >> >> This is still reproducible as of today's mainline kernel, v5.7-rc6. > > Is there any error message from the IOMMU driver? > As of mainline kernel, there's no error message from IOMMU driver. There are some complains from v4.15-rc1: https://pastebin.ubuntu.com/p/qn4TXkFxsc/ Kai-Heng