]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iommu/vt-d: free all resources if failed to initialize DMARs
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 6 Jan 2014 06:18:27 +0000 (14:18 +0800)
committerJoerg Roedel <joro@8bytes.org>
Tue, 7 Jan 2014 16:26:47 +0000 (17:26 +0100)
commit0f909dd2ae451942697ad426f36ff8cf79996ef9
tree63db646ea29a8c692a5d34618245c40982691c1e
parentecd1c02e9fea1c684c9698e8ce6a552656ba0871
iommu/vt-d: free all resources if failed to initialize DMARs

Enhance intel_iommu_init() to free all resources if failed to
initialize DMAR hardware.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/intel-iommu.c