[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] AMD/IOMMU: revert "amd/iommu: assign iommu devices to Xen"



commit 9dfaf5ac274ba923c4d0ac82245fa42bf88d0071
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Jun 21 17:17:59 2019 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Jun 21 17:17:59 2019 +0200

    AMD/IOMMU: revert "amd/iommu: assign iommu devices to Xen"
    
    This reverts commit b6bd02b7a877f9fac2de69e64d8245d56f92ab25. The change
    was redundant with amd_iommu_detect_one_acpi() already calling
    pci_ro_device().
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
    Acked-by: Brian Woods <brian.woods@xxxxxxx>
---
 xen/drivers/passthrough/amd/iommu_init.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/xen/drivers/passthrough/amd/iommu_init.c 
b/xen/drivers/passthrough/amd/iommu_init.c
index 5913277e52..4e76b2620c 100644
--- a/xen/drivers/passthrough/amd/iommu_init.c
+++ b/xen/drivers/passthrough/amd/iommu_init.c
@@ -1022,8 +1022,6 @@ static void * __init allocate_ppr_log(struct amd_iommu 
*iommu)
 
 static int __init amd_iommu_init_one(struct amd_iommu *iommu)
 {
-    pci_hide_device(iommu->seg, PCI_BUS(iommu->bdf), PCI_DEVFN2(iommu->bdf));
-
     if ( map_iommu_mmio_region(iommu) != 0 )
         goto error_out;
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.