On Mon, Sep 26, 2011 at 6:05 PM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote: > On Mon, Sep 26, 2011 at 11:58 AM, KyongHo Cho <pullip.cho@xxxxxxxxxxx> wrote: >> As you've noticed, it is default behavior for iommu fault. > > Then why not add it to the IOMMU core ? it's quite generic and can be > useful for others, too. > Every fault in IOMMU (System MMU) is an error logically and must not happen in our multimedia device drivers because, our device drivers always construct page table completely before address translation in System MMU and TLB loads translation information automatically when TLB miss. I am not sure if the default behavior of MMU fault in our IOMMU driver is also correct for other IOMMU drivers. BTW, I think we need more fault type than IOMMU_FAULT_READ and IOMMU_FAULT_WRITE. We have page fault, access fault(read, write), security fault and bus error (translated physical address is not available) > Thanks, > Ohad. Thank you. Cho KyongHo. -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html