Part Number: AM62A7
I encounter an issue when splitting the camera stream from tiovxldc. After running this command, the kernel crashed and the system restart.Here is the command and log.
gst-launch-1.0 v4l2src device=/dev/video3 io-mode=dmabuf-import num-buffers=10 ! \
video/x-raw, format=UYVY, width=1920, height=1536, framerate=60/1 ! queue ! \
tiovxldc dcc-file="/root/isp_config/dcc_ldc.bin" sensor-name="X3F" ! \
video/x-raw, format=NV12, width=1920, height=1536, framerate=60/1 ! queue ! \
tee name=splitter
splitter.src_0 ! queue ! kmssink driver-name=tidss sync=false skip-vsync=true
splitter.src_1 ! queue ! filesink location=/tmp/cam.nv12
APP: Init ... !!!
1290.653788 s: MEM: Init ... !!!
1290.653846 s: MEM: Initialized DMA HEAP (fd=8) !!!
1290.653977 s: MEM: Init ... Done !!!
1290.653989 s: IPC: Init ... !!!
1290.672171 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
1290.676453 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
1290.676576 s: VX_ZONE_INIT:Enabled
1290.676590 s: VX_ZONE_ERROR:Enabled
1290.676599 s: VX_ZONE_WARNING:Enabled
1290.677411 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MPU-0
1290.677690 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MPU-1
1290.677869 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MPU-2
1290.677992 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:124] Added target MPU-3
1290.678009 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
1290.678441 s: VX_ZONE_INIT:[tivxHostInitLocal:106] Initialization Done for HOST !!!
Setting [ 1285.249470] max96714 2-002a: stream on!!!!
pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
[ 1285.306097] Unable to handle kernel paging request at virtual address ffffffff80000000
[ 1285.314056] Mem abort info:
[ 1285.316862] ESR = 0x0000000096000144
[ 1285.320615] EC = 0x25: DABT (current EL), IL = 32 bits
[ 1285.325941] SET = 0, FnV = 0
[ 1285.329011] EA = 0, S1PTW = 0
[ 1285.332167] FSC = 0x04: level 0 translation fault
[ 1285.337053] Data abort info:
[ 1285.339934] ISV = 0, ISS = 0x00000144, ISS2 = 0x00000000
[ 1285.345419] CM = 1, WnR = 1, TnD = 0, TagAccess = 0
[ 1285.350467] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 1285.355775] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000830ad000
[ 1285.362469] [ffffffff80000000] pgd=0000000000000000, p4d=0000000000000000
[ 1285.369258] Internal error: Oops: 0000000096000144 [#1] PREEMPT SMP
[ 1285.375511] Modules linked in: cdns_csi2rx rpmsg_ctrl rpmsg_char e5010_jpeg_enc snd_soc_simple_card snd_soc_simple_card_utils crct10dif_ce v4l2_jpeg k3_j72xx_bandgap ti_k3_r5_remoteproc rti_wdt j721e_csi2rx wave5 videobuf2_dma_contig snd_soc_davinci_mcasp ti_k3_dsp_remoteproc v4l2_mem2mem videobuf2_memops snd_soc_ti_udma videobuf2_v4l2 snd_soc_ti_edma snd_soc_tas2505 sa2ul videobuf2_common snd_soc_ti_sdma m_can_platform cdns_dphy_rx m_can ina3221 mcrc64 can_dev pwm_tiehrpwm ipv6
[ 1285.417909] CPU: 1 PID: 2066 Comm: queue3:src Not tainted 6.6.32 #65
[ 1285.424249] Hardware name: Texas Instruments AM62A7 SK (DT)
[ 1285.429806] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1285.436753] pc : dcache_clean_poc+0x20/0x38
[ 1285.440933] lr : arch_sync_dma_for_device+0x24/0x30
[ 1285.445800] sp : ffff800081ffbcc0
[ 1285.449102] x29: ffff800081ffbcc0 x28: ffff00080208d580 x27: 0000000000000000
[ 1285.456226] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[ 1285.463348] x23: 0000000000000002 x22: 0000000000000001 x21: ffff000800162c10
[ 1285.470471] x20: ffff0008076d47c0 x19: 0000000000000000 x18: 0000000000000000
[ 1285.477593] x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffad5a0138
[ 1285.484716] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 1285.491839] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
[ 1285.498961] x8 : 0000000000000000 x7 : ffff000806a38518 x6 : ffff800081ffbd68
[ 1285.506085] x5 : ffff800081ffbd68 x4 : 0000000000000000 x3 : 000000000000003f
[ 1285.513208] x2 : 0000000000000040 x1 : ffffffff80438000 x0 : ffffffff80000000
[ 1285.520332] Call trace:
[ 1285.522769] dcache_clean_poc+0x20/0x38
[ 1285.526596] dma_direct_sync_sg_for_device+0xfc/0x104
[ 1285.531637] dma_sync_sg_for_device+0x20/0x40
[ 1285.535982] dma_heap_dma_buf_end_cpu_access+0x80/0xb0
[ 1285.541112] dma_buf_end_cpu_access+0x2c/0x44
[ 1285.545459] dma_buf_ioctl+0x190/0x518
[ 1285.549199] __arm64_sys_ioctl+0xac/0xf0
[ 1285.553113] invoke_syscall+0x48/0x114
[ 1285.556853] el0_svc_common.constprop.0+0xc0/0xe0
[ 1285.561546] do_el0_svc+0x1c/0x28
[ 1285.564853] el0_svc+0x2c/0x84
[ 1285.567903] el0t_64_sync_handler+0x120/0x12c
[ 1285.572252] el0t_64_sync+0x190/0x194
[ 1285.575908] Code: d2800082 9ac32042 d1000443 8a230000 (d50b7a20)
[ 1285.581986] ---[ end trace 0000000000000000 ]---
0:00:00.0 / 99:99:99.