]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iommu: Introduce new 'struct iommu_device'
authorJoerg Roedel <jroedel@suse.de>
Wed, 1 Feb 2017 12:23:08 +0000 (13:23 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:50:04 +0000 (10:50 +0200)
commitf6cbf74ba7716952140b77b8f76e1a5dc37205ca
tree2c4ee1334ed50716c2db6bae62309cd58b0035ef
parent198706b561a45dac7715495b643e59a4e3e928fe
iommu: Introduce new 'struct iommu_device'

This struct represents one hardware iommu in the iommu core
code. For now it only has the iommu-ops associated with it,
but that will be extended soon.

The register/unregister interface is also added, as well as
making use of it in the Intel and AMD IOMMU drivers.

BugLink: http://bugs.launchpad.net/bugs/1688158
Signed-off-by: Joerg Roedel <jroedel@suse.de>
(cherry picked from commit b0119e870837dcd15a207b4701542ebac5d19b45)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h
drivers/iommu/dmar.c
drivers/iommu/intel-iommu.c
drivers/iommu/iommu.c
include/linux/intel-iommu.h
include/linux/iommu.h