From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753013AbdFNWX2 (ORCPT ); Wed, 14 Jun 2017 18:23:28 -0400 Received: from mga02.intel.com ([134.134.136.20]:35949 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752844AbdFNWWN (ORCPT ); Wed, 14 Jun 2017 18:22:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,341,1493708400"; d="scan'208";a="1160605235" From: Jacob Pan To: iommu@lists.linux-foundation.org, LKML , Joerg Roedel , David Woodhouse Cc: "Liu, Yi L" , Lan Tianyu , "Tian, Kevin" , Raj Ashok , Alex Williamson , Jean Delvare , Jacob Pan Subject: [RFC 0/9] IOMMU driver changes for shared virtual memory virtualization Date: Wed, 14 Jun 2017 15:22:54 -0700 Message-Id: <1497478983-77580-1-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset provides IOMMU driver support of shared virtual memory (SVM) virtualization. Generic APIs are introduced in addition to Intel VT-d specific changes, the goal is to have common interfaces across IOMMU and device types for both VFIO and other in-kernel users. This is the IOMMU portion follow up of the more complete series of the kernel changes to support SVM. Please refer to the link below for more details. https://www.spinics.net/lists/kvm/msg148819.html New in this series are the IOMMU fault notification APIs. At the top level, three new IOMMU interfaces are introduced: - bind PASID table - passdown invalidation - per device IOMMU fault notification The additional patches are Intel VT-d specific, which either implements or replaces existing private interfaces with the generic ones. Thanks, Jacob Jacob Pan (8): iommu: Introduce bind_pasid_table API function iommu/vt-d: add bind_pasid_table function iommu/vt-d: Add iommu do invalidate function iommu: Introduce fault notifier API iommu/vt-d: track device with pasid table bond to a guest iommu/dmar: notify unrecoverable faults iommu/intel-svm: notify page request to guest iommu/intel-svm: replace dev ops with generic fault notifier Liu, Yi L (1): iommu: Introduce iommu do invalidate API function drivers/iommu/dmar.c | 37 ++++++++- drivers/iommu/intel-iommu.c | 169 +++++++++++++++++++++++++++++++++++++----- drivers/iommu/intel-svm.c | 94 ++++++++++++++++++++--- drivers/iommu/iommu.c | 95 ++++++++++++++++++++++++ include/linux/dma_remapping.h | 1 + include/linux/intel-iommu.h | 30 +++++++- include/linux/intel-svm.h | 20 +---- include/linux/iommu.h | 88 ++++++++++++++++++++++ include/uapi/linux/iommu.h | 37 +++++++++ 9 files changed, 522 insertions(+), 49 deletions(-) create mode 100644 include/uapi/linux/iommu.h -- 2.7.4