Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3247904pxk; Mon, 21 Sep 2020 08:49:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEMmlEXBub/H6H6JHwbvHptS9FI7elyXAzUS4h5uQdzMMZWflpCfOVqLx7cXGT9GgwuVg0 X-Received: by 2002:a17:906:cb94:: with SMTP id mf20mr114670ejb.8.1600703381071; Mon, 21 Sep 2020 08:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600703381; cv=none; d=google.com; s=arc-20160816; b=r+Zps52yLcTt2gV1jwLij06YkV+Fg/ghNYILJZmGdtfX5Q6UHgH2x2ulipjBKiGxzv +xyR2sA4OzNvBfAZOOZ4dulPGo/b/QK5OdGrM4xdF1uh16MC3F+bpD6/+qJbceC/rDc7 5P82jyS1I8LtmM/jNkIAU6QckkaUxXL2mU9bP94j/7XxhBOwMOLGG0ibIOq81lVMXMIj M4ump7aRjJIrkIk/G9z+7acYyIT2W0pfS4X7/IZNZige0EUCAEFPnEc2qwbhsG4WedGO UkbWSF6NO4Su/zAJSODnD48Tp+uFsX6QbuUR8m6R7dEX7ztibqJZYj8jwmQlq6kwfXT4 SwRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:dkim-signature; bh=YXCybLJtp8QhoH5bVAnUYgHMbmYcosVGHwR4wq6l5Ao=; b=Gwr8y6sGE+dGwtEKqd53/XlGcy9w/YPqbs/5S3ILTNtGQbMfELH4kq5//zPfFzKRvc uP/LhkFpwpB7T7B6TTf0KTvQrumi8GK0HZa06//MHDOn4RqOpWhOm6UlU7Ibs+nsY9pj rmY/L12rYJvE8mEwNbvhpSlGPvf0s4bnEDeehqFXWGo62KZEX5ef2TvdpRDGdDR56z3Y oeytvopL1+7KTD+K14irbmwp5kl+F3S7+HtwHHs4Gguui+nNy+i0wSxBC3MgNYx0FgHV T8dCb/YB4uhrrHwa7RDVeXx3bZsfc4bcYcq9mwIzNOrGxlNwDtGDfgFLy4PCi93aWjPM ZXtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=St93hJRc; 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 bi26si8713944ejb.361.2020.09.21.08.49.18; Mon, 21 Sep 2020 08:49:41 -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; dkim=fail header.i=@deltatee.com header.s=20200525 header.b=St93hJRc; 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 S1727171AbgIUPsL (ORCPT + 99 others); Mon, 21 Sep 2020 11:48:11 -0400 Received: from ale.deltatee.com ([204.191.154.188]:37508 "EHLO ale.deltatee.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbgIUPsL (ORCPT ); Mon, 21 Sep 2020 11:48:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deltatee.com; s=20200525; h=Subject:Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YXCybLJtp8QhoH5bVAnUYgHMbmYcosVGHwR4wq6l5Ao=; b=St93hJRc+SEcyj37x2nLj0G6VG zDBVVnNbISQItuHlUKeyIXeAssJO4Sdbnj0qAWb+FVK62eXcLLT/NXDkzmgBcwkEtuaUYAqjOb0eI FMzMcJU5tlKk9twO2PdwCMoGtiIVIOGSofO7UFhzG2PfIiCq6rqQ8zimZYr3zzda2A+ikgD2HOEtE qcfcgbO+tRxCF82Kol5EwCfUVxBO3aOxMsP7vKwJV+P8JOFUOwF4UP8asTLLfxBagM3QUMzBMUyN/ E4+PZXjVtNrVNBueFvekvYvE/m7N+6FujV6vs4TKhtwkt0FonYqvLYnY1NfkXNKZLEzULxP/SY0vB RVPt82qw==; Received: from guinness.priv.deltatee.com ([172.16.1.162]) by ale.deltatee.com with esmtp (Exim 4.92) (envelope-from ) id 1kKO2z-0000C3-Dr; Mon, 21 Sep 2020 09:48:10 -0600 To: Lu Baolu , Joerg Roedel , Tom Murphy , David Woodhouse , Christoph Hellwig Cc: Ashok Raj , Intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org References: <20200912032200.11489-1-baolu.lu@linux.intel.com> <776771a2-247a-d1be-d882-bee02d919ae0@deltatee.com> From: Logan Gunthorpe Message-ID: Date: Mon, 21 Sep 2020 09:48:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-CA Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 172.16.1.162 X-SA-Exim-Rcpt-To: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Intel-gfx@lists.freedesktop.org, ashok.raj@intel.com, hch@infradead.org, dwmw2@infradead.org, murphyt7@tcd.ie, joro@8bytes.org, baolu.lu@linux.intel.com X-SA-Exim-Mail-From: logang@deltatee.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on ale.deltatee.com X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [Intel-gfx] [PATCH v3 0/6] Convert the intel iommu driver to the dma-iommu api X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on ale.deltatee.com) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-09-20 12:36 a.m., Lu Baolu wrote: > Hi Logan, > > On 2020/9/19 4:47, Logan Gunthorpe wrote: >> Hi Lu, >> >> On 2020-09-11 9:21 p.m., Lu Baolu wrote: >>> Tom Murphy has almost done all the work. His latest patch series was >>> posted here. >>> >>> https://lore.kernel.org/linux-iommu/20200903201839.7327-1-murphyt7@tcd.ie/ >>> >>> Thanks a lot! >>> >>> This series is a follow-up with below changes: >>> >>> 1. Add a quirk for the i915 driver issue described in Tom's cover >>> letter. >>> 2. Fix several bugs in patch "iommu: Allow the dma-iommu api to use >>> bounce buffers" to make the bounce buffer work for untrusted devices. >>> 3. Several cleanups in iommu/vt-d driver after the conversion. >>> >> >> I'm trying to test this on an old Sandy Bridge, but found that I get >> spammed with warnings on boot. I've put a sample of a few of them below. >> They all seem to be related to ioat. >> >> I had the same issue with Tom's v2 but never saw this on his v1. > > Have you verified whether this could be reproduced with the lasted > upstream kernel (without this patch series)? Yes. Also, it's hitting a warning in the dma-iommu code which would not be hit without this patch set. Thanks, Logan