Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643343

Re: [PATCH 2/2] iommu/vt-d: Helper function to query if a pasid has any active users

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] iommu/vt-d: Helper function to query if a pasid has any active users
Date 2017-05-17 15:00 +0200
Message-ID <tI6Ix-3ck-15@gated-at.bofh.it> (permalink)
References <tFEQq-4cS-9@gated-at.bofh.it> <tFEQq-4cS-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 10, 2017 at 11:39:03AM -0700, Ashok Raj wrote:
> From: CQ Tang <cq.tang@intel.com>
> 
> A driver would need to know if there are any active references to a
> a PASID before cleaning up its resources. This function helps check
> if there are any active users of a PASID before it can perform any
> recovery on that device.
> 
> To: Joerg Roedel <joro@8bytes.org>
> To: linux-kernel@vger.kernel.org
> To: David Woodhouse <dwmw2@infradead.org>
> Cc: Jean-Phillipe Brucker <jean-philippe.brucker@arm.com>
> Cc: iommu@lists.linux-foundation.org
> 
> Signed-off-by: CQ Tang <cq.tang@intel.com>
> Signed-off-by: Ashok Raj <ashok.raj@intel.com>
> ---
>  drivers/iommu/intel-svm.c | 30 ++++++++++++++++++++++++++++++
>  include/linux/intel-svm.h | 20 ++++++++++++++++++++
>  2 files changed, 50 insertions(+)

Applied, thanks.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] iommu/vt-d: Helper function to query if a pasid has  any active users Joerg Roedel <joro@8bytes.org> - 2017-05-17 15:00 +0200

csiph-web