IOMMU Fixes:

	* Fix and issue introduced this merge window into the AMD and
	  Intel IOMMU drivers that causes an oops when the
	  vendor-specific sysfs-entries are accessed.
	  Reason for this issue is that I forgot to update the sysfs
	  code in the drivers when moving the iommu 'struct device' to
	  the iommu-core.
iommu/amd: Fix crash when accessing AMD-Vi sysfs entries

The link between the iommu sysfs-device and the struct
amd_iommu is no longer stored as driver-data. Update the
code to the new correct way of getting from device to
amd_iommu.

Reported-by: Dave Jones <davej@codemonkey.org.uk>
Fixes: 39ab9555c241 ('iommu: Add sysfs bindings for struct iommu_device')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2 files changed