All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Pan <jacob.jun.pan@linux.intel.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Joerg Roedel <joro@8bytes.org>,
	"Lu Baolu" <baolu.lu@linux.intel.com>,
	David Woodhouse <dwmw2@infradead.org>,
	iommu@lists.linux-foundation.org, cgroups@vger.kernel.org,
	Tejun Heo <tj@kernel.org>, Li Zefan <lizefan@huawei.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Jean-Philippe Brucker <jean-philippe@linaro.com>
Cc: Alex Williamson <alex.williamson@redhat.com>,
	Eric Auger <eric.auger@redhat.com>,
	Jason Gunthorpe <jgg@nvidia.com>,
	Jonathan Corbet <corbet@lwn.net>, Raj Ashok <ashok.raj@intel.com>,
	"Tian, Kevin" <kevin.tian@intel.com>, Yi Liu <yi.l.liu@intel.com>,
	Wu Hao <hao.wu@intel.com>, Dave Jiang <dave.jiang@intel.com>,
	Jacob Pan <jacob.jun.pan@linux.intel.com>
Subject: [PATCH V4 08/18] iommu/ioasid: Introduce ioasid_set private ID
Date: Sat, 27 Feb 2021 14:01:16 -0800	[thread overview]
Message-ID: <1614463286-97618-9-git-send-email-jacob.jun.pan@linux.intel.com> (raw)
In-Reply-To: <1614463286-97618-1-git-send-email-jacob.jun.pan@linux.intel.com>

When an IOASID set is used for guest SVA, each VM will acquire its
ioasid_set for IOASID allocations. IOASIDs within the VM must have a
host/physical IOASID backing, mapping between guest and host IOASIDs can
be non-identical. IOASID set private ID (SPID) is introduced in this
patch to be used as guest IOASID. However, the concept of ioasid_set
specific namespace is generic, thus named SPID.

As SPID namespace is within the IOASID set, the IOASID core can provide
lookup services at both directions. SPIDs may not be available when its
IOASID is allocated, the mapping between SPID and IOASID is usually
established when a guest page table is bound to a host PASID.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
---
 drivers/iommu/ioasid.c | 104 +++++++++++++++++++++++++++++++++++++++++
 include/linux/ioasid.h |  18 +++++++
 2 files changed, 122 insertions(+)

diff --git a/drivers/iommu/ioasid.c b/drivers/iommu/ioasid.c
index 9a3ba157dec3..7707bb608bdd 100644
--- a/drivers/iommu/ioasid.c
+++ b/drivers/iommu/ioasid.c
@@ -26,6 +26,7 @@ enum ioasid_state {
  * struct ioasid_data - Meta data about ioasid
  *
  * @id:		Unique ID
+ * @spid:	Private ID unique within a set
  * @refs:	Number of active users
  * @state:	Track state of the IOASID
  * @set:	ioasid_set of the IOASID belongs to
@@ -34,6 +35,7 @@ enum ioasid_state {
  */
 struct ioasid_data {
 	ioasid_t id;
+	ioasid_t spid;
 	enum ioasid_state state;
 	struct ioasid_set *set;
 	void *private;
@@ -413,6 +415,107 @@ void ioasid_detach_data(ioasid_t ioasid)
 }
 EXPORT_SYMBOL_GPL(ioasid_detach_data);
 
+static ioasid_t ioasid_find_by_spid_locked(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid = INVALID_IOASID;
+	struct ioasid_data *entry;
+	unsigned long index;
+
+	if (!xa_load(&ioasid_sets, set->id)) {
+		pr_warn("Invalid set\n");
+		goto done;
+	}
+
+	xa_for_each(&set->xa, index, entry) {
+		if (spid == entry->spid) {
+			if (get)
+				refcount_inc(&entry->refs);
+			ioasid = index;
+		}
+	}
+done:
+	return ioasid;
+}
+
+/**
+ * ioasid_attach_spid - Attach ioasid_set private ID to an IOASID
+ *
+ * @ioasid: the system-wide IOASID to attach
+ * @spid:   the ioasid_set private ID of @ioasid
+ *
+ * After attching SPID, future lookup can be done via ioasid_find_by_spid().
+ */
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	struct ioasid_data *data;
+	int ret = 0;
+
+	if (spid == INVALID_IOASID)
+		return -EINVAL;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data) {
+		pr_err("No IOASID entry %d to attach SPID %d\n",
+			ioasid, spid);
+		ret = -ENOENT;
+		goto done_unlock;
+	}
+	/* Check if SPID is unique within the set */
+	if (ioasid_find_by_spid_locked(data->set, spid, false) != INVALID_IOASID) {
+		ret = -EINVAL;
+		goto done_unlock;
+	}
+	data->spid = spid;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+	return ret;
+}
+EXPORT_SYMBOL_GPL(ioasid_attach_spid);
+
+void ioasid_detach_spid(ioasid_t ioasid)
+{
+	struct ioasid_data *data;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data || data->spid == INVALID_IOASID) {
+		pr_err("Invalid IOASID entry %d to detach\n", ioasid);
+		goto done_unlock;
+	}
+	data->spid = INVALID_IOASID;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+}
+EXPORT_SYMBOL_GPL(ioasid_detach_spid);
+
+/**
+ * ioasid_find_by_spid - Find the system-wide IOASID by a set private ID and
+ * its set.
+ *
+ * @set:	the ioasid_set to search within
+ * @spid:	the set private ID
+ * @get:	flag indicates whether to take a reference once found
+ *
+ * Given a set private ID and its IOASID set, find the system-wide IOASID. Take
+ * a reference upon finding the matching IOASID if @get is true. Return
+ * INVALID_IOASID if the IOASID is not found in the set or the set is not valid.
+ */
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid;
+
+	spin_lock(&ioasid_allocator_lock);
+	ioasid = ioasid_find_by_spid_locked(set, spid, get);
+	spin_unlock(&ioasid_allocator_lock);
+	return ioasid;
+}
+EXPORT_SYMBOL_GPL(ioasid_find_by_spid);
+
 static inline bool ioasid_set_is_valid(struct ioasid_set *set)
 {
 	return xa_load(&ioasid_sets, set->id) == set;
@@ -616,6 +719,7 @@ ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max,
 	}
 	data->id = id;
 	data->state = IOASID_STATE_IDLE;
+	data->spid = INVALID_IOASID;
 
 	/* Store IOASID in the per set data */
 	if (xa_err(xa_store(&set->xa, id, data, GFP_ATOMIC))) {
diff --git a/include/linux/ioasid.h b/include/linux/ioasid.h
index e7f3e6108724..dcab02886cb5 100644
--- a/include/linux/ioasid.h
+++ b/include/linux/ioasid.h
@@ -81,6 +81,9 @@ int ioasid_register_allocator(struct ioasid_allocator_ops *allocator);
 void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator);
 int ioasid_attach_data(ioasid_t ioasid, void *data);
 void ioasid_detach_data(ioasid_t ioasid);
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid);
+void ioasid_detach_spid(ioasid_t ioasid);
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get);
 void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 				void (*fn)(ioasid_t id, void *data),
 				void *data);
@@ -173,6 +176,21 @@ static inline struct ioasid_set *ioasid_find_set(ioasid_t ioasid)
 	return ERR_PTR(-ENOTSUPP);
 }
 
+static inline int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	return -ENOTSUPP;
+}
+
+static inline void ioasid_detach_spid(ioasid_t ioasid)
+{
+}
+
+static inline ioasid_t ioasid_find_by_spid(struct ioasid_set *set,
+					   ioasid_t spid, bool get)
+{
+	return INVALID_IOASID;
+}
+
 static inline void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 					      void (*fn)(ioasid_t id, void *data),
 					      void *data)
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: Jacob Pan <jacob.jun.pan@linux.intel.com>
To: LKML <linux-kernel@vger.kernel.org>,
	Joerg Roedel <joro@8bytes.org>,
	"Lu Baolu" <baolu.lu@linux.intel.com>,
	David Woodhouse <dwmw2@infradead.org>,
	iommu@lists.linux-foundation.org, cgroups@vger.kernel.org,
	Tejun Heo <tj@kernel.org>, Li Zefan <lizefan@huawei.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Jean-Philippe Brucker <jean-philippe@linaro.com>
Cc: "Tian, Kevin" <kevin.tian@intel.com>,
	Dave Jiang <dave.jiang@intel.com>,
	Raj Ashok <ashok.raj@intel.com>, Jonathan Corbet <corbet@lwn.net>,
	Alex Williamson <alex.williamson@redhat.com>,
	Jason Gunthorpe <jgg@nvidia.com>, Wu Hao <hao.wu@intel.com>
Subject: [PATCH V4 08/18] iommu/ioasid: Introduce ioasid_set private ID
Date: Sat, 27 Feb 2021 14:01:16 -0800	[thread overview]
Message-ID: <1614463286-97618-9-git-send-email-jacob.jun.pan@linux.intel.com> (raw)
In-Reply-To: <1614463286-97618-1-git-send-email-jacob.jun.pan@linux.intel.com>

When an IOASID set is used for guest SVA, each VM will acquire its
ioasid_set for IOASID allocations. IOASIDs within the VM must have a
host/physical IOASID backing, mapping between guest and host IOASIDs can
be non-identical. IOASID set private ID (SPID) is introduced in this
patch to be used as guest IOASID. However, the concept of ioasid_set
specific namespace is generic, thus named SPID.

As SPID namespace is within the IOASID set, the IOASID core can provide
lookup services at both directions. SPIDs may not be available when its
IOASID is allocated, the mapping between SPID and IOASID is usually
established when a guest page table is bound to a host PASID.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
---
 drivers/iommu/ioasid.c | 104 +++++++++++++++++++++++++++++++++++++++++
 include/linux/ioasid.h |  18 +++++++
 2 files changed, 122 insertions(+)

diff --git a/drivers/iommu/ioasid.c b/drivers/iommu/ioasid.c
index 9a3ba157dec3..7707bb608bdd 100644
--- a/drivers/iommu/ioasid.c
+++ b/drivers/iommu/ioasid.c
@@ -26,6 +26,7 @@ enum ioasid_state {
  * struct ioasid_data - Meta data about ioasid
  *
  * @id:		Unique ID
+ * @spid:	Private ID unique within a set
  * @refs:	Number of active users
  * @state:	Track state of the IOASID
  * @set:	ioasid_set of the IOASID belongs to
@@ -34,6 +35,7 @@ enum ioasid_state {
  */
 struct ioasid_data {
 	ioasid_t id;
+	ioasid_t spid;
 	enum ioasid_state state;
 	struct ioasid_set *set;
 	void *private;
@@ -413,6 +415,107 @@ void ioasid_detach_data(ioasid_t ioasid)
 }
 EXPORT_SYMBOL_GPL(ioasid_detach_data);
 
+static ioasid_t ioasid_find_by_spid_locked(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid = INVALID_IOASID;
+	struct ioasid_data *entry;
+	unsigned long index;
+
+	if (!xa_load(&ioasid_sets, set->id)) {
+		pr_warn("Invalid set\n");
+		goto done;
+	}
+
+	xa_for_each(&set->xa, index, entry) {
+		if (spid == entry->spid) {
+			if (get)
+				refcount_inc(&entry->refs);
+			ioasid = index;
+		}
+	}
+done:
+	return ioasid;
+}
+
+/**
+ * ioasid_attach_spid - Attach ioasid_set private ID to an IOASID
+ *
+ * @ioasid: the system-wide IOASID to attach
+ * @spid:   the ioasid_set private ID of @ioasid
+ *
+ * After attching SPID, future lookup can be done via ioasid_find_by_spid().
+ */
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	struct ioasid_data *data;
+	int ret = 0;
+
+	if (spid == INVALID_IOASID)
+		return -EINVAL;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data) {
+		pr_err("No IOASID entry %d to attach SPID %d\n",
+			ioasid, spid);
+		ret = -ENOENT;
+		goto done_unlock;
+	}
+	/* Check if SPID is unique within the set */
+	if (ioasid_find_by_spid_locked(data->set, spid, false) != INVALID_IOASID) {
+		ret = -EINVAL;
+		goto done_unlock;
+	}
+	data->spid = spid;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+	return ret;
+}
+EXPORT_SYMBOL_GPL(ioasid_attach_spid);
+
+void ioasid_detach_spid(ioasid_t ioasid)
+{
+	struct ioasid_data *data;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data || data->spid == INVALID_IOASID) {
+		pr_err("Invalid IOASID entry %d to detach\n", ioasid);
+		goto done_unlock;
+	}
+	data->spid = INVALID_IOASID;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+}
+EXPORT_SYMBOL_GPL(ioasid_detach_spid);
+
+/**
+ * ioasid_find_by_spid - Find the system-wide IOASID by a set private ID and
+ * its set.
+ *
+ * @set:	the ioasid_set to search within
+ * @spid:	the set private ID
+ * @get:	flag indicates whether to take a reference once found
+ *
+ * Given a set private ID and its IOASID set, find the system-wide IOASID. Take
+ * a reference upon finding the matching IOASID if @get is true. Return
+ * INVALID_IOASID if the IOASID is not found in the set or the set is not valid.
+ */
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid;
+
+	spin_lock(&ioasid_allocator_lock);
+	ioasid = ioasid_find_by_spid_locked(set, spid, get);
+	spin_unlock(&ioasid_allocator_lock);
+	return ioasid;
+}
+EXPORT_SYMBOL_GPL(ioasid_find_by_spid);
+
 static inline bool ioasid_set_is_valid(struct ioasid_set *set)
 {
 	return xa_load(&ioasid_sets, set->id) == set;
@@ -616,6 +719,7 @@ ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max,
 	}
 	data->id = id;
 	data->state = IOASID_STATE_IDLE;
+	data->spid = INVALID_IOASID;
 
 	/* Store IOASID in the per set data */
 	if (xa_err(xa_store(&set->xa, id, data, GFP_ATOMIC))) {
diff --git a/include/linux/ioasid.h b/include/linux/ioasid.h
index e7f3e6108724..dcab02886cb5 100644
--- a/include/linux/ioasid.h
+++ b/include/linux/ioasid.h
@@ -81,6 +81,9 @@ int ioasid_register_allocator(struct ioasid_allocator_ops *allocator);
 void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator);
 int ioasid_attach_data(ioasid_t ioasid, void *data);
 void ioasid_detach_data(ioasid_t ioasid);
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid);
+void ioasid_detach_spid(ioasid_t ioasid);
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get);
 void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 				void (*fn)(ioasid_t id, void *data),
 				void *data);
@@ -173,6 +176,21 @@ static inline struct ioasid_set *ioasid_find_set(ioasid_t ioasid)
 	return ERR_PTR(-ENOTSUPP);
 }
 
+static inline int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	return -ENOTSUPP;
+}
+
+static inline void ioasid_detach_spid(ioasid_t ioasid)
+{
+}
+
+static inline ioasid_t ioasid_find_by_spid(struct ioasid_set *set,
+					   ioasid_t spid, bool get)
+{
+	return INVALID_IOASID;
+}
+
 static inline void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 					      void (*fn)(ioasid_t id, void *data),
 					      void *data)
-- 
2.25.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

WARNING: multiple messages have this Message-ID (diff)
From: Jacob Pan <jacob.jun.pan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>,
	Lu Baolu <baolu.lu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>,
	David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Tejun Heo <tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>,
	Johannes Weiner <hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org>,
	Jean-Philippe Brucker
	<jean-philippe-68IGFXMjmZ7QT0dZR+AlfA@public.gmane.org>
Cc: "Tian,
	Kevin" <kevin.tian-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Dave Jiang <dave.jiang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Raj Ashok <ashok.raj-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Jonathan Corbet <corbet-T1hC0tSOHrs@public.gmane.org>,
	Alex Williamson
	<alex.williamson-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Jason Gunthorpe <jgg-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Wu Hao <hao.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Subject: [PATCH V4 08/18] iommu/ioasid: Introduce ioasid_set private ID
Date: Sat, 27 Feb 2021 14:01:16 -0800	[thread overview]
Message-ID: <1614463286-97618-9-git-send-email-jacob.jun.pan@linux.intel.com> (raw)
In-Reply-To: <1614463286-97618-1-git-send-email-jacob.jun.pan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

When an IOASID set is used for guest SVA, each VM will acquire its
ioasid_set for IOASID allocations. IOASIDs within the VM must have a
host/physical IOASID backing, mapping between guest and host IOASIDs can
be non-identical. IOASID set private ID (SPID) is introduced in this
patch to be used as guest IOASID. However, the concept of ioasid_set
specific namespace is generic, thus named SPID.

As SPID namespace is within the IOASID set, the IOASID core can provide
lookup services at both directions. SPIDs may not be available when its
IOASID is allocated, the mapping between SPID and IOASID is usually
established when a guest page table is bound to a host PASID.

Signed-off-by: Jacob Pan <jacob.jun.pan-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
---
 drivers/iommu/ioasid.c | 104 +++++++++++++++++++++++++++++++++++++++++
 include/linux/ioasid.h |  18 +++++++
 2 files changed, 122 insertions(+)

diff --git a/drivers/iommu/ioasid.c b/drivers/iommu/ioasid.c
index 9a3ba157dec3..7707bb608bdd 100644
--- a/drivers/iommu/ioasid.c
+++ b/drivers/iommu/ioasid.c
@@ -26,6 +26,7 @@ enum ioasid_state {
  * struct ioasid_data - Meta data about ioasid
  *
  * @id:		Unique ID
+ * @spid:	Private ID unique within a set
  * @refs:	Number of active users
  * @state:	Track state of the IOASID
  * @set:	ioasid_set of the IOASID belongs to
@@ -34,6 +35,7 @@ enum ioasid_state {
  */
 struct ioasid_data {
 	ioasid_t id;
+	ioasid_t spid;
 	enum ioasid_state state;
 	struct ioasid_set *set;
 	void *private;
@@ -413,6 +415,107 @@ void ioasid_detach_data(ioasid_t ioasid)
 }
 EXPORT_SYMBOL_GPL(ioasid_detach_data);
 
+static ioasid_t ioasid_find_by_spid_locked(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid = INVALID_IOASID;
+	struct ioasid_data *entry;
+	unsigned long index;
+
+	if (!xa_load(&ioasid_sets, set->id)) {
+		pr_warn("Invalid set\n");
+		goto done;
+	}
+
+	xa_for_each(&set->xa, index, entry) {
+		if (spid == entry->spid) {
+			if (get)
+				refcount_inc(&entry->refs);
+			ioasid = index;
+		}
+	}
+done:
+	return ioasid;
+}
+
+/**
+ * ioasid_attach_spid - Attach ioasid_set private ID to an IOASID
+ *
+ * @ioasid: the system-wide IOASID to attach
+ * @spid:   the ioasid_set private ID of @ioasid
+ *
+ * After attching SPID, future lookup can be done via ioasid_find_by_spid().
+ */
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	struct ioasid_data *data;
+	int ret = 0;
+
+	if (spid == INVALID_IOASID)
+		return -EINVAL;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data) {
+		pr_err("No IOASID entry %d to attach SPID %d\n",
+			ioasid, spid);
+		ret = -ENOENT;
+		goto done_unlock;
+	}
+	/* Check if SPID is unique within the set */
+	if (ioasid_find_by_spid_locked(data->set, spid, false) != INVALID_IOASID) {
+		ret = -EINVAL;
+		goto done_unlock;
+	}
+	data->spid = spid;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+	return ret;
+}
+EXPORT_SYMBOL_GPL(ioasid_attach_spid);
+
+void ioasid_detach_spid(ioasid_t ioasid)
+{
+	struct ioasid_data *data;
+
+	spin_lock(&ioasid_allocator_lock);
+	data = xa_load(&active_allocator->xa, ioasid);
+
+	if (!data || data->spid == INVALID_IOASID) {
+		pr_err("Invalid IOASID entry %d to detach\n", ioasid);
+		goto done_unlock;
+	}
+	data->spid = INVALID_IOASID;
+
+done_unlock:
+	spin_unlock(&ioasid_allocator_lock);
+}
+EXPORT_SYMBOL_GPL(ioasid_detach_spid);
+
+/**
+ * ioasid_find_by_spid - Find the system-wide IOASID by a set private ID and
+ * its set.
+ *
+ * @set:	the ioasid_set to search within
+ * @spid:	the set private ID
+ * @get:	flag indicates whether to take a reference once found
+ *
+ * Given a set private ID and its IOASID set, find the system-wide IOASID. Take
+ * a reference upon finding the matching IOASID if @get is true. Return
+ * INVALID_IOASID if the IOASID is not found in the set or the set is not valid.
+ */
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get)
+{
+	ioasid_t ioasid;
+
+	spin_lock(&ioasid_allocator_lock);
+	ioasid = ioasid_find_by_spid_locked(set, spid, get);
+	spin_unlock(&ioasid_allocator_lock);
+	return ioasid;
+}
+EXPORT_SYMBOL_GPL(ioasid_find_by_spid);
+
 static inline bool ioasid_set_is_valid(struct ioasid_set *set)
 {
 	return xa_load(&ioasid_sets, set->id) == set;
@@ -616,6 +719,7 @@ ioasid_t ioasid_alloc(struct ioasid_set *set, ioasid_t min, ioasid_t max,
 	}
 	data->id = id;
 	data->state = IOASID_STATE_IDLE;
+	data->spid = INVALID_IOASID;
 
 	/* Store IOASID in the per set data */
 	if (xa_err(xa_store(&set->xa, id, data, GFP_ATOMIC))) {
diff --git a/include/linux/ioasid.h b/include/linux/ioasid.h
index e7f3e6108724..dcab02886cb5 100644
--- a/include/linux/ioasid.h
+++ b/include/linux/ioasid.h
@@ -81,6 +81,9 @@ int ioasid_register_allocator(struct ioasid_allocator_ops *allocator);
 void ioasid_unregister_allocator(struct ioasid_allocator_ops *allocator);
 int ioasid_attach_data(ioasid_t ioasid, void *data);
 void ioasid_detach_data(ioasid_t ioasid);
+int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid);
+void ioasid_detach_spid(ioasid_t ioasid);
+ioasid_t ioasid_find_by_spid(struct ioasid_set *set, ioasid_t spid, bool get);
 void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 				void (*fn)(ioasid_t id, void *data),
 				void *data);
@@ -173,6 +176,21 @@ static inline struct ioasid_set *ioasid_find_set(ioasid_t ioasid)
 	return ERR_PTR(-ENOTSUPP);
 }
 
+static inline int ioasid_attach_spid(ioasid_t ioasid, ioasid_t spid)
+{
+	return -ENOTSUPP;
+}
+
+static inline void ioasid_detach_spid(ioasid_t ioasid)
+{
+}
+
+static inline ioasid_t ioasid_find_by_spid(struct ioasid_set *set,
+					   ioasid_t spid, bool get)
+{
+	return INVALID_IOASID;
+}
+
 static inline void ioasid_set_for_each_ioasid(struct ioasid_set *sdata,
 					      void (*fn)(ioasid_t id, void *data),
 					      void *data)
-- 
2.25.1

  parent reply	other threads:[~2021-02-28  6:39 UTC|newest]

Thread overview: 794+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27 22:01 [PATCH V4 00/18] IOASID extensions for guest SVA Jacob Pan
2021-02-27 22:01 ` Jacob Pan
2021-02-27 22:01 ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 01/18] docs: Document IO Address Space ID (IOASID) APIs Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 02/18] iommu/ioasid: Rename ioasid_set_data() Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 03/18] iommu/ioasid: Add a separate function for detach data Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 04/18] iommu/ioasid: Support setting system-wide capacity Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-03-19  0:22   ` Jacob Pan
2021-03-19  0:22     ` Jacob Pan
2021-03-19  0:22     ` Jacob Pan
2021-03-19  9:58     ` Jean-Philippe Brucker
2021-03-19  9:58       ` Jean-Philippe Brucker
2021-03-19  9:58       ` Jean-Philippe Brucker
2021-03-19 12:46       ` Jason Gunthorpe
2021-03-19 12:46         ` Jason Gunthorpe
2021-03-19 12:46         ` Jason Gunthorpe
2021-03-19 13:41         ` Jean-Philippe Brucker
2021-03-19 13:41           ` Jean-Philippe Brucker
2021-03-19 13:41           ` Jean-Philippe Brucker
2021-03-19 13:54           ` Jason Gunthorpe
2021-03-19 13:54             ` Jason Gunthorpe
2021-03-19 13:54             ` Jason Gunthorpe
2021-03-19 18:22             ` Jacob Pan
2021-03-19 18:22               ` Jacob Pan
2021-03-19 18:22               ` Jacob Pan
2021-03-22  9:24               ` Jean-Philippe Brucker
2021-03-22  9:24                 ` Jean-Philippe Brucker
2021-03-22  9:24                 ` Jean-Philippe Brucker
2021-03-24 17:02                 ` Jacob Pan
2021-03-24 17:02                   ` Jacob Pan
2021-03-24 17:02                   ` Jacob Pan
2021-03-24 17:03                   ` Jason Gunthorpe
2021-03-24 17:03                     ` Jason Gunthorpe
2021-03-24 17:03                     ` Jason Gunthorpe
2021-03-24 22:12                     ` Jacob Pan
2021-03-24 22:12                       ` Jacob Pan
2021-03-24 22:12                       ` Jacob Pan
2021-03-25 10:21                       ` Jean-Philippe Brucker
2021-03-25 10:21                         ` Jean-Philippe Brucker
2021-03-25 10:21                         ` Jean-Philippe Brucker
2021-03-25 17:02                         ` Jacob Pan
2021-03-25 17:02                           ` Jacob Pan
2021-03-25 17:02                           ` Jacob Pan
2021-03-25 17:16                           ` Jason Gunthorpe
2021-03-25 17:16                             ` Jason Gunthorpe
2021-03-25 17:16                             ` Jason Gunthorpe
2021-03-25 18:23                             ` Jacob Pan
2021-03-25 18:23                               ` Jacob Pan
2021-03-25 18:23                               ` Jacob Pan
2021-03-26  8:06                             ` Jean-Philippe Brucker
2021-03-26  8:06                               ` Jean-Philippe Brucker
2021-03-26  8:06                               ` Jean-Philippe Brucker
2021-03-30 13:07                               ` Jason Gunthorpe
2021-03-30 13:07                                 ` Jason Gunthorpe
2021-03-30 13:07                                 ` Jason Gunthorpe
2021-03-30 13:42                                 ` Jean-Philippe Brucker
2021-03-30 13:42                                   ` Jean-Philippe Brucker
2021-03-30 13:42                                   ` Jean-Philippe Brucker
2021-03-30 13:46                                   ` Jason Gunthorpe
2021-03-30 13:46                                     ` Jason Gunthorpe
2021-03-30 13:46                                     ` Jason Gunthorpe
2021-03-25 10:26                   ` Jean-Philippe Brucker
2021-03-25 10:26                     ` Jean-Philippe Brucker
2021-03-25 10:26                     ` Jean-Philippe Brucker
2021-03-22 12:03               ` Jason Gunthorpe
2021-03-22 12:03                 ` Jason Gunthorpe
2021-03-22 12:03                 ` Jason Gunthorpe
2021-03-24 19:05                 ` Jacob Pan
2021-03-24 19:05                   ` Jacob Pan
2021-03-24 19:05                   ` Jacob Pan
2021-03-29 16:31                   ` Jason Gunthorpe
2021-03-29 16:31                     ` Jason Gunthorpe
2021-03-29 16:31                     ` Jason Gunthorpe
2021-03-29 22:55                     ` Jacob Pan
2021-03-29 22:55                       ` Jacob Pan
2021-03-29 22:55                       ` Jacob Pan
2021-03-30 13:43                       ` Jason Gunthorpe
2021-03-30 13:43                         ` Jason Gunthorpe
2021-03-30 13:43                         ` Jason Gunthorpe
2021-03-31  0:10                         ` Jacob Pan
2021-03-31  0:10                           ` Jacob Pan
2021-03-31  0:10                           ` Jacob Pan
2021-03-31 12:28                           ` Jason Gunthorpe
2021-03-31 12:28                             ` Jason Gunthorpe
2021-03-31 12:28                             ` Jason Gunthorpe
2021-03-31 16:34                             ` Jacob Pan
2021-03-31 16:34                               ` Jacob Pan
2021-03-31 16:34                               ` Jacob Pan
2021-03-31 17:31                               ` Jason Gunthorpe
2021-03-31 17:31                                 ` Jason Gunthorpe
2021-03-31 17:31                                 ` Jason Gunthorpe
2021-03-31 18:20                                 ` Jacob Pan
2021-03-31 18:20                                   ` Jacob Pan
2021-03-31 18:20                                   ` Jacob Pan
2021-03-31 18:33                                   ` Jason Gunthorpe
2021-03-31 18:33                                     ` Jason Gunthorpe
2021-03-31 18:33                                     ` Jason Gunthorpe
2021-03-31 21:50                                     ` Jacob Pan
2021-03-31 21:50                                       ` Jacob Pan
2021-03-31 21:50                                       ` Jacob Pan
2021-03-31  8:38                         ` Liu, Yi L
2021-03-31  8:38                           ` Liu, Yi L
2021-03-31  8:38                           ` Liu, Yi L
2021-03-30  1:37                     ` Tian, Kevin
2021-03-30  1:37                       ` Tian, Kevin
2021-03-30  1:37                       ` Tian, Kevin
2021-03-30 13:28                       ` Jason Gunthorpe
2021-03-30 13:28                         ` Jason Gunthorpe
2021-03-30 13:28                         ` Jason Gunthorpe
2021-03-31  7:38                         ` Liu, Yi L
2021-03-31  7:38                           ` Liu, Yi L
2021-03-31  7:38                           ` Liu, Yi L
2021-03-31 12:40                           ` Jason Gunthorpe
2021-03-31 12:40                             ` Jason Gunthorpe
2021-03-31 12:40                             ` Jason Gunthorpe
2021-04-01  4:38                             ` Liu, Yi L
2021-04-01  4:38                               ` Liu, Yi L
2021-04-01  4:38                               ` Liu, Yi L
2021-04-01  7:04                               ` Liu, Yi L
2021-04-01  7:04                                 ` Liu, Yi L
2021-04-01  7:04                                 ` Liu, Yi L
2021-04-01 11:54                                 ` Jason Gunthorpe
2021-04-01 11:54                                   ` Jason Gunthorpe
2021-04-01 11:54                                   ` Jason Gunthorpe
2021-04-02 12:46                                   ` Liu, Yi L
2021-04-02 12:46                                     ` Liu, Yi L
2021-04-02 12:46                                     ` Liu, Yi L
2021-04-01 12:05                                 ` Jean-Philippe Brucker
2021-04-01 12:05                                   ` Jean-Philippe Brucker
2021-04-01 12:05                                   ` Jean-Philippe Brucker
2021-04-01 12:12                                   ` Jason Gunthorpe
2021-04-01 12:12                                     ` Jason Gunthorpe
2021-04-01 12:12                                     ` Jason Gunthorpe
2021-04-01 13:38                                   ` Liu, Yi L
2021-04-01 13:38                                     ` Liu, Yi L
2021-04-01 13:38                                     ` Liu, Yi L
2021-04-01 13:42                                     ` Jason Gunthorpe
2021-04-01 13:42                                       ` Jason Gunthorpe
2021-04-01 13:42                                       ` Jason Gunthorpe
2021-04-01 14:08                                       ` Liu, Yi L
2021-04-01 14:08                                         ` Liu, Yi L
2021-04-01 14:08                                         ` Liu, Yi L
2021-04-01 16:03                                         ` Jason Gunthorpe
2021-04-01 16:03                                           ` Jason Gunthorpe
2021-04-01 16:03                                           ` Jason Gunthorpe
2021-04-02  7:30                                           ` Tian, Kevin
2021-04-02  7:30                                             ` Tian, Kevin
2021-04-02  7:30                                             ` Tian, Kevin
2021-04-05 23:35                                             ` Jason Gunthorpe
2021-04-05 23:35                                               ` Jason Gunthorpe
2021-04-05 23:35                                               ` Jason Gunthorpe
2021-04-06  0:37                                               ` Tian, Kevin
2021-04-06  0:37                                                 ` Tian, Kevin
2021-04-06  0:37                                                 ` Tian, Kevin
2021-04-06 12:15                                                 ` Jason Gunthorpe
2021-04-06 12:15                                                   ` Jason Gunthorpe
2021-04-06 12:15                                                   ` Jason Gunthorpe
2021-04-15 13:11                                           ` Auger Eric
2021-04-15 13:11                                             ` Auger Eric
2021-04-15 23:07                                             ` Jason Gunthorpe
2021-04-15 23:07                                               ` Jason Gunthorpe
2021-04-15 23:07                                               ` Jason Gunthorpe
2021-04-16 13:12                                               ` Jacob Pan
2021-04-16 13:12                                                 ` Jacob Pan
2021-04-16 13:12                                                 ` Jacob Pan
2021-04-16 15:45                                                 ` Alex Williamson
2021-04-16 15:45                                                   ` Alex Williamson
2021-04-16 17:23                                                   ` Jacob Pan
2021-04-16 17:23                                                     ` Jacob Pan
2021-04-16 17:23                                                     ` Jacob Pan
2021-04-16 17:54                                                     ` Jason Gunthorpe
2021-04-16 17:54                                                       ` Jason Gunthorpe
2021-04-16 17:54                                                       ` Jason Gunthorpe
2021-04-21 13:18                                                   ` Liu, Yi L
2021-04-21 13:18                                                     ` Liu, Yi L
2021-04-21 13:18                                                     ` Liu, Yi L
2021-04-21 16:23                                                     ` Jason Gunthorpe
2021-04-21 16:23                                                       ` Jason Gunthorpe
2021-04-21 16:23                                                       ` Jason Gunthorpe
2021-04-21 16:54                                                       ` Alex Williamson
2021-04-21 16:54                                                         ` Alex Williamson
2021-04-21 17:52                                                         ` Jason Gunthorpe
2021-04-21 17:52                                                           ` Jason Gunthorpe
2021-04-21 17:52                                                           ` Jason Gunthorpe
2021-04-21 19:33                                                           ` Alex Williamson
2021-04-21 19:33                                                             ` Alex Williamson
2021-04-21 19:33                                                             ` Alex Williamson
2021-04-21 23:03                                                             ` Jason Gunthorpe
2021-04-21 23:03                                                               ` Jason Gunthorpe
2021-04-21 23:03                                                               ` Jason Gunthorpe
2021-04-22  8:34                                                               ` Tian, Kevin
2021-04-22  8:34                                                                 ` Tian, Kevin
2021-04-22  8:34                                                                 ` Tian, Kevin
2021-04-22 12:10                                                                 ` Jason Gunthorpe
2021-04-22 12:10                                                                   ` Jason Gunthorpe
2021-04-23  9:06                                                                   ` Tian, Kevin
2021-04-23  9:06                                                                     ` Tian, Kevin
2021-04-23  9:06                                                                     ` Tian, Kevin
2021-04-23 11:49                                                                     ` Jason Gunthorpe
2021-04-23 11:49                                                                       ` Jason Gunthorpe
2021-04-25  9:24                                                                       ` Tian, Kevin
2021-04-25  9:24                                                                         ` Tian, Kevin
2021-04-25  9:24                                                                         ` Tian, Kevin
2021-04-26 12:38                                                                         ` Jason Gunthorpe
2021-04-26 12:38                                                                           ` Jason Gunthorpe
2021-04-26 12:38                                                                           ` Jason Gunthorpe
2021-04-28  6:34                                                                           ` Tian, Kevin
2021-04-28  6:34                                                                             ` Tian, Kevin
2021-04-28  6:34                                                                             ` Tian, Kevin
2021-04-28 15:06                                                                             ` Alex Williamson
2021-04-28 15:06                                                                               ` Alex Williamson
2021-05-07  7:36                                                                               ` Tian, Kevin
2021-05-07  7:36                                                                                 ` Tian, Kevin
2021-05-07  7:36                                                                                 ` Tian, Kevin
2021-05-07 11:56                                                                                 ` Jason Gunthorpe
2021-05-07 11:56                                                                                   ` Jason Gunthorpe
2021-05-07 11:56                                                                                   ` Jason Gunthorpe
2021-05-07 17:06                                                                                 ` Alex Williamson
2021-05-07 17:06                                                                                   ` Alex Williamson
2021-05-07 17:06                                                                                   ` Alex Williamson
2021-05-07 17:10                                                                                   ` Jason Gunthorpe
2021-05-07 17:10                                                                                     ` Jason Gunthorpe
2021-05-07 17:10                                                                                     ` Jason Gunthorpe
2021-05-08  6:08                                                                                     ` Tian, Kevin
2021-05-08  6:08                                                                                       ` Tian, Kevin
2021-05-08  7:31                                                                                   ` Tian, Kevin
2021-05-08  7:31                                                                                     ` Tian, Kevin
2021-05-08  7:31                                                                                     ` Tian, Kevin
2021-05-10  2:56                                                                                     ` Lu Baolu
2021-05-10  2:56                                                                                       ` Lu Baolu
2021-05-10  2:56                                                                                       ` Lu Baolu
2021-04-28 20:46                                                                             ` Jason Gunthorpe
2021-04-28 20:46                                                                               ` Jason Gunthorpe
2021-04-28 20:46                                                                               ` Jason Gunthorpe
2021-05-04 16:22                                                                               ` Jacob Pan
2021-05-04 16:22                                                                                 ` Jacob Pan
2021-05-04 16:22                                                                                 ` Jacob Pan
2021-05-04 16:31                                                                                 ` Jason Gunthorpe
2021-05-04 16:31                                                                                   ` Jason Gunthorpe
2021-05-04 16:31                                                                                   ` Jason Gunthorpe
2021-05-08  5:46                                                                               ` Tian, Kevin
2021-05-08  5:46                                                                                 ` Tian, Kevin
2021-05-08  5:46                                                                                 ` Tian, Kevin
2021-05-04 15:41                                                                             ` Jacob Pan
2021-05-04 15:41                                                                               ` Jacob Pan
2021-05-04 15:41                                                                               ` Jacob Pan
2021-05-04 18:00                                                                               ` Jason Gunthorpe
2021-05-04 18:00                                                                                 ` Jason Gunthorpe
2021-05-04 18:00                                                                                 ` Jason Gunthorpe
2021-05-04 22:11                                                                                 ` Jacob Pan
2021-05-04 22:11                                                                                   ` Jacob Pan
2021-05-04 22:11                                                                                   ` Jacob Pan
2021-05-04 23:15                                                                                   ` Jason Gunthorpe
2021-05-04 23:15                                                                                     ` Jason Gunthorpe
2021-05-04 23:15                                                                                     ` Jason Gunthorpe
2021-05-05 17:22                                                                                     ` Jacob Pan
2021-05-05 17:22                                                                                       ` Jacob Pan
2021-05-05 17:22                                                                                       ` Jacob Pan
2021-05-05 18:00                                                                                       ` Jason Gunthorpe
2021-05-05 18:00                                                                                         ` Jason Gunthorpe
2021-05-05 18:00                                                                                         ` Jason Gunthorpe
2021-05-05 20:04                                                                                         ` Jacob Pan
2021-05-05 20:04                                                                                           ` Jacob Pan
2021-05-05 20:04                                                                                           ` Jacob Pan
2021-05-05 22:21                                                                                           ` Jason Gunthorpe
2021-05-05 22:21                                                                                             ` Jason Gunthorpe
2021-05-05 22:21                                                                                             ` Jason Gunthorpe
2021-05-05 23:23                                                                                             ` Raj, Ashok
2021-05-05 23:23                                                                                               ` Raj, Ashok
2021-05-05 23:23                                                                                               ` Raj, Ashok
2021-05-06 12:22                                                                                               ` Jason Gunthorpe
2021-05-06 12:22                                                                                                 ` Jason Gunthorpe
2021-05-06 12:22                                                                                                 ` Jason Gunthorpe
2021-05-08  7:06                                                                                             ` Liu Yi L
2021-05-08  7:06                                                                                               ` Liu Yi L
2021-05-08  7:06                                                                                               ` Liu Yi L
2021-05-06  7:23                                                                                           ` Jean-Philippe Brucker
2021-05-06  7:23                                                                                             ` Jean-Philippe Brucker
2021-05-06  7:23                                                                                             ` Jean-Philippe Brucker
2021-05-06 12:27                                                                                             ` Jason Gunthorpe
2021-05-06 12:27                                                                                               ` Jason Gunthorpe
2021-05-06 12:27                                                                                               ` Jason Gunthorpe
2021-05-06 16:32                                                                                               ` Raj, Ashok
2021-05-06 16:32                                                                                                 ` Raj, Ashok
2021-05-06 16:32                                                                                                 ` Raj, Ashok
2021-05-07 17:20                                                                                                 ` Jason Gunthorpe
2021-05-07 17:20                                                                                                   ` Jason Gunthorpe
2021-05-07 17:20                                                                                                   ` Jason Gunthorpe
2021-05-07 18:14                                                                                                   ` Raj, Ashok
2021-05-07 18:14                                                                                                     ` Raj, Ashok
2021-05-07 18:14                                                                                                     ` Raj, Ashok
2021-05-07 18:20                                                                                                     ` Jason Gunthorpe
2021-05-07 18:20                                                                                                       ` Jason Gunthorpe
2021-05-07 18:20                                                                                                       ` Jason Gunthorpe
2021-05-07 19:23                                                                                                       ` Raj, Ashok
2021-05-07 19:23                                                                                                         ` Raj, Ashok
2021-05-07 19:23                                                                                                         ` Raj, Ashok
2021-05-07 19:28                                                                                                         ` Jason Gunthorpe
2021-05-07 19:28                                                                                                           ` Jason Gunthorpe
2021-05-07 19:28                                                                                                           ` Jason Gunthorpe
2021-05-07 22:15                                                                                                           ` Jacob Pan
2021-05-07 22:15                                                                                                             ` Jacob Pan
2021-05-07 22:15                                                                                                             ` Jacob Pan
2021-05-08  9:56                                                                                                 ` Tian, Kevin
2021-05-08  9:56                                                                                                   ` Tian, Kevin
2021-05-08  9:56                                                                                                   ` Tian, Kevin
2021-05-10 12:37                                                                                                   ` Jason Gunthorpe
2021-05-10 12:37                                                                                                     ` Jason Gunthorpe
2021-05-10 12:37                                                                                                     ` Jason Gunthorpe
2021-05-10 15:25                                                                                                     ` Raj, Ashok
2021-05-10 15:25                                                                                                       ` Raj, Ashok
2021-05-10 15:25                                                                                                       ` Raj, Ashok
2021-05-10 15:31                                                                                                       ` Jason Gunthorpe
2021-05-10 15:31                                                                                                         ` Jason Gunthorpe
2021-05-10 15:31                                                                                                         ` Jason Gunthorpe
2021-05-10 16:22                                                                                                         ` Raj, Ashok
2021-05-10 16:22                                                                                                           ` Raj, Ashok
2021-05-10 16:22                                                                                                           ` Raj, Ashok
2021-05-10 16:39                                                                                                           ` Jason Gunthorpe
2021-05-10 16:39                                                                                                             ` Jason Gunthorpe
2021-05-10 16:39                                                                                                             ` Jason Gunthorpe
2021-05-10 22:28                                                                                                             ` Jacob Pan
2021-05-10 22:28                                                                                                               ` Jacob Pan
2021-05-10 22:28                                                                                                               ` Jacob Pan
2021-05-10 23:45                                                                                                               ` Jason Gunthorpe
2021-05-10 23:45                                                                                                                 ` Jason Gunthorpe
2021-05-10 23:45                                                                                                                 ` Jason Gunthorpe
2021-05-11  3:56                                                                                                                 ` Jacob Pan
2021-05-11  3:56                                                                                                                   ` Jacob Pan
2021-05-11  3:56                                                                                                                   ` Jacob Pan
2021-05-11  9:10                                                                                                     ` Tian, Kevin
2021-05-11  9:10                                                                                                       ` Tian, Kevin
2021-05-11  9:10                                                                                                       ` Tian, Kevin
2021-05-11 13:24                                                                                                       ` Liu Yi L
2021-05-11 13:24                                                                                                         ` Liu Yi L
2021-05-11 13:24                                                                                                         ` Liu Yi L
2021-05-11 22:52                                                                                                         ` Tian, Kevin
2021-05-11 22:52                                                                                                           ` Tian, Kevin
2021-05-11 22:52                                                                                                           ` Tian, Kevin
2021-05-11 14:38                                                                                                       ` Jason Gunthorpe
2021-05-11 14:38                                                                                                         ` Jason Gunthorpe
2021-05-11 14:38                                                                                                         ` Jason Gunthorpe
2021-05-11 22:51                                                                                                         ` Tian, Kevin
2021-05-11 22:51                                                                                                           ` Tian, Kevin
2021-05-11 22:51                                                                                                           ` Tian, Kevin
2021-05-11 23:39                                                                                                           ` Jason Gunthorpe
2021-05-11 23:39                                                                                                             ` Jason Gunthorpe
2021-05-12  0:21                                                                                                             ` Tian, Kevin
2021-05-12  0:21                                                                                                               ` Tian, Kevin
2021-05-12  0:21                                                                                                               ` Tian, Kevin
2021-05-12  0:25                                                                                                               ` Jason Gunthorpe
2021-05-12  0:25                                                                                                                 ` Jason Gunthorpe
2021-05-12  0:40                                                                                                                 ` Tian, Kevin
2021-05-12  0:40                                                                                                                   ` Tian, Kevin
2021-05-12  0:40                                                                                                                   ` Tian, Kevin
2021-04-29  8:54                                                                       ` Auger Eric
2021-04-29  8:54                                                                         ` Auger Eric
2021-04-29  8:54                                                                         ` Auger Eric
2021-04-29  8:55                                                                   ` Auger Eric
2021-04-29  8:55                                                                     ` Auger Eric
2021-04-29  8:55                                                                     ` Auger Eric
2021-04-29 13:26                                                                   ` Auger Eric
2021-04-29 13:26                                                                     ` Auger Eric
2021-04-29 13:26                                                                     ` Auger Eric
2021-04-29 20:04                                                                     ` Jason Gunthorpe
2021-04-29 20:04                                                                       ` Jason Gunthorpe
2021-04-29 20:04                                                                       ` Jason Gunthorpe
2021-05-05  9:10                                                                       ` Auger Eric
2021-05-05  9:10                                                                         ` Auger Eric
2021-05-05  9:10                                                                         ` Auger Eric
2021-04-22 17:13                                                               ` Alex Williamson
2021-04-22 17:13                                                                 ` Alex Williamson
2021-04-22 17:13                                                                 ` Alex Williamson
2021-04-22 17:57                                                                 ` Jason Gunthorpe
2021-04-22 17:57                                                                   ` Jason Gunthorpe
2021-04-22 17:57                                                                   ` Jason Gunthorpe
2021-04-22 19:37                                                                   ` Alex Williamson
2021-04-22 19:37                                                                     ` Alex Williamson
2021-04-22 19:37                                                                     ` Alex Williamson
2021-04-22 20:00                                                                     ` Jason Gunthorpe
2021-04-22 20:00                                                                       ` Jason Gunthorpe
2021-04-22 20:00                                                                       ` Jason Gunthorpe
2021-04-22 22:38                                                                       ` Alex Williamson
2021-04-22 22:38                                                                         ` Alex Williamson
2021-04-22 22:38                                                                         ` Alex Williamson
2021-04-22 23:39                                                                         ` Jason Gunthorpe
2021-04-22 23:39                                                                           ` Jason Gunthorpe
2021-04-22 23:39                                                                           ` Jason Gunthorpe
2021-04-23 10:31                                                                           ` Tian, Kevin
2021-04-23 10:31                                                                             ` Tian, Kevin
2021-04-23 10:31                                                                             ` Tian, Kevin
2021-04-23 11:57                                                                             ` Jason Gunthorpe
2021-04-23 11:57                                                                               ` Jason Gunthorpe
2021-04-23 11:57                                                                               ` Jason Gunthorpe
2021-04-27  5:11                                                                             ` David Gibson
2021-04-27  5:11                                                                               ` David Gibson
2021-04-27  5:11                                                                               ` David Gibson
2021-04-27 16:39                                                                               ` Jason Gunthorpe
2021-04-27 16:39                                                                                 ` Jason Gunthorpe
2021-04-27 16:39                                                                                 ` Jason Gunthorpe
2021-04-28  0:49                                                                                 ` David Gibson
2021-04-28  0:49                                                                                   ` David Gibson
2021-04-28  0:49                                                                                   ` David Gibson
2021-04-23 16:38                                                                           ` Alex Williamson
2021-04-23 16:38                                                                             ` Alex Williamson
2021-04-23 16:38                                                                             ` Alex Williamson
2021-04-23 22:28                                                                             ` Jason Gunthorpe
2021-04-23 22:28                                                                               ` Jason Gunthorpe
2021-04-23 22:28                                                                               ` Jason Gunthorpe
2021-04-27  5:15                                                                               ` David Gibson
2021-04-27  5:15                                                                                 ` David Gibson
2021-04-27  5:15                                                                                 ` David Gibson
2021-04-27  5:08                                                                           ` David Gibson
2021-04-27  5:08                                                                             ` David Gibson
2021-04-27  5:08                                                                             ` David Gibson
2021-04-27 17:12                                                                             ` Jason Gunthorpe
2021-04-27 17:12                                                                               ` Jason Gunthorpe
2021-04-27 17:12                                                                               ` Jason Gunthorpe
2021-04-28  0:58                                                                               ` David Gibson
2021-04-28  0:58                                                                                 ` David Gibson
2021-04-28  0:58                                                                                 ` David Gibson
2021-04-28 14:56                                                                                 ` Jason Gunthorpe
2021-04-28 14:56                                                                                   ` Jason Gunthorpe
2021-04-28 14:56                                                                                   ` Jason Gunthorpe
2021-04-29  3:04                                                                                   ` David Gibson
2021-04-29  3:04                                                                                     ` David Gibson
2021-04-29  3:04                                                                                     ` David Gibson
2021-05-03 16:15                                                                                     ` Jason Gunthorpe
2021-05-03 16:15                                                                                       ` Jason Gunthorpe
2021-05-03 16:15                                                                                       ` Jason Gunthorpe
2021-05-13  5:48                                                                                       ` David Gibson
2021-05-13  5:48                                                                                         ` David Gibson
2021-05-13  5:48                                                                                         ` David Gibson
2021-05-13 13:59                                                                                         ` Jason Gunthorpe
2021-05-13 13:59                                                                                           ` Jason Gunthorpe
2021-05-13 13:59                                                                                           ` Jason Gunthorpe
2021-05-24  7:52                                                                                           ` David Gibson
2021-05-24  7:52                                                                                             ` David Gibson
2021-05-24  7:52                                                                                             ` David Gibson
2021-05-24 23:37                                                                                             ` Jason Gunthorpe
2021-05-24 23:37                                                                                               ` Jason Gunthorpe
2021-05-24 23:37                                                                                               ` Jason Gunthorpe
2021-05-25 19:26                                                                                               ` Kirti Wankhede
2021-05-25 19:26                                                                                                 ` Kirti Wankhede
2021-05-25 19:26                                                                                                 ` Kirti Wankhede
2021-05-25 19:52                                                                                                 ` Jason Gunthorpe
2021-05-25 19:52                                                                                                   ` Jason Gunthorpe
2021-05-25 19:52                                                                                                   ` Jason Gunthorpe
2021-05-25 21:18                                                                                                   ` Kirti Wankhede
2021-05-25 21:18                                                                                                     ` Kirti Wankhede
2021-05-25 21:18                                                                                                     ` Kirti Wankhede
2021-05-27  5:00                                                                                                     ` David Gibson
2021-05-27  5:00                                                                                                       ` David Gibson
2021-05-27  5:00                                                                                                       ` David Gibson
2021-05-27 18:25                                                                                                       ` Kirti Wankhede
2021-05-27 18:25                                                                                                         ` Kirti Wankhede
2021-05-27 18:25                                                                                                         ` Kirti Wankhede
2021-06-01  3:45                                                                                                         ` David Gibson
2021-06-01  3:45                                                                                                           ` David Gibson
2021-06-01  3:45                                                                                                           ` David Gibson
2021-05-27  4:58                                                                                                   ` David Gibson
2021-05-27  4:58                                                                                                     ` David Gibson
2021-05-27  4:58                                                                                                     ` David Gibson
2021-05-27 18:48                                                                                                     ` Jason Gunthorpe
2021-05-27 18:48                                                                                                       ` Jason Gunthorpe
2021-05-27 18:48                                                                                                       ` Jason Gunthorpe
2021-06-01  4:03                                                                                                       ` David Gibson
2021-06-01  4:03                                                                                                         ` David Gibson
2021-06-01  4:03                                                                                                         ` David Gibson
2021-06-01 12:57                                                                                                         ` Jason Gunthorpe
2021-06-01 12:57                                                                                                           ` Jason Gunthorpe
2021-06-01 12:57                                                                                                           ` Jason Gunthorpe
2021-06-08  0:44                                                                                                           ` David Gibson
2021-06-08  0:44                                                                                                             ` David Gibson
2021-06-08  0:44                                                                                                             ` David Gibson
2021-06-08 18:34                                                                                                             ` Jason Gunthorpe
2021-06-08 18:34                                                                                                               ` Jason Gunthorpe
2021-06-08 18:34                                                                                                               ` Jason Gunthorpe
2021-05-25 22:52                                                                                                 ` Alex Williamson
2021-05-25 22:52                                                                                                   ` Alex Williamson
2021-05-25 22:52                                                                                                   ` Alex Williamson
2021-05-26 18:10                                                                                                   ` Kirti Wankhede
2021-05-26 18:10                                                                                                     ` Kirti Wankhede
2021-05-26 18:10                                                                                                     ` Kirti Wankhede
2021-05-26 18:59                                                                                                     ` Alex Williamson
2021-05-26 18:59                                                                                                       ` Alex Williamson
2021-05-26 18:59                                                                                                       ` Alex Williamson
2021-05-26 19:13                                                                                                       ` Jason Gunthorpe
2021-05-26 19:13                                                                                                         ` Jason Gunthorpe
2021-05-26 19:13                                                                                                         ` Jason Gunthorpe
2021-05-27  4:53                                                                                               ` David Gibson
2021-05-27  4:53                                                                                                 ` David Gibson
2021-05-27  4:53                                                                                                 ` David Gibson
2021-05-27 19:06                                                                                                 ` Jason Gunthorpe
2021-05-27 19:06                                                                                                   ` Jason Gunthorpe
2021-05-27 19:06                                                                                                   ` Jason Gunthorpe
2021-06-01  4:27                                                                                                   ` David Gibson
2021-06-01  4:27                                                                                                     ` David Gibson
2021-06-01  4:27                                                                                                     ` David Gibson
2021-04-28  6:58                                                                               ` Tian, Kevin
2021-04-28  6:58                                                                                 ` Tian, Kevin
2021-04-28  6:58                                                                                 ` Tian, Kevin
2021-05-04 17:12                                                                                 ` Jason Gunthorpe
2021-05-04 17:12                                                                                   ` Jason Gunthorpe
2021-05-04 17:12                                                                                   ` Jason Gunthorpe
2021-05-07  8:09                                                                                   ` Tian, Kevin
2021-05-07  8:09                                                                                     ` Tian, Kevin
2021-05-07  8:09                                                                                     ` Tian, Kevin
2021-04-28  7:47                                                                               ` Tian, Kevin
2021-04-28  7:47                                                                                 ` Tian, Kevin
2021-04-28  7:47                                                                                 ` Tian, Kevin
2021-04-28 18:41                                                                                 ` Jason Gunthorpe
2021-04-28 18:41                                                                                   ` Jason Gunthorpe
2021-04-28 18:41                                                                                   ` Jason Gunthorpe
2021-04-27  4:50                                                                 ` David Gibson
2021-04-27  4:50                                                                   ` David Gibson
2021-04-27  4:50                                                                   ` David Gibson
2021-04-27 17:24                                                                   ` Jason Gunthorpe
2021-04-27 17:24                                                                     ` Jason Gunthorpe
2021-04-27 17:24                                                                     ` Jason Gunthorpe
2021-04-28  1:23                                                                     ` David Gibson
2021-04-28  1:23                                                                       ` David Gibson
2021-04-28  1:23                                                                       ` David Gibson
2021-04-29  0:21                                                                       ` Jason Gunthorpe
2021-04-29  0:21                                                                         ` Jason Gunthorpe
2021-04-29  0:21                                                                         ` Jason Gunthorpe
2021-04-29  3:20                                                                         ` David Gibson
2021-04-29  3:20                                                                           ` David Gibson
2021-04-29  3:20                                                                           ` David Gibson
2021-05-03 16:05                                                                           ` Jason Gunthorpe
2021-05-03 16:05                                                                             ` Jason Gunthorpe
2021-05-03 16:05                                                                             ` Jason Gunthorpe
2021-05-04  3:54                                                                             ` David Gibson
2021-05-04  3:54                                                                               ` David Gibson
2021-05-04  3:54                                                                               ` David Gibson
2021-05-04 18:15                                                                               ` Jason Gunthorpe
2021-05-04 18:15                                                                                 ` Jason Gunthorpe
2021-05-04 18:15                                                                                 ` Jason Gunthorpe
2021-05-05  4:28                                                                                 ` Alexey Kardashevskiy
2021-05-05  4:28                                                                                   ` Alexey Kardashevskiy
2021-05-05  4:28                                                                                   ` Alexey Kardashevskiy
2021-05-05 16:39                                                                                   ` Jason Gunthorpe
2021-05-05 16:39                                                                                     ` Jason Gunthorpe
2021-05-05 16:39                                                                                     ` Jason Gunthorpe
2021-05-13  6:07                                                                                     ` David Gibson
2021-05-13  6:07                                                                                       ` David Gibson
2021-05-13  6:07                                                                                       ` David Gibson
2021-05-13 13:50                                                                                       ` Jason Gunthorpe
2021-05-13 13:50                                                                                         ` Jason Gunthorpe
2021-05-13 13:50                                                                                         ` Jason Gunthorpe
2021-05-24  7:56                                                                                         ` David Gibson
2021-05-24  7:56                                                                                           ` David Gibson
2021-05-24  7:56                                                                                           ` David Gibson
2021-05-13  6:01                                                                                 ` David Gibson
2021-05-13  6:01                                                                                   ` David Gibson
2021-05-13  6:01                                                                                   ` David Gibson
2021-05-13  6:52                                                                                   ` Tian, Kevin
2021-05-13  6:52                                                                                     ` Tian, Kevin
2021-05-13  6:52                                                                                     ` Tian, Kevin
2021-05-13 13:47                                                                                   ` Jason Gunthorpe
2021-05-13 13:47                                                                                     ` Jason Gunthorpe
2021-05-13 13:47                                                                                     ` Jason Gunthorpe
2021-04-22 12:55                                                             ` Liu Yi L
2021-04-22 12:55                                                               ` Liu Yi L
2021-04-16 13:38                                               ` Auger Eric
2021-04-16 13:38                                                 ` Auger Eric
2021-04-16 13:38                                                 ` Auger Eric
2021-04-16 14:05                                                 ` Jason Gunthorpe
2021-04-16 14:05                                                   ` Jason Gunthorpe
2021-04-16 14:05                                                   ` Jason Gunthorpe
2021-04-16 14:26                                                   ` Auger Eric
2021-04-16 14:26                                                     ` Auger Eric
2021-04-16 14:26                                                     ` Auger Eric
2021-04-16 14:34                                                     ` Jason Gunthorpe
2021-04-16 14:34                                                       ` Jason Gunthorpe
2021-04-16 14:34                                                       ` Jason Gunthorpe
2021-04-16 15:00                                                       ` Auger Eric
2021-04-16 15:00                                                         ` Auger Eric
2021-04-16 15:00                                                         ` Auger Eric
2021-04-01 11:46                               ` Jason Gunthorpe
2021-04-01 11:46                                 ` Jason Gunthorpe
2021-04-01 11:46                                 ` Jason Gunthorpe
2021-04-01 13:10                                 ` Liu, Yi L
2021-04-01 13:10                                   ` Liu, Yi L
2021-04-01 13:10                                   ` Liu, Yi L
2021-04-01 13:15                                   ` Jason Gunthorpe
2021-04-01 13:15                                     ` Jason Gunthorpe
2021-04-01 13:15                                     ` Jason Gunthorpe
2021-04-01 13:43                                     ` Liu, Yi L
2021-04-01 13:43                                       ` Liu, Yi L
2021-04-01 13:43                                       ` Liu, Yi L
2021-04-01 13:46                                       ` Jason Gunthorpe
2021-04-01 13:46                                         ` Jason Gunthorpe
2021-04-01 13:46                                         ` Jason Gunthorpe
2021-04-02  7:58                                         ` Tian, Kevin
2021-04-02  7:58                                           ` Tian, Kevin
2021-04-02  7:58                                           ` Tian, Kevin
2021-04-05 23:39                                           ` Jason Gunthorpe
2021-04-05 23:39                                             ` Jason Gunthorpe
2021-04-05 23:39                                             ` Jason Gunthorpe
2021-04-06  1:02                                             ` Tian, Kevin
2021-04-06  1:02                                               ` Tian, Kevin
2021-04-06  1:02                                               ` Tian, Kevin
2021-04-06 12:21                                               ` Jason Gunthorpe
2021-04-06 12:21                                                 ` Jason Gunthorpe
2021-04-06 12:21                                                 ` Jason Gunthorpe
2021-04-07  2:23                                                 ` Tian, Kevin
2021-04-07  2:23                                                   ` Tian, Kevin
2021-04-07  2:23                                                   ` Tian, Kevin
     [not found]                                             ` <MWHPR11MB188628BDB37A4EE36F3D99338C769@MWHPR11MB1886.namprd11.prod.outlook.com>
2021-04-06  2:08                                               ` Tian, Kevin
2021-04-06  2:08                                                 ` Tian, Kevin
2021-04-06  2:08                                                 ` Tian, Kevin
2021-04-02 10:01                                         ` Tian, Kevin
2021-04-02 10:01                                           ` Tian, Kevin
2021-04-02 10:01                                           ` Tian, Kevin
2021-04-02  8:22                         ` Tian, Kevin
2021-04-02  8:22                           ` Tian, Kevin
2021-04-02  8:22                           ` Tian, Kevin
2021-04-05 23:42                           ` Jason Gunthorpe
2021-04-05 23:42                             ` Jason Gunthorpe
2021-04-05 23:42                             ` Jason Gunthorpe
2021-04-06  1:27                             ` Tian, Kevin
2021-04-06  1:27                               ` Tian, Kevin
2021-04-06  1:27                               ` Tian, Kevin
2021-04-06 12:34                               ` Jason Gunthorpe
2021-04-06 12:34                                 ` Jason Gunthorpe
2021-04-07  2:08                                 ` Tian, Kevin
2021-04-07  2:08                                   ` Tian, Kevin
2021-04-07  2:08                                   ` Tian, Kevin
2021-04-07 12:20                                   ` Jason Gunthorpe
2021-04-07 12:20                                     ` Jason Gunthorpe
2021-04-07 12:20                                     ` Jason Gunthorpe
2021-04-07 23:50                                     ` Tian, Kevin
2021-04-07 23:50                                       ` Tian, Kevin
2021-04-07 23:50                                       ` Tian, Kevin
2021-04-08 11:41                                       ` Jason Gunthorpe
2021-04-08 11:41                                         ` Jason Gunthorpe
2021-04-08 11:41                                         ` Jason Gunthorpe
2021-04-06  1:35                             ` Jason Wang
2021-04-06  1:35                               ` Jason Wang
2021-04-06  1:35                               ` Jason Wang
2021-04-06 12:42                               ` Jason Gunthorpe
2021-04-06 12:42                                 ` Jason Gunthorpe
2021-04-06 12:42                                 ` Jason Gunthorpe
2021-04-07  2:06                                 ` Jason Wang
2021-04-07  2:06                                   ` Jason Wang
2021-04-07  2:06                                   ` Jason Wang
2021-04-07  8:17                                 ` Tian, Kevin
2021-04-07  8:17                                   ` Tian, Kevin
2021-04-07  8:17                                   ` Tian, Kevin
2021-04-07 11:58                                   ` Jason Gunthorpe
2021-04-07 11:58                                     ` Jason Gunthorpe
2021-04-07 11:58                                     ` Jason Gunthorpe
2021-04-07 18:43                                   ` Jean-Philippe Brucker
2021-04-07 18:43                                     ` Jean-Philippe Brucker
2021-04-07 18:43                                     ` Jean-Philippe Brucker
2021-04-07 19:36                                     ` Jason Gunthorpe
2021-04-07 19:36                                       ` Jason Gunthorpe
2021-04-07 19:36                                       ` Jason Gunthorpe
2021-04-08  9:37                                       ` Jean-Philippe Brucker
2021-04-08  9:37                                         ` Jean-Philippe Brucker
2021-03-30  2:24                     ` Tian, Kevin
2021-03-30  2:24                       ` Tian, Kevin
2021-03-30  2:24                       ` Tian, Kevin
2021-03-30 13:24                       ` Jason Gunthorpe
2021-03-30 13:24                         ` Jason Gunthorpe
2021-03-30 13:24                         ` Jason Gunthorpe
2021-03-30  4:14                     ` Tian, Kevin
2021-03-30  4:14                       ` Tian, Kevin
2021-03-30  4:14                       ` Tian, Kevin
2021-03-30 13:27                       ` Jason Gunthorpe
2021-03-30 13:27                         ` Jason Gunthorpe
2021-03-30 13:27                         ` Jason Gunthorpe
2021-03-31  7:41                         ` Liu, Yi L
2021-03-31  7:41                           ` Liu, Yi L
2021-03-31  7:41                           ` Liu, Yi L
2021-03-31 12:38                           ` Jason Gunthorpe
2021-03-31 12:38                             ` Jason Gunthorpe
2021-03-31 12:38                             ` Jason Gunthorpe
2021-03-31 23:46                             ` Jacob Pan
2021-03-31 23:46                               ` Jacob Pan
2021-03-31 23:46                               ` Jacob Pan
2021-04-01  0:37                               ` Jason Gunthorpe
2021-04-01  0:37                                 ` Jason Gunthorpe
2021-04-01  0:37                                 ` Jason Gunthorpe
2021-04-01 17:23                                 ` Jacob Pan
2021-04-01 17:23                                   ` Jacob Pan
2021-04-01 17:23                                   ` Jacob Pan
2021-04-01 17:26                                   ` Jason Gunthorpe
2021-04-01 17:26                                     ` Jason Gunthorpe
2021-04-01 17:26                                     ` Jason Gunthorpe
2021-03-19 17:14       ` Jacob Pan
2021-03-19 17:14         ` Jacob Pan
2021-03-19 17:14         ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 06/18] iommu/ioasid: Add free function and states Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 07/18] iommu/ioasid: Add ioasid_set iterator helper functions Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` Jacob Pan [this message]
2021-02-27 22:01   ` [PATCH V4 08/18] iommu/ioasid: Introduce ioasid_set private ID Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 09/18] iommu/ioasid: Introduce notification APIs Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 10/18] iommu/ioasid: Support mm token type ioasid_set notifications Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 11/18] iommu/ioasid: Add ownership check in guest bind Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 12/18] iommu/vt-d: Remove mm reference for guest SVA Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 13/18] iommu/ioasid: Add a workqueue for cleanup work Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [PATCH V4 14/18] iommu/vt-d: Listen to IOASID notifications Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [RFC PATCH 15/18] cgroup: Introduce ioasids controller Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-03-03 15:44   ` Tejun Heo
2021-03-03 15:44     ` Tejun Heo
2021-03-03 21:17     ` Jacob Pan
2021-03-03 21:17       ` Jacob Pan
2021-03-03 21:17       ` Jacob Pan
2021-03-04  0:02       ` Jacob Pan
2021-03-04  0:02         ` Jacob Pan
2021-03-04  0:02         ` Jacob Pan
2021-03-04  0:23         ` Jason Gunthorpe
2021-03-04  0:23           ` Jason Gunthorpe
2021-03-04  0:23           ` Jason Gunthorpe
2021-03-04  9:49         ` Jean-Philippe Brucker
2021-03-04  9:49           ` Jean-Philippe Brucker
2021-03-04  9:49           ` Jean-Philippe Brucker
2021-03-04 17:46           ` Jacob Pan
2021-03-04 17:46             ` Jacob Pan
2021-03-04 17:46             ` Jacob Pan
2021-03-04 17:54             ` Jason Gunthorpe
2021-03-04 17:54               ` Jason Gunthorpe
2021-03-04 17:54               ` Jason Gunthorpe
2021-03-04 19:01               ` Jacob Pan
2021-03-04 19:01                 ` Jacob Pan
2021-03-04 19:01                 ` Jacob Pan
2021-03-04 19:02                 ` Jason Gunthorpe
2021-03-04 19:02                   ` Jason Gunthorpe
2021-03-04 19:02                   ` Jason Gunthorpe
2021-03-04 21:28                   ` Jacob Pan
2021-03-04 21:28                     ` Jacob Pan
2021-03-04 21:28                     ` Jacob Pan
2021-03-05  8:30             ` Jean-Philippe Brucker
2021-03-05  8:30               ` Jean-Philippe Brucker
2021-03-05  8:30               ` Jean-Philippe Brucker
2021-03-05 17:16               ` Jean-Philippe Brucker
2021-03-05 17:16                 ` Jean-Philippe Brucker
2021-03-05 17:16                 ` Jean-Philippe Brucker
2021-03-05 18:20               ` Jacob Pan
2021-03-05 18:20                 ` Jacob Pan
2021-03-05 18:20                 ` Jacob Pan
2021-02-27 22:01 ` [RFC PATCH 16/18] iommu/ioasid: Consult IOASIDs cgroup for allocation Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [RFC PATCH 17/18] docs: cgroup-v1: Add IOASIDs controller Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01 ` [RFC PATCH 18/18] ioasid: Add /dev/ioasid for userspace Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-02-27 22:01   ` Jacob Pan
2021-03-10 19:23   ` Jason Gunthorpe
2021-03-10 19:23     ` Jason Gunthorpe
2021-03-10 19:23     ` Jason Gunthorpe
2021-03-11 22:55     ` Jacob Pan
2021-03-11 22:55       ` Jacob Pan
2021-03-11 22:55       ` Jacob Pan
2021-03-12 14:54       ` Jason Gunthorpe
2021-03-12 14:54         ` Jason Gunthorpe
2021-03-12 14:54         ` Jason Gunthorpe
2021-03-02 12:58 ` [PATCH V4 00/18] IOASID extensions for guest SVA Liu, Yi L
2021-03-02 12:58   ` Liu, Yi L
2021-03-02 12:58   ` Liu, Yi L

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614463286-97618-9-git-send-email-jacob.jun.pan@linux.intel.com \
    --to=jacob.jun.pan@linux.intel.com \
    --cc=alex.williamson@redhat.com \
    --cc=ashok.raj@intel.com \
    --cc=baolu.lu@linux.intel.com \
    --cc=cgroups@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=dave.jiang@intel.com \
    --cc=dwmw2@infradead.org \
    --cc=eric.auger@redhat.com \
    --cc=hannes@cmpxchg.org \
    --cc=hao.wu@intel.com \
    --cc=iommu@lists.linux-foundation.org \
    --cc=jean-philippe@linaro.com \
    --cc=jgg@nvidia.com \
    --cc=joro@8bytes.org \
    --cc=kevin.tian@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=tj@kernel.org \
    --cc=yi.l.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.