On Thu, Sep 14, 2023 at 03:52:58PM +0300, Laurentiu Tudor wrote: > Check if the device is marked as DMA coherent in the DT and if so, > map its reserved memory as cacheable in the IOMMU. > This fixes the recently added IOMMU reserved memory support which > uses IOMMU_RESV_DIRECT without properly building the PROT for the > mapping. > > Fixes: a5bf3cfce8cb ("iommu: Implement of_iommu_get_resv_regions()") > Signed-off-by: Laurentiu Tudor > Reviewed-by: Jason Gunthorpe > --- > Changes in v2: > - added Reviewed-by tag > > drivers/iommu/of_iommu.c | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Thierry Reding