Faults and hang on panfrost when exiting ioquake3
Took current main branch for a spin on RK3399 and most things work flawlessly. However when trying out ioquake3 with opengl2 renderer (opengl1 works fine) it did hang when exiting game -- surprisingly whole \demo four
went fine. dmesg
shows:
dmesg output
[15989.324455] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.328289] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.331682] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.335357] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.339127] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.342736] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.346438] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.350057] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.355292] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.359058] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.362600] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.366294] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.370429] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.374443] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.378399] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.382180] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.386020] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.389572] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.393602] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.397626] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x40001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x400
[15989.401748] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.405444] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.409463] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.414768] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.418427] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.422206] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x40001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x400
[15989.426037] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.430024] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.433492] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.437586] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.441385] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.445542] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.449387] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.453263] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.457301] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.460939] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.464523] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.469212] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.473132] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.477100] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.480751] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.484116] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.487490] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.491019] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x20001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x200
[15989.495544] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.498892] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.507345] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x40001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x400
[15989.511221] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.515051] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.518922] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x60001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x600
[15989.524275] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x40001C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x400
[15989.531462] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000006003100
Reason: TODO
raw fault status: 0x1C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x1: EXECUTE
source id 0x0
[15989.837115] panfrost ff9a0000.gpu: gpu sched timeout, js=0, config=0x3300, status=0x8, head=0x18777980, tail=0x18777980, sched_job=00000000a313f2a1
[15989.845118] panfrost ff9a0000.gpu: Unhandled Page fault in AS0 at VA 0x0000000007581080
Reason: TODO
raw fault status: 0x9002C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x2: READ
source id 0x90
[15990.370412] panfrost ff9a0000.gpu: gpu sched timeout, js=0, config=0x3300, status=0x8, head=0xe86a680, tail=0xe86a680, sched_job=000000000972602a
[15990.379584] panfrost ff9a0000.gpu: Unhandled Page fault in AS1 at VA 0x0000000007581000
Reason: TODO
raw fault status: 0x29002C3
decoded fault status: SLAVE FAULT
exception type 0xC3: TRANSLATION_FAULT_LEVEL3
access type 0x2: READ
source id 0x290
[15990.903766] panfrost ff9a0000.gpu: gpu sched timeout, js=0, config=0x3301, status=0x8, head=0x9c43980, tail=0x9c43980, sched_job=00000000fa00b762
[15990.955735] panfrost ff9a0000.gpu: GPU Fault 0x00000080 (DELAYED_BUS_FAULT) at 0x0000000016c14ec0
[15990.956638] panfrost ff9a0000.gpu: There were multiple GPU faults - some have not been reported
[15990.957490] panfrost ff9a0000.gpu: js fault, js=1, status=JOB_BUS_FAULT, head=0x16b28480, tail=0x16b28480
[15990.958877] ------------[ cut here ]------------
[15990.959476] Memory manager not clean during takedown.
[15990.960407] WARNING: CPU: 0 PID: 68903 at drivers/gpu/drm/drm_mm.c:998 drm_mm_takedown+0x4c/0x60 [drm]
[15990.961913] Modules linked in: tun(E) overlay(E) rfcomm(E) snd_usb_audio(E) snd_usbmidi_lib(E) snd_hwdep(E) uvcvideo(E) snd_rawmidi(E) snd_seq_device(E) aes_ce_ccm(E) algif_aead(E) des_generic(E) libdes(E) ecb(E) sha512_generic(E) sha512_arm64(E) md4(E) nft_limit(E) joydev(E) input_leds(E) nft_objref(E) nft_ct(E) nf_tables(E) algif_skcipher(E) bnep(E) hid_multitouch(E) brcmfmac(E) typec_displayport(E) brcmutil(E) xhci_plat_hcd(E) cfg80211(E) xhci_hcd(E) hid_generic(E) snd_soc_hdmi_codec(E) dwc3(E) udc_core(E) mmc_block(E) ulpi(E) evdev(E) nf_conntrack_netlink(E) nfnetlink_queue(E) nfnetlink_cthelper(E) nf_conntrack(E) ofpart(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) cmdlinepart(E) spi_nor(E) nfnetlink(E) mtd(E) aes_ce_blk(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) crct10dif_ce(E) ghash_ce(E) gf128mul(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) hci_uart(E) pwm_regulator(E) snd_soc_simple_amplifier(E) dwc3_of_simple(E) gpio_keys(E) pwrseq_simple(E) leds_gpio(E)
[15990.962590] snd_soc_simple_card(E) btqca(E) btrtl(E) panfrost(E) snd_soc_simple_card_utils(E) snd_soc_es8316(E) snd_soc_rockchip_i2s(E) rockchip_rga(E) btbcm(E) snd_soc_rockchip_pcm(E) hantro_vpu(CE) gpu_sched(E) btintel(E) snd_soc_core(E) rockchip_vdec(CE) rockchipdrm(E) v4l2_h264(E) videobuf2_dma_contig(E) v4l2_mem2mem(E) videobuf2_vmalloc(E) videobuf2_dma_sg(E) videobuf2_memops(E) phy_rockchip_emmc(E) fusb302(E) videobuf2_v4l2(E) phy_rockchip_inno_usb2(E) dw_mipi_dsi(E) bluetooth(E) analogix_dp(E) videobuf2_common(E) phy_rockchip_typec(E) tcpm(E) ac97_bus(E) snd_pcm_dmaengine(E) typec(E) dw_wdt(E) snd_pcm(E) dw_hdmi(E) videodev(E) nvmem_rockchip_efuse(E) roles(E) sdhci_of_arasan(E) ecdh_generic(E) io_domain(E) snd_timer(E) cw2015_battery(E) drm_kms_helper(E) sdhci_pltfm(E) rfkill(E) cqhci(E) clk_rk808(E) dw_mmc_rockchip(E) ohci_platform(E) dw_mmc_pltfm(E) ecc(E) mc(E) sdhci(E) ohci_hcd(E) ehci_platform(E) gpio_charger(E) dw_mmc(E) snd(E) rockchip_saradc(E)
[15990.970609] industrialio_triggered_buffer(E) kfifo_buf(E) cec(E) industrialio(E) mmc_core(E) ehci_hcd(E) pwm_rockchip(E) spi_rockchip(E) soundcore(E) rc_core(E) rockchip_thermal(E) pwm_bl(E) panel_simple(E) fb_sys_fops(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) uio_pdrv_genirq(E) cpufreq_dt(E) uio(E) sch_fq_codel(E) zram(E) drm(E) pkcs8_key_parser(E) fuse(E) bpf_preload(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) libcrc32c(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) usbhid(E) hid(E) usbcore(E) nvme(E) nvme_core(E) t10_pi(E) hwmon(E) phy_rockchip_pcie(E) pcie_rockchip_host(E) rtc_rk808(E) rk808_regulator(E) rk808(E) fan53555(E) regmap_i2c(E) pl330(E) fixed(E) i2c_rk3x(E) i2c_core(E) 8250_dw(E)
[15990.984049] CPU: 0 PID: 68903 Comm: quake3 Tainted: G C E T 5.12.1-0.1 #2
[15990.984815] Hardware name: Pine64 Pinebook Pro (DT)
[15990.985322] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[15990.985933] pc : drm_mm_takedown+0x4c/0x60 [drm]
[15990.986986] lr : drm_mm_takedown+0x4c/0x60 [drm]
[15990.987988] sp : ffff800016b73bc0
[15990.988357] x29: ffff800016b73bc0 x28: ffff0000eb68ac40
[15990.988919] x27: 0000000000000000 x26: 0000000000000000
[15990.989479] x25: 0000000000000000 x24: ffff000066f776f0
[15990.990039] x23: ffff000009174000 x22: 0000000000000000
[15990.990599] x21: ffff000009174000 x20: ffff000066f77600
[15990.991159] x19: ffff00000d4a1a98 x18: 0000000000000000
[15990.991718] x17: 0000000000000000 x16: 0000000000000000
[15990.992277] x15: 0000000000000000 x14: 0000000000000000
[15990.992835] x13: 0000000000000000 x12: 0000000000000020
[15990.993392] x11: ffffffffffffffff x10: 0000000000000a80
[15990.993951] x9 : ffff800010212ecc x8 : 00000000ffffdfff
[15990.994511] x7 : ffff800011406c20 x6 : 0000000000000001
[15990.995069] x5 : 0000000000000000 x4 : ffff0000f7700990
[15990.995628] x3 : ffff8000e6681000 x2 : 0000000000000000
[15990.996187] x1 : 0000000000000000 x0 : ffff0000eb68ac40
[15990.996747] Call trace:
[15990.997041] drm_mm_takedown+0x4c/0x60 [drm]
[15990.998016] panfrost_postclose+0x44/0x60 [panfrost]
[15990.998574] drm_file_free.part.0+0x1b8/0x2a0 [drm]
[15990.999597] drm_close_helper.isra.0+0x64/0x74 [drm]
[15991.000627] drm_release+0x78/0x120 [drm]
[15991.001571] __fput+0x80/0x240
[15991.001935] ____fput+0x28/0x40
[15991.002299] task_work_run+0xc8/0x134
[15991.002709] do_exit+0x324/0x9f0
[15991.003080] do_group_exit+0x44/0xb0
[15991.003479] __arm64_sys_exit_group+0x2c/0x30
[15991.003947] el0_svc_common.constprop.0+0x74/0x140
[15991.004462] do_el0_svc+0x78/0x94
[15991.004845] el0_svc+0x2c/0x54
[15991.005210] el0_sync_handler+0xb4/0x160
[15991.005641] el0_sync+0x174/0x180
[15991.006021] ---[ end trace a3f8105863fed650 ]---
[15991.008767] panfrost ff9a0000.gpu: gpu sched timeout, js=1, config=0x3300, status=0x48, head=0x16b28480, tail=0x16b28480, sched_job=000000001ccf153c
[15991.011232] Unable to handle kernel paging request at virtual address 7fe7150a0a15e2ff
[15991.012004] Mem abort info:
[15991.012322] ESR = 0x96000004
[15991.012657] EC = 0x25: DABT (current EL), IL = 32 bits
[15991.013187] SET = 0, FnV = 0
[15991.013546] EA = 0, S1PTW = 0
[15991.013887] Data abort info:
[15991.014203] ISV = 0, ISS = 0x00000004
[15991.014611] CM = 0, WnR = 0
[15991.014936] [7fe7150a0a15e2ff] address between user and kernel address ranges
[15991.015624] Internal error: Oops: 96000004 [#1] SMP
[15991.016117] Modules linked in: tun(E) overlay(E) rfcomm(E) snd_usb_audio(E) snd_usbmidi_lib(E) snd_hwdep(E) uvcvideo(E) snd_rawmidi(E) snd_seq_device(E) aes_ce_ccm(E) algif_aead(E) des_generic(E) libdes(E) ecb(E) sha512_generic(E) sha512_arm64(E) md4(E) nft_limit(E) joydev(E) input_leds(E) nft_objref(E) nft_ct(E) nf_tables(E) algif_skcipher(E) bnep(E) hid_multitouch(E) brcmfmac(E) typec_displayport(E) brcmutil(E) xhci_plat_hcd(E) cfg80211(E) xhci_hcd(E) hid_generic(E) snd_soc_hdmi_codec(E) dwc3(E) udc_core(E) mmc_block(E) ulpi(E) evdev(E) nf_conntrack_netlink(E) nfnetlink_queue(E) nfnetlink_cthelper(E) nf_conntrack(E) ofpart(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) cmdlinepart(E) spi_nor(E) nfnetlink(E) mtd(E) aes_ce_blk(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) crct10dif_ce(E) ghash_ce(E) gf128mul(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) hci_uart(E) pwm_regulator(E) snd_soc_simple_amplifier(E) dwc3_of_simple(E) gpio_keys(E) pwrseq_simple(E) leds_gpio(E)
[15991.016349] snd_soc_simple_card(E) btqca(E) btrtl(E) panfrost(E) snd_soc_simple_card_utils(E) snd_soc_es8316(E) snd_soc_rockchip_i2s(E) rockchip_rga(E) btbcm(E) snd_soc_rockchip_pcm(E) hantro_vpu(CE) gpu_sched(E) btintel(E) snd_soc_core(E) rockchip_vdec(CE) rockchipdrm(E) v4l2_h264(E) videobuf2_dma_contig(E) v4l2_mem2mem(E) videobuf2_vmalloc(E) videobuf2_dma_sg(E) videobuf2_memops(E) phy_rockchip_emmc(E) fusb302(E) videobuf2_v4l2(E) phy_rockchip_inno_usb2(E) dw_mipi_dsi(E) bluetooth(E) analogix_dp(E) videobuf2_common(E) phy_rockchip_typec(E) tcpm(E) ac97_bus(E) snd_pcm_dmaengine(E) typec(E) dw_wdt(E) snd_pcm(E) dw_hdmi(E) videodev(E) nvmem_rockchip_efuse(E) roles(E) sdhci_of_arasan(E) ecdh_generic(E) io_domain(E) snd_timer(E) cw2015_battery(E) drm_kms_helper(E) sdhci_pltfm(E) rfkill(E) cqhci(E) clk_rk808(E) dw_mmc_rockchip(E) ohci_platform(E) dw_mmc_pltfm(E) ecc(E) mc(E) sdhci(E) ohci_hcd(E) ehci_platform(E) gpio_charger(E) dw_mmc(E) snd(E) rockchip_saradc(E)
[15991.023933] industrialio_triggered_buffer(E) kfifo_buf(E) cec(E) industrialio(E) mmc_core(E) ehci_hcd(E) pwm_rockchip(E) spi_rockchip(E) soundcore(E) rc_core(E) rockchip_thermal(E) pwm_bl(E) panel_simple(E) fb_sys_fops(E) syscopyarea(E) sysfillrect(E) sysimgblt(E) uio_pdrv_genirq(E) cpufreq_dt(E) uio(E) sch_fq_codel(E) zram(E) drm(E) pkcs8_key_parser(E) fuse(E) bpf_preload(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) libcrc32c(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) usbhid(E) hid(E) usbcore(E) nvme(E) nvme_core(E) t10_pi(E) hwmon(E) phy_rockchip_pcie(E) pcie_rockchip_host(E) rtc_rk808(E) rk808_regulator(E) rk808(E) fan53555(E) regmap_i2c(E) pl330(E) fixed(E) i2c_rk3x(E) i2c_core(E) 8250_dw(E)
[15991.036975] CPU: 5 PID: 408 Comm: pan_js Tainted: G WC E T 5.12.1-0.1 #2
[15991.037703] Hardware name: Pine64 Pinebook Pro (DT)
[15991.038193] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
[15991.038784] pc : arm_lpae_iova_to_phys+0xc0/0x130
[15991.039274] lr : panfrost_mmu_unmap+0x90/0x144 [panfrost]
[15991.039831] sp : ffff800013743cc0
[15991.040186] x29: ffff800013743cc0 x28: ffff00000a151858
[15991.040722] x27: 00000000001fffff x26: ffff000005ab0480
[15991.041262] x25: 0000000000200000 x24: 0000000000001000
[15991.041795] x23: ffff0000eb541f00 x22: 0000000000001000
[15991.042327] x21: 0000000000000000 x20: 0000000006005000
[15991.042861] x19: ffff00000a151858 x18: 0000000000000000
[15991.043394] x17: 0000000000000000 x16: 0000000000000000
[15991.043927] x15: 0000000000000000 x14: ffff0000007a9d80
[15991.044458] x13: 0000000000000208 x12: 0000000000000000
[15991.044992] x11: 0000000000000001 x10: 0000000000000004
[15991.045525] x9 : 0000000000000008 x8 : 000000000000ffff
[15991.046058] x7 : 0000000000000000 x6 : ffff00000a151800
[15991.046590] x5 : 0000000000000027 x4 : 0000000000000000
[15991.047123] x3 : 0000000000000009 x2 : 0000000000000000
[15991.047656] x1 : 0000000000000000 x0 : 7fe7150a0a15e2ff
[15991.048189] Call trace:
[15991.048468] arm_lpae_iova_to_phys+0xc0/0x130
[15991.048917] panfrost_mmu_unmap+0x90/0x144 [panfrost]
[15991.049435] panfrost_gem_teardown_mapping+0xc8/0xcc [panfrost]
[15991.050026] panfrost_gem_mapping_put+0x50/0xf0 [panfrost]
[15991.050578] panfrost_job_cleanup+0x188/0x320 [panfrost]
[15991.051115] panfrost_job_free+0x7c/0xa4 [panfrost]
[15991.051614] drm_sched_main+0x8c/0x494 [gpu_sched]
[15991.052111] kthread+0x130/0x13c
[15991.052463] ret_from_fork+0x10/0x34
[15991.052849] Code: 1ac22162 51000442 93407c42 8a070042 (f8627800)
[15991.053447] ---[ end trace a3f8105863fed651 ]---
On second attempt I got same hang, but different dmesg
output:
[ 177.944707] panfrost ff9a0000.gpu: AS_ACTIVE bit stuck
It seems like GPU is unusable but I'm still able to ssh in.
Kernel 5.12.1