Hi,
I am using kernel and device-tree from jetpack-4.4DP. (l4t-32.4.2)
I have removed the following in pcie@14140000 section in device tree which disables iommu:
iommus = <&smmu TEGRA_SID_PCIE3>;
dma-coherent;
It worked before jetpack-4.4 (it was jetpack-4.2.2).
But now after I flashed jetpack-4.4 (using flash.sh), I got iommu error on PCIE3 (pcie@14140000).
[ 6.991206] mwifiex_pcie 0003:01:00.0: enabling device (0000 -> 0002)
[ 6.991265] mwifiex_pcie: try set_consistent_dma_mask(32)
[ 6.991503] mwifiex_pcie: PCI memory map Virt0: ffffff801a500000 PCI memory map Virt2: ffffff801a700000
[ 6.991785] mwifiex: rx work enabled, cpus 8
[ 7.108380] mc-err: (255) csr_pcie3r: EMEM address decode error
[ 7.108528] mc-err: status = 0x200640de; addr = 0xffffffff00; hi_adr_reg=ff08
[ 7.108661] mc-err: secure: yes, access-type: read
[ 7.108764] mc-err: mcerr: unknown intr source intstatus = 0x00000000, intstatus_1 = 0x00000000
[ 7.108900] t19x-arm-smmu 12000000.iommu: SMMU1: Unexpected {global,context} fault, this could be serious
[ 7.108912] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000459, GFSYNR2 0x00000000, fault_addr=0x4623bf580, sid=89(0x59 - PCIE3)
[ 7.109386] mwifiex_pcie 0003:01:00.0: FW CRC error indicated by the helper: len = 0x0011, txlen = 17
[ 7.109440] mc-err: (255) csr_pcie3r: EMEM address decode error
[ 7.109560] mc-err: status = 0x200640de; addr = 0xffffffff00; hi_adr_reg=ff08
[ 7.109695] mc-err: secure: yes, access-type: read
[ 7.109805] mc-err: mcerr: unknown intr source intstatus = 0x00000000, intstatus_1 = 0x00000000
[ 7.109958] t19x-arm-smmu 12000000.iommu: SMMU1: Unexpected {global,context} fault, this could be serious
[ 7.109967] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000459, GFSYNR2 0x00000000, fault_addr=0x4623bf580, sid=89(0x59 - PCIE3)
[ 7.142227] mwifiex_pcie 0003:01:00.0: FW CRC error indicated by the helper: len = 0x0011, txlen = 17
[ 7.142285] mc-err: Too many MC errors; throttling prints
[ 7.147793] t19x-arm-smmu 12000000.iommu: SMMU1: Unexpected {global,context} fault, this could be serious
[ 7.147840] mwifiex_pcie 0003:01:00.0: FW download failure @ 16, over max retry count
[ 7.147848] mwifiex_pcie 0003:01:00.0: prog_fw failed ret=0xffffffff
[ 7.147852] mwifiex_pcie 0003:01:00.0: info: mwifiex_fw_dpc: unregister device
[ 7.157401] t19x-arm-smmu 12000000.iommu: GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000459, GFSYNR2 0x00000000, fault_addr=0x4623bf580, sid=89(0x59 - PCIE3)
Again, the kernel source and device tree are all same (jetpack-4.4DP or l4t-32.4.2). jetpack-4.2.2 works, but got this iommu error after flashed with jetpack-4.4 using flash.sh.
Thanks,
Shuo