]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Pass dmar_domain directly into iommu_flush_iotlb_psi
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jul 2015 13:20:32 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:34 +0000 (16:23 +0200)
commit5c862c6a6169bda4fb05dcbb60213d713cd0b6a7
treeb3de5d4583dbdbbd21674bdeb708209c3084a9b1
parent4fbfcab0ff15543d244fbbd5306f300c0b1527a4
iommu/vt-d: Pass dmar_domain directly into iommu_flush_iotlb_psi

This function can figure out the domain-id to use itself
from the iommu_did array. This is more reliable over
different domain types and brings us one step further to
remove the domain->id field.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c