Skip to content
Commit 0774e392 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: Fix wrong assumption in iommu-group specific code



The new IOMMU groups code in the AMD IOMMU driver makes the
assumption that there is a pci_dev struct available for all
device-ids listed in the IVRS ACPI table. Unfortunatly this
assumption is not true and so this code causes a NULL
pointer dereference at boot on some systems.

Fix it by making sure the given pointer is never NULL when
passed to the group specific code. The real fix is larger
and will be queued for v3.7.

Reported-by: default avatarFlorian Dazinger <florian@dazinger.net>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent bef83de5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment