diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2023-09-28 16:31:36 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2023-10-02 08:42:59 +0200 |
commit | b6f888709a155b4e748aded93afc9fa43aaa28dd (patch) | |
tree | 2fe5da3e1088c980c1a378a640463ff9f8aae0e6 /drivers/iommu/Kconfig | |
parent | fa4c4507099f781ca89a748c480af9cf97629726 (diff) | |
download | lwn-b6f888709a155b4e748aded93afc9fa43aaa28dd.tar.gz lwn-b6f888709a155b4e748aded93afc9fa43aaa28dd.zip |
s390/pci: prepare is_passed_through() for dma-iommu
With the IOMMU always controlled through the IOMMU driver testing for
zdev->s390_domain is not a valid indication of the device being
passed-through. Instead test if zdev->kzdev is set.
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20230928-dma_iommu-v13-2-9e5fc4dacc36@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions