Hi, >-----Original Message----- >From: linux-arm-kernel [mailto:[email protected]] >On Behalf Of Sinan Kaya >Sent: Sunday, January 29, 2017 10:06 PM >To: Sricharan R <[email protected]>; [email protected]; >[email protected]; [email protected]; >[email protected]; [email protected]; >[email protected]; linux-arm- >[email protected]; [email protected]; [email protected]; >[email protected]; [email protected] >Subject: Re: [PATCH V7 07/11] iommu: of: Handle IOMMU lookup failure with >deferred probing or error > >On 1/23/2017 11:18 AM, Sricharan R wrote: >> @@ -107,7 +107,7 @@ void of_dma_configure(struct device *dev, struct >> device_node *np) >> ret = of_dma_get_range(np, &dma_addr, &paddr, &size); >> if (ret < 0) { >> dma_addr = offset = 0; >> - size = dev->coherent_dma_mask + 1; >> + size = max(dev->coherent_dma_mask, dev->coherent_dma_mask + 1); >> } else { > >what's happening here?
Sorry, not relevant. Will remove this. Has come in because of some rebase mistake. Regards, Sricharan _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
