the problem of smmu in the tx2(28.1)

I insmod the device driver of tw6869,when I use a player to open the video,the dmesg about the problem fllowing next:

arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.078228] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x0008e540, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.091236] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00041ec0, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.105195] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.118192] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x0008e440, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.131190] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00041500, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.145195] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.158191] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x0008e440, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.171166] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00041500, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.185195] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pud=0, pmd=0, pte=0
[ 242.483514] irq 55: nobody cared (try booting with the “irqpoll” option)
[ 242.490207] CPU: 0 PID: 766 Comm: Xorg Not tainted 4.4.38 #1
[ 242.495852] Hardware name: quill (DT)
[ 242.499506] Call trace:
[ 242.501952] [] dump_backtrace+0x0/0x100
[ 242.507340] [] show_stack+0x14/0x1c
[ 242.512382] [] dump_stack+0x98/0xc0
[ 242.517423] [] __report_bad_irq+0x38/0xe0
[ 242.522984] [] note_interrupt+0x1f4/0x2b4
[ 242.528545] [] handle_irq_event_percpu+0xfc/0x290
[ 242.534799] [] handle_irq_event+0x44/0x74
[ 242.540360] [] handle_fasteoi_irq+0xb4/0x188
[ 242.546180] [] generic_handle_irq+0x24/0x38
[ 242.551912] [] __handle_domain_irq+0x60/0xb4
[ 242.557731] [] gic_handle_irq+0x5c/0xb4
[ 242.563119] [] el1_irq+0x80/0xf8
[ 242.567900] [] irq_exit+0x84/0xdc
[ 242.572764] [] __handle_domain_irq+0x6c/0xb4
[ 242.578584] [] gic_handle_irq+0x5c/0xb4
[ 242.583969] [] el1_irq+0x80/0xf8
[ 242.588751] [] __nvmap_do_cache_maint+0xb0/0x620
[ 242.594917] [] __nvmap_cache_maint+0x120/0x140
[ 242.600911] [] nvmap_ioctl_cache_maint+0xc0/0xd4
[ 242.607078] [] nvmap_ioctl+0x310/0x490
[ 242.612378] [] do_vfs_ioctl+0x324/0x5e4
[ 242.617764] [] SyS_ioctl+0x84/0x98
[ 242.622717] [] el0_svc_naked+0x24/0x28
[ 242.628016] handlers:
[ 242.630285] [] tegra_mcerr_hard_irq threaded [] tegra_mcerr_thread
[ 242.639590] Disabling IRQ #55
[ 242.642592] tw6869 0000:01:00.0: DMA 0 RST
[ 242.646707] QY ID=0
[ 242.648768] (255) csw_afiw: MC request violates VPR requirements
[ 242.655056] status = 0x00337031; addr = 0x3ffffffc0
[ 242.660165] secure: yes, access-type: write

can you help me what will cause such a mistake?

anyone have the likely problem and help me ?

Is this an open source driver? If yes, can you please point me to the source code of the driver?

Hi qinyyuu,

Any update? Or issue has been resolved?

Thanks

Hi kayccc,
I made some attempts, such as changing the DMA size and so on。but this problem still exists

Hi vidyas,
The source link: https://gitee.com/xiaommayi/tw6869.git
If you have any good method, please contact me.
regards,
thanks