lkml.org 
[lkml]   [2017]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Reduce IOTLB flush when pass-through dGPU devices
Date
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

Currently, when pass-through dGPU to a guest VM, there are thousands
of IOTLB flush commands sent from IOMMU to end-point-device. This cause
performance issue when launching new VMs, and could cause IOTLB invalidate
time-out issue on certain dGPUs.

This can be avoided by adopting the new fast IOTLB flush APIs.

Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Joerg Roedel <jroedel@suse.de>

Suravee Suthikulpanit (2):
vfio/type1: Adopt fast IOTLB flush interface when unmap IOVAs
iommu/amd: Add support for fast IOTLB flushing

drivers/iommu/amd_iommu.c | 77 ++++++++++++++++++++++++++++++++++++++++-
drivers/iommu/amd_iommu_init.c | 2 --
drivers/iommu/amd_iommu_types.h | 2 ++
drivers/vfio/vfio_iommu_type1.c | 12 +++++--
4 files changed, 87 insertions(+), 6 deletions(-)

--
1.8.3.1

\
 
 \ /
  Last update: 2017-11-17 22:11    [W:0.065 / U:7.264 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site