[Impact] When no acpi hid match the device, there will be a NULL dereference in amd iommu. It will make system hang.
[Fix] Check NULL pointer before using it.
[Test] Tested on several AMD platforms, bugs are fixed with this patch.
[Regression Potential] Upstream fix, Verified on several platforms. It should be safe.
[Impact]
When no acpi hid match the device, there will be a NULL dereference in amd iommu.
It will make system hang.
[Fix]
Check NULL pointer before using it.
[Test]
Tested on several AMD platforms, bugs are fixed with this patch.
[Regression Potential]
Upstream fix, Verified on several platforms.
It should be safe.