• Robin Murphy's avatar
    iommu/arm-smmu: Fall back to global bypass · dc87a98d
    Robin Murphy authored
    Unlike SMMUv2, SMMUv3 has no easy way to bypass unknown stream IDs,
    other than allocating and filling in the entire stream table with bypass
    entries, which for some configurations would waste *gigabytes* of RAM.
    Otherwise, all transactions on unknown stream IDs will simply be aborted
    with a C_BAD_STREAMID event.
    
    Rather than render the system unusable in the case of an invalid DT,
    avoid enabling the SMMU altogether such that everything bypasses
    (though letting the explicit disable_bypass option take precedence).
    Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    dc87a98d
arm-smmu-v3.c 69.5 KB