iommu: Unhandled context fault: iova=0x46179a00, fsynr=0x12, cb=19, sid=4(0x4 - VI)

Hi,
We are using R28.1 with two OV cameras.

There is no embedded lines.
Each Camera works fine.
If I start two cameras simultaneously with qv4l2.

[  334.220455] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45800000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.234590] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45979a00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.248719] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45af3400, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.437224] irq 55: nobody cared (try booting with the "irqpoll" option)
[  334.443917] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.38 #119
[  334.449996] Hardware name: quill (DT)
[  334.453648] Call trace:
[  334.456095] [<ffffffc000089854>] dump_backtrace+0x0/0x100
[  334.461482] [<ffffffc000089a1c>] show_stack+0x14/0x1c
[  334.466525] [<ffffffc00031de78>] dump_stack+0x98/0xc0
[  334.471566] [<ffffffc0000f74ac>] __report_bad_irq+0x38/0xe0
[  334.477126] [<ffffffc0000f7804>] note_interrupt+0x1f4/0x2b4
[  334.482687] [<ffffffc0000f4d28>] handle_irq_event_percpu+0xfc/0x290
[  334.488939] [<ffffffc0000f4f00>] handle_irq_event+0x44/0x74
[  334.494499] [<ffffffc0000f8208>] handle_fasteoi_irq+0xb4/0x188
[  334.500318] [<ffffffc0000f42d0>] generic_handle_irq+0x24/0x38
[  334.506050] [<ffffffc0000f45d8>] __handle_domain_irq+0x60/0xb4
[  334.511870] [<ffffffc0000815dc>] gic_handle_irq+0x5c/0xb4
[  334.517256] [<ffffffc000084740>] el1_irq+0x80/0xf8
[  334.522037] [<ffffffc0000a8e28>] irq_exit+0x84/0xdc
[  334.526904] [<ffffffc0000f45e4>] __handle_domain_irq+0x6c/0xb4
[  334.532722] [<ffffffc0000815dc>] gic_handle_irq+0x5c/0xb4
[  334.538107] [<ffffffc000084740>] el1_irq+0x80/0xf8
[  334.542888] [<ffffffc000913af8>] cpuidle_enter+0x18/0x20
[  334.548189] [<ffffffc0000e7a74>] call_cpuidle+0x28/0x50
[  334.553401] [<ffffffc0000e7c18>] cpu_startup_entry+0x17c/0x340
[  334.559224] [<ffffffc000cb30a4>] rest_init+0x84/0x8c
[  334.564177] [<ffffffc00130897c>] start_kernel+0x39c/0x3b0
[  334.569564] [<0000000080cb9000>] 0x80cb9000
[  334.573734] handlers:
[  334.576003] [<ffffffc0009a7b84>] tegra_mcerr_hard_irq threaded [<ffffffc0009a7bd0>] tegra_mcerr_thread
[  334.585312] Disabling IRQ #55
[  334.588388] unknown mcerr fault, int_status=0x00001040, ch_int_status=0x00000200, hubc_int_status=0x00000000
[  334.620416] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45c00000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.634551] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45d79400, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.648668] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45ef2900, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.700411] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46000000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.714616] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46179800, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.728753] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x462f5000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  334.780415] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46400000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.223189] __arm_smmu_context_fault: 100457 callbacks suppressed
[  339.229284] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45854900, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.243412] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45a70500, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.260027] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45c00000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.274148] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45d78fc0, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.288254] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45ef2500, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.340022] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46000000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.354135] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46179300, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.368244] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x462f2500, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.382350] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x4643e500, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  339.396485] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x465b7100, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.247105] __arm_smmu_context_fault: 112949 callbacks suppressed
[  344.253197] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45adec00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.267320] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45ccdb00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.281434] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45e47500, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.299613] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46000000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.313741] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46179a00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.327867] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x462f2e00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.379610] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46400000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.393838] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x46579a00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.408005] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x466f5e00, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0
[  344.459597] arm-smmu 12000000.iommu: Unhandled context fault: iova=0x45800000, fsynr=0x12, cb=19, sid=4(0x4 - VI), pgd=26a796003, pud=26a796003, pmd=0, pte=0

And the screen flickering.

Can you help me with this? @ShaneCCC

Can you try v4l2-ctl ?

@ShaneCCC

With v4l2-ctl, the two cameras work fine.

When using two programs to access the two camera streams with display , sometimes the problem will show.

Thanks.

Not clear “When using two programs to access the two camera streams with display”

Hi,
I meet the same problem. Have you already fixed this problem?

The problem is still there.

Does the problem still there without streaming to display?

Without display, the stream seems working fine.

How do you display them?