• Joerg Roedel's avatar
    iommu/core: Convert iommu_found to iommu_present · a1b60c1c
    Joerg Roedel authored
    With per-bus iommu_ops the iommu_found function needs to
    work on a bus_type too. This patch adds a bus_type parameter
    to that function and converts all call-places.
    The function is also renamed to iommu_present because the
    function now checks if an iommu is present for a given bus
    and does not check for a global iommu anymore.
    Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
    a1b60c1c
x86.c 167 KB