Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2338530pxk; Sat, 19 Sep 2020 23:41:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaDCZTevQvtQDVsR0n6jsjde5E9rqT5na8yGWhhGrfWmLsXsEiIgbJ5P2ikAOrBm3VVLI7 X-Received: by 2002:a17:906:c1c6:: with SMTP id bw6mr45807915ejb.374.1600584096527; Sat, 19 Sep 2020 23:41:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600584096; cv=none; d=google.com; s=arc-20160816; b=BKglmU+ir4uzZ8hdB5FJGaiJsS26WfWKXYJ5pNgnq2e9FfGjqPrrj65Rx6nSfeFwdn KJ+Ik3/kGkMVR3AtYkqpT77tpzMzSJjA0EOhfN+mgoF1yfKVrCK7XNL6jD3ikUgptxk2 sZt1flx9155ARgYjiaU8qSTAa3aPMWyzaxq7sTtpM+6k/HriMu281A56X7lnPIl83tsl UBZS/8fYRgscAkJPFtfV17B9OjlPIb/KTl2l9ZLt1SJ7Y9VEWuMBzx14St4rmEn62Kv4 WfLCD/T5MEhJhL8/8Y1TlaYrulpnvESe+L+A0yT1Exs4qjYD6oEB8wxlcnVC/ovx3aIx AmnA== 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 :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:cc:ironport-sdr:ironport-sdr; bh=7g2HfVGxprMoRyJY9hjnBGNLbnWYKDj9BcJBsomalWw=; b=e1jrvqd6Xn7OY8v/6cud7ftonaIU+R8srkiPgOD69qZ71dKM4cKkwRXmIbwhICjOLg mC3gqtUfk6qHw/IMsa7v0+6JidMwmlfZewY9qBzrQj9U2Vfn75yzPmOU6tbZjAVKwwZ+ eRViOUQijoMohiMgAufaXPZtJxedxMk1wgtirHo/24bxrdqq0x0TI6hHTBsazp+VCKf3 Ltgs5wuj0U4h9TzKehtJAMCrmZhUHRDBVbqO1/dbbhUx6sKpCIDszU+xcsvAo/xI96tb Q6bNbX4cO7j+NloRMROFWvS/qQ00SD/aD10uWJ4ywlvBDN9cdBtWlpcFm60EDaCNYgbi VDVg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si5736046ejw.300.2020.09.19.23.41.01; Sat, 19 Sep 2020 23:41:36 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726216AbgITGgy (ORCPT + 99 others); Sun, 20 Sep 2020 02:36:54 -0400 Received: from mga04.intel.com ([192.55.52.120]:59924 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726174AbgITGgy (ORCPT ); Sun, 20 Sep 2020 02:36:54 -0400 IronPort-SDR: OM501Ysg/tZ+CsDdS3Nxi57CyzoOLVfNZy40sW7fAuJVHfTF4C4yf67ZF/aenapTFInoFs1l0l /KEATbhftZDg== X-IronPort-AV: E=McAfee;i="6000,8403,9749"; a="157597866" X-IronPort-AV: E=Sophos;i="5.77,281,1596524400"; d="scan'208";a="157597866" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2020 23:36:53 -0700 IronPort-SDR: jabbN3qQsO/QbcFPJwnrAIPouqbK8zIgTL8nP5gVkx2hTZ+WRQO216CTjg+hH0Rcn4dLkQQA4T ixr2XHqNPtSQ== X-IronPort-AV: E=Sophos;i="5.77,281,1596524400"; d="scan'208";a="308504530" Received: from blu2-mobl3.ccr.corp.intel.com (HELO [10.254.213.187]) ([10.254.213.187]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2020 23:36:50 -0700 Cc: baolu.lu@linux.intel.com, Ashok Raj , Intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org Subject: Re: [Intel-gfx] [PATCH v3 0/6] Convert the intel iommu driver to the dma-iommu api To: Logan Gunthorpe , Joerg Roedel , Tom Murphy , David Woodhouse , Christoph Hellwig References: <20200912032200.11489-1-baolu.lu@linux.intel.com> <776771a2-247a-d1be-d882-bee02d919ae0@deltatee.com> From: Lu Baolu Message-ID: Date: Sun, 20 Sep 2020 14:36:46 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <776771a2-247a-d1be-d882-bee02d919ae0@deltatee.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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)? Best regards, baolu