IOMMU Fixes for Linux v4.7-rc5

Three fixes:

	* Fix use of smp_processor_id() in preemptible code in the IOVA
	  allocation code. This got introduced with the scalability
	  improvements in this release cycle.

	* A VT-d fix for out-of-bounds access of the iommu->domains
	  array. The bug showed during suspend/resume.

	* AMD IOMMU fix to print the correct device id in the ACPI
	  parsing code.
iommu/amd: Initialize devid variable before using it

Commit 2a0cb4e2d423 ("iommu/amd: Add new map for storing IVHD dev entry
type HID") added a call to DUMP_printk in init_iommu_from_acpi() which
used the value of devid before this variable was initialized.

Fixes: 2a0cb4e2d423 ('iommu/amd: Add new map for storing IVHD dev entry type HID')
Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed