Loading drivers/iommu/io-pgtable-arm.c +1 −1 Original line number Diff line number Diff line Loading @@ -479,7 +479,7 @@ static int arm_lpae_map_sg(struct io_pgtable_ops *ops, unsigned long iova, /* If no access, then nothing to do */ if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) return 0; goto out_err; prot = arm_lpae_prot_to_pte(data, iommu_prot); Loading drivers/iommu/io-pgtable.h +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ struct io_pgtable_cfg { * struct io_pgtable_ops - Page table manipulation API for IOMMU drivers. * * @map: Map a physically contiguous memory region. * @map_sg: Map a scatterlist. The size parameter contains the size * @map_sg: Map a scatterlist. Returns the number of bytes mapped, * or 0 on failure. The size parameter contains the size * of the partial mapping in case of failure. * @unmap: Unmap a physically contiguous memory region. * @iova_to_phys: Translate iova to physical address. Loading Loading
drivers/iommu/io-pgtable-arm.c +1 −1 Original line number Diff line number Diff line Loading @@ -479,7 +479,7 @@ static int arm_lpae_map_sg(struct io_pgtable_ops *ops, unsigned long iova, /* If no access, then nothing to do */ if (!(iommu_prot & (IOMMU_READ | IOMMU_WRITE))) return 0; goto out_err; prot = arm_lpae_prot_to_pte(data, iommu_prot); Loading
drivers/iommu/io-pgtable.h +2 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,8 @@ struct io_pgtable_cfg { * struct io_pgtable_ops - Page table manipulation API for IOMMU drivers. * * @map: Map a physically contiguous memory region. * @map_sg: Map a scatterlist. The size parameter contains the size * @map_sg: Map a scatterlist. Returns the number of bytes mapped, * or 0 on failure. The size parameter contains the size * of the partial mapping in case of failure. * @unmap: Unmap a physically contiguous memory region. * @iova_to_phys: Translate iova to physical address. Loading