Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1151503pxb; Fri, 20 Nov 2020 02:26:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyS7DeNeaa/3I2RZ/pVVAV+LrDULWMDXze0l66/BhYre0nwcbEuiDq3Fc6urg75Fs7Dp0m X-Received: by 2002:aa7:c986:: with SMTP id c6mr11512485edt.321.1605867983984; Fri, 20 Nov 2020 02:26:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605867983; cv=none; d=google.com; s=arc-20160816; b=AldJYtkDbZmfH9g5s2gy0SIsJQWQbDXnFU6nf5qyY5Vk8JIcszYwhh+hjmxWzrjHPA n7B0g0/lUsrj5vsmNBtJHh8G+7SkvVDne0bc/rOM4DAyJoTNMdDw1AEesAEzhk/VGyvX twaQKuwJcQabWHgw5UtwrhjeT5bm/8MAsh8S/rBXAb2j3zlL2viTBpws2Yow7mgDi/oZ jRsZ6ssIBvw8X5WNekFFt/oDfn2kaBuX87cKJ4hFlfbdWSSMq0TNcZs3Xbk5pxcwbjjE vl3xGhxktoulmkDyKPFIKrpJ+wVRSN1imD3bJcJgkAEUCn8E6iDJmCBqGaIwNejFYEin ZkTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=ZJ6f09/o7by3lxyhJPUj8ylQcEWX9xW2wfANfdgEe/A=; b=Syt/xgoY1jEm66vOsn2h4Krn4B2fKUBvC4xtPkjR9/ZNn5g1fwO2NabM8px0jXZ6kN enXFPqsvuj2cVVJ5Bne/tR6Qxhl7W6NO08ibuPQL14IiBKTg6R+7s2HhndxvrwPIZbf2 NQ9UZKcUatzglubnwyJXTGQ83NtcXqBp4nC6DucHzbAScAh9mISd8xlD2Ldfwoix0AX4 U4+w9AXbCwpY60lWL3YTsY17agxcjv9qQqNj4OtaJB+tcQge/6BHIzJ5lUmvk14n9TXo FStb0MRWe4l+1W5jLu7eJ4FO2hzzoi0Gn7Ym9F7qUWFGc292pimV9VlDXDRedZNzth6s kUBQ== 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 sd27si994253ejb.477.2020.11.20.02.26.00; Fri, 20 Nov 2020 02:26:23 -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 S1726172AbgKTKYm (ORCPT + 99 others); Fri, 20 Nov 2020 05:24:42 -0500 Received: from mga12.intel.com ([192.55.52.136]:17833 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbgKTKYl (ORCPT ); Fri, 20 Nov 2020 05:24:41 -0500 IronPort-SDR: rPmsEcO4JtS6NAyIT5BRJKTyCNZLMKj2xp8D4yoQ77IiG0/6V8a9a1ZUEpuMZ5e3qgcxcSJyWA hPJ237ZDVdew== X-IronPort-AV: E=McAfee;i="6000,8403,9810"; a="150717589" X-IronPort-AV: E=Sophos;i="5.78,356,1599548400"; d="scan'208";a="150717589" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Nov 2020 02:24:40 -0800 IronPort-SDR: 82QxPtX+MY911QEA499NebKqFnj+SlZcS99DH6LeAs3dgNH7zKJTQsnslR1nDiVgejQHrsD/kK j9ionfDGToUQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,356,1599548400"; d="scan'208";a="545393633" Received: from allen-box.sh.intel.com ([10.239.159.28]) by orsmga005.jf.intel.com with ESMTP; 20 Nov 2020 02:24:37 -0800 From: Lu Baolu To: Joerg Roedel , Will Deacon , Tom Murphy , David Woodhouse , Christoph Hellwig Cc: Ashok Raj , Tvrtko Ursulin , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Lu Baolu Subject: [PATCH v5 0/7] Convert the intel iommu driver to the dma-iommu api Date: Fri, 20 Nov 2020 18:17:12 +0800 Message-Id: <20201120101719.3172693-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Will, The previous post of this series could be found here. https://lore.kernel.org/linux-iommu/20200927063437.13988-1-baolu.lu@linux.intel.com/ Changes in this version: - Add Tested-by: Logan Gunthorpe - Rebase to v5.10-rc3 Please review and consider it for iommu/next. Best regards, baolu Lu Baolu (3): iommu: Add quirk for Intel graphic devices in map_sg iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev iommu/vt-d: Cleanup after converting to dma-iommu ops Tom Murphy (4): iommu: Handle freelists when using deferred flushing in iommu drivers iommu: Add iommu_dma_free_cpu_cached_iovas() iommu: Allow the dma-iommu api to use bounce buffers iommu/vt-d: Convert intel iommu driver to the iommu ops .../admin-guide/kernel-parameters.txt | 5 - drivers/iommu/dma-iommu.c | 228 ++++- drivers/iommu/intel/Kconfig | 1 + drivers/iommu/intel/iommu.c | 905 +++--------------- include/linux/dma-iommu.h | 8 + include/linux/iommu.h | 1 + 6 files changed, 336 insertions(+), 812 deletions(-) -- 2.25.1