intel-iommu: Cope with broken HP DC7900 BIOS
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 4 Aug 2009 08:17:20 +0000 (09:17 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 4 Aug 2009 08:17:24 +0000 (09:17 +0100)
commit0815565adfe3f4c369110c57d8ffe83caefeed68
treec1a2436a7f8c7b61a09ab1b809f65bd5b1325ccc
parentcfc65dd57967f2e0c7b3a8b73e6d12470b1cf1c1
intel-iommu: Cope with broken HP DC7900 BIOS

Yet another reason why trusting this stuff to the BIOS was a bad idea.
The HP DC7900 BIOS reports an iommu at an address which just returns all
ones, when VT-d is disabled in the BIOS.

Fix up the missing iounmap in the error paths while we're at it.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c