Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp360560pxb; Tue, 3 Nov 2020 01:16:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJyl+Q1RdhhAuyB/J6RbpE19ftzsF3I2KcpekyPr/sqO/1t9KGR3SHstV7kdiyLsjlbMx54X X-Received: by 2002:a17:906:7696:: with SMTP id o22mr18468214ejm.269.1604394987911; Tue, 03 Nov 2020 01:16:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604394987; cv=none; d=google.com; s=arc-20160816; b=brKSnPyu7MaHIVuXon6ymrMOs7k+7kQZKgr2TCAu8gDE2Bf4JZw3Dz4rml35x0pqCS iheVJv89lKnaKZQgVb6FXSt6G0Vn4M2xb+jBvS/dpO7HmXGFgcs8zrftK2y17Q6671QF fArKoyBy1Ur4TANOEkNuoD9EVw9A5Tc3/rIsdqCgbTRQxI+t6wrLAOs5//224SGnIOff C7Cvr/lnzfsYxSB3H85F9B7CpMufDPLPPJ3H1jSf2pvLgdshv6lXQNyIBCdPbNmJO4T2 2x48jsHEi/BuH0ABrRrPbJtnjdiuATFMNvhHmDgz2qIlYTWMRVfTwtpy0YPGIEe7r6PQ Vbhw== 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:organization :from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=DtQSotaXTPIUwCM3HcW86cHP2VGE+K4/2PFjj1K0zN4=; b=1FJEVPEKtxWpA/DExzw46nNZMu00u1cLOkL415iH2IyX9oKdODXY5SpY6fjmQ/29l8 PnzpGHtueGO4MBrIF6ruww/QWgQ2M65K1zlKhFwV0XvfFrKVLvUefPkS3sDNpi3I/fDk H9BXBf3UJXQ1oJwm+Xk0xKF7PktJWazZF3XSmEPcGDp1pAgtPv3c5mQxKWXFukuNYC10 cgTTSVJNsl76nUhji3fCnk4FCodZaMiZqwPLYpzuqB6HqDiWdnI78Ae88xOSgbr0QtuK 4yyMnfQrDCvV64r+qYgrAjQtC2XIPWAEjGxxn4gt6c618TZiHp9nQcXravo7rCKQf/bo LLxA== 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 cx24si6070303edb.419.2020.11.03.01.16.04; Tue, 03 Nov 2020 01:16:27 -0800 (PST) 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 S1726126AbgKCJOk (ORCPT + 99 others); Tue, 3 Nov 2020 04:14:40 -0500 Received: from mga01.intel.com ([192.55.52.88]:30837 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbgKCJOj (ORCPT ); Tue, 3 Nov 2020 04:14:39 -0500 IronPort-SDR: unqTT/uaTmYCcnDjf+//gpUIqNDwggZD00RwFbl6BtwViO7CBjzG0G0bL0EjVSj+uAHrkmv+og IXf9xh3KBLCg== X-IronPort-AV: E=McAfee;i="6000,8403,9793"; a="186867497" X-IronPort-AV: E=Sophos;i="5.77,447,1596524400"; d="scan'208";a="186867497" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 01:14:39 -0800 IronPort-SDR: eFTHNZBxqYN5dcGuDSmldVZPzDXE44+XDO/whjJgYBwHJ7nuOWNzglzewY25fZHYRAKFkkk21v lfzYIUGSFTkg== X-IronPort-AV: E=Sophos;i="5.77,447,1596524400"; d="scan'208";a="538418690" Received: from vfarcas-mobl.ger.corp.intel.com (HELO [10.214.241.76]) ([10.214.241.76]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2020 01:14:35 -0800 Subject: Re: [PATCH v4 0/7] Convert the intel iommu driver to the dma-iommu api To: Lu Baolu , Joerg Roedel , Tom Murphy , David Woodhouse , Christoph Hellwig Cc: Ashok Raj , Intel-gfx@lists.freedesktop.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Joonas Lahtinen References: <20200927063437.13988-1-baolu.lu@linux.intel.com> <8bac9e91-36a0-c1d6-a887-4d60567ac75a@linux.intel.com> <3f5694f3-62f9-cc2b-1c2b-f9e99a4788c1@linux.intel.com> <1ce5b94a-38b3-548e-3b1a-a68390b93953@linux.intel.com> <82dab98e-0761-8946-c31c-92f19a0615b4@linux.intel.com> From: Tvrtko Ursulin Organization: Intel Corporation UK Plc Message-ID: <99a0d1eb-7fde-dff4-225f-92b68fbf7620@linux.intel.com> Date: Tue, 3 Nov 2020 09:14:32 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <82dab98e-0761-8946-c31c-92f19a0615b4@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/2020 02:53, Lu Baolu wrote: > On 11/2/20 7:52 PM, Tvrtko Ursulin wrote: >> >> On 02/11/2020 02:00, Lu Baolu wrote: >>> Hi Tvrtko, >>> On 10/12/20 4:44 PM, Tvrtko Ursulin wrote: >>>> >>>> On 29/09/2020 01:11, Lu Baolu wrote: >>>>> Hi Tvrtko, >>>>> >>>>> On 9/28/20 5:44 PM, Tvrtko Ursulin wrote: >>>>>> >>>>>> On 27/09/2020 07:34, Lu Baolu wrote: >>>>>>> Hi, >>>>>>> >>>>>>> The previous post of this series could be found here. >>>>>>> >>>>>>> https://lore.kernel.org/linux-iommu/20200912032200.11489-1-baolu.lu@linux.intel.com/ >>>>>>> >>>>>>> >>>>>>> This version introduce a new patch [4/7] to fix an issue reported >>>>>>> here. >>>>>>> >>>>>>> https://lore.kernel.org/linux-iommu/51a1baec-48d1-c0ac-181b-1fba92aa428d@linux.intel.com/ >>>>>>> >>>>>>> >>>>>>> There aren't any other changes. >>>>>>> >>>>>>> Please help to test and review. >>>>>>> >>>>>>> Best regards, >>>>>>> baolu >>>>>>> >>>>>>> Lu Baolu (3): >>>>>>>    iommu: Add quirk for Intel graphic devices in map_sg >>>>>> >>>>>> Since I do have patches to fix i915 to handle this, do we want to >>>>>> co-ordinate the two and avoid having to add this quirk and then >>>>>> later remove it? Or you want to go the staged approach? >>>>> >>>>> I have no preference. It depends on which patch goes first. Let the >>>>> maintainers help here. >>>> >>>> FYI we have merged the required i915 patches to out tree last week >>>> or so. I *think* this means they will go into 5.11. So the i915 >>>> specific workaround patch will not be needed in Intel IOMMU. >>> >>> Do you mind telling me what's the status of this fix patch? I tried this >>> series on v5.10-rc1 with the graphic quirk patch dropped. I am still >>> seeing dma faults from graphic device. >> >> Hmm back then I thought i915 fixes for this would land in 5.11 so I >> will stick with that. :) (See my quoted text a paragraph above yours.) > > What size are those fixes? I am considering pushing this series for > v5.11. Is it possible to get some acks for those patches and let them > go to Linus through iommu tree? For 5.10 you mean? They feel a bit too large for comfort to go via a non-i915/drm tree. These are the two patches required: https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-gt-next&id=8a473dbadccfc6206150de3db3223c40785da348 https://cgit.freedesktop.org/drm-intel/commit/?h=drm-intel-gt-next&id=934941ed5a3070a7833c688c9b1d71484fc01a68 I'll copy Joonas as our maintainer - how does the idea of taking the above two patches through the iommu tree sound to you? Regards, Tvrtko