linux icon indicating copy to clipboard operation
linux copied to clipboard

VC4 triggers debug_dma_assert_idle error.

Open nullr0ute opened this issue 9 years ago • 3 comments

We were booting fine on Fedora 25 with rc6, I enabled CPU idle which we'd had previously disabled as it had caused us issues way back in the 3.x days on some ARM devices. Now it seems mostly OK but seeing this on boot on the Pi3. I think it's idle related due to debug_dma_assert_idle.

Will retest a 4.8rc7 shortly, let me know if you want more details

[ 87.203288] from [ 87.224256] from [ 87.245146] from [ 87.265436] from [ 87.285116] from [ 87.305041] from [ 87.325081] from [ 87.345293] from [ 87.365531] from [ 87.385336] from [ 87.404518] from [ 87.423441] Exception stack(0xd40edfb0 to 0xd40edff8) [ 87.442139] dfa0: 81407a58 b6e007d4 81410e40 81415d48 [ 87.460488] dfc0: 81407a58 00000000 bebb07a0 b6f59c88 b6f59c88 8142cdb8 8142cae0 8142cdb8 [ 87.478312] dfe0: b6e00000 bebb0780 7f62f404 7f62f0e8 a00f0010 ffffffff [ 87.496420] ---[ end trace dd231f23f09ec86f ]--- [ 87.514509] Mapped at: [ 87.532475] [] vc4_bo_create+0x44/0xfc [vc4] [ 87.550080] [] vc4_overflow_mem_work+0x20/0x138 [vc4] [ 87.567081] [] process_one_work+0x314/0x83c [ 87.584109] [] worker_thread+0x294/0x3e4 [ 87.601008] [] kthread+0xf0/0x104

nullr0ute avatar Sep 19 '16 19:09 nullr0ute

that paste was a big of a fail, text version is here https://pbrobinson.fedorapeople.org/rpi3-4.8.0-0.rc6.git4.1.fc25-crash.txt

Also forgot to mention this is a minimal text install with just a text console login in HDMI

nullr0ute avatar Sep 19 '16 19:09 nullr0ute

Not seeing this with the Fedora build for 4.8rc7. The difference between that and the previous build is minimal. The main difference is the first build of each kernel RC disables debug so I suspect it's something that rears it's head when debug is enabled.

nullr0ute avatar Sep 20 '16 09:09 nullr0ute

Yeah, that DMA debugging looks like it's making assertions that we're not doing things that we believe we actually can do on the platform. (Similar to how desktop graphics drivers often violate generic DMA API assumptions, except that it's actually OK and the driver handles flushing itself).

anholt avatar Sep 22 '16 06:09 anholt