iommu/amd: Free IOMMU resources when disabled on command line
authorJoerg Roedel <jroedel@suse.de>
Fri, 16 Jun 2017 14:09:59 +0000 (16:09 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 22 Jun 2017 10:54:21 +0000 (12:54 +0200)
commit7ad820e43330bbf974792c5ab4e2c2355e08d597
tree45bcfe3f92893314f76441b09fd26931b84d2d38
parentf601927136d69be49f0a14ae820b44c02fa591ba
iommu/amd: Free IOMMU resources when disabled on command line

After we made sure that all IOMMUs have been disabled we
need to make sure that all resources we allocated are
released again.

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