Driver port from JP 6.0 to JP 6.2 causes unhandled context fault

I am porting a custom camera driver from JP 6.0 to JP 6.2. My camera uses format Y16, so I have added the code changes to support the format. When I run the pipeline:

v4l2-ctl -d /dev/video0 --set-fmt-video=width=480,height=1316,pixelformat="Y16 " --set-ctrl sensor_mode=0
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=“GRAY16_LE”,width=480,height=1316 ! videoconvert ! autovideosink

I am getting the following errors on JP 6.2:

[ 103.645206] arm-smmu 10000000.iommu: Unhandled context fault: fsr=0x402, iova=0x60260000, fsynr=0x450011, cbfrsynra=0x802, cb=0
[ 103.645224] tegra-mc 2c00000.memory-controller: vifalw: secure write @0x00000003ffffff00: VPR violation ((null))
[ 103.645230] tegra-mc 2c00000.memory-controller: vifalw: secure write @0x00000003ffffff00: Route Sanity error ((null))

I don’t get the errors when I run with the same changes on JP 6.0. Any ideas on where things could be going wrong? I don’t believe the memory write happens in my actual custom driver code because I am not writing to anything other than my custom camera setup registers. None of the setup registers are in the address range listed in the error text.

Note: There is no problem seeing the actual video when I run the pipeline, I just get the errors on dmesg.

Do you verify by v4l2-clt --stream-mmap?

Please provide the whole log for checking.

I found the issue in my device tree. In the vi0_thi entry I was missing

iommus = <&smmu_iso TEGRA234_SID_ISO_VI>;

and in the vi1_thi entry I was missing

iommus = <&smmu_iso TEGRA234_SID_ISO_VI2>;

These were not required in the JP 6.0 version of the device tree, so they were accidentally deleted in my JP 6.2 port.