Skip to content

Commit acd7cd2

Browse files
committed
rockchip_linux_defconfig: disable CONFIG_DMABUF_DEBUG
When using rockchip mpp I meet the folowing kernel crash. Diabling DMA-BUF debug checks solves the issue. Unable to handle kernel paging request at virtual address ffffffffa42fc000 Mem abort info: ESR = 0x0000000096000145 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 FSC = 0x05: level 1 translation fault Data abort info: ISV = 0, ISS = 0x00000145 CM = 1, WnR = 1 swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000001cfb000 [ffffffffa42fc000] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000 Internal error: Oops: 0000000096000145 [#2] SMP Modules linked in: CPU: 7 PID: 2081 Comm: mppvideodec0:sr Tainted: G D 6.1.43-6-rockchip-g32498cfaff7c #1 Hardware name: Radxa ROCK 5B (DT) pstate: 40400009 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : dcache_inval_poc+0x40/0x58 lr : arch_sync_dma_for_cpu+0x30/0x3c sp : ffffffc00ba83c90 x29: ffffffc00ba83c90 x28: ffffff8002fa1e80 x27: 0000000000000000 x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000014 x23: 0000007f8e04e1f0 x22: 0000000000000001 x21: 0000000000000002 x20: 000000000000001e x19: ffffff8004b84c00 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000007f8e04e1f0 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : ffffffc00871b6c4 x8 : 0000000000000001 x7 : ffffff8003e2fd38 x6 : ffffffc00ba83d88 x5 : ffffffc00ba83d88 x4 : ffffffc00871b660 x3 : 000000000000003f x2 : 0000000000000040 x1 : ffffffffa43fc000 x0 : ffffffffa42fc000 Call trace: dcache_inval_poc+0x40/0x58 iommu_dma_sync_sg_for_cpu+0x64/0xbc dma_sync_sg_for_cpu+0x40/0x44 system_heap_dma_buf_begin_cpu_access+0x7c/0x84 dma_buf_begin_cpu_access+0x3c/0x70 dma_buf_ioctl+0x12c/0x2fc vfs_ioctl+0x2c/0x48 __arm64_sys_ioctl+0x7c/0xac invoke_syscall+0x80/0x10c el0_svc_common.constprop.0+0xc8/0x118 do_el0_svc+0x20/0x28 el0_svc+0x14/0x3c el0t_64_sync_handler+0x90/0xf8 el0t_64_sync+0x158/0x15c Signed-off-by: Stephen Chen <stephen@radxa.com>
1 parent f574074 commit acd7cd2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch/arm64/configs/rockchip_linux_defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,8 @@ CONFIG_CP15_BARRIER_EMULATION=y
8282
CONFIG_SETEND_EMULATION=y
8383
# CONFIG_ARM64_PTR_AUTH is not set
8484
# CONFIG_ARM64_AMU_EXTN is not set
85-
# CONFIG_ARM64_TLB_RANGE is not set
8685
# CONFIG_ARM64_BTI is not set
8786
# CONFIG_ARM64_E0PD is not set
88-
# CONFIG_ARM64_MTE is not set
8987
# CONFIG_ARM64_SVE is not set
9088
CONFIG_ARM64_PSEUDO_NMI=y
9189
CONFIG_PM_DEBUG=y
@@ -1094,7 +1092,6 @@ CONFIG_DMADEVICES=y
10941092
CONFIG_PL330_DMA=y
10951093
CONFIG_RK_DMABUF_DEBUG=y
10961094
CONFIG_SW_SYNC=y
1097-
CONFIG_DMABUF_DEBUG=y
10981095
CONFIG_DMABUF_HEAPS=y
10991096
CONFIG_DMABUF_SYSFS_STATS=y
11001097
CONFIG_DMABUF_HEAPS_SYSTEM=y

0 commit comments

Comments
 (0)