]> xenbits.xensource.com Git - xen.git/commit
AMD/IOMMU: Fix passthrough following c/s d7cfeb7c13e
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 11 Nov 2019 20:46:08 +0000 (20:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Nov 2019 13:08:10 +0000 (13:08 +0000)
commitaaef3d904bbbde1fcf9c07943878bd2aa64cc2bc
tree058bfe4f08e33d9cd641cba201a4d19cbee7c397
parent3683290fc0b0d6500392db733811cc78bcb35eab
AMD/IOMMU: Fix passthrough following c/s d7cfeb7c13e

"AMD/IOMMU: don't blindly allocate interrupt remapping tables" introduces a
call at runtime from amd_iommu_add_device() to amd_iommu_set_intremap_table()
which is still marked as __init.

On one AMD Rome machine we have, this results in a crash the moment we try to
use an SR-IOV VF in a VM.

Reported-by: Jennifer Herbert <jennifer.herbert@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/drivers/passthrough/amd/iommu_map.c