On Fri, Oct 09, 2015 at 12:54:07AM +0100, David Woodhouse wrote: > Signed-off-by: David Woodhouse <david.woodho...@intel.com> > --- > drivers/iommu/intel-svm.c | 115 > +++++++++++++++++++++++++++++++++++++++++++- > include/linux/intel-iommu.h | 21 ++++++++ > 2 files changed, 134 insertions(+), 2 deletions(-) > > diff --git a/drivers/iommu/intel-svm.c b/drivers/iommu/intel-svm.c > index 1260e87..ace1e32 100644 > --- a/drivers/iommu/intel-svm.c > +++ b/drivers/iommu/intel-svm.c > static irqreturn_t prq_event_thread(int irq, void *d) > {
> + if (svm) { > + mutex_lock(&pasid_mutex); > + kref_put(&svm->kref, &intel_mm_free); > + mutex_unlock(&pasid_mutex); kref_put_mutex(&svm->kref, intel_mm_free, &pasid_mutex); ? -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu