Bug 111079

Summary: Chromium 5.2-rc7 latest master
Product: Mesa Reporter: Stuart Naylor <stuartiannaylor>
Component: Drivers/Gallium/PanfrostAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact:
Severity: minor    
Priority: medium    
Version: 19.1   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stuart Naylor 2019-07-06 23:18:33 UTC
GRAPHICS:           rockchipdrmfb
    Display Driver:   modesetting 1.20.5
    Monitor:          S22C570
    Screen:           1920x1080

  MOTHERBOARD:        Radxa ROCK Pi 4

  MEMORY:             2048MB

  DISK:               31GB SD32G
    File-System:      ext4
    Mount Options:    relatime rw

  OPERATING SYSTEM:   Manjaro-ARM 19.06
    Kernel:           5.2.0-rc7-4-MANJARO-ARM (aarch64) 20190701
    Desktop:          KDE Plasma
    Display Server:   X Server 1.20.5
    Compiler:         GCC 8.3.0

Latest master runs great with 5.2rc7 rk3399 rockpi4b-2gb
Chromium it doesn't seem to like, just posting for info.
Panfrost was loaded but seems to of dropped back to rockchipdrmfb on error

[  271.377099] WARNING: CPU: 5 PID: 8878 at drivers/gpu/drm/panfrost/panfrost_mmu.c:163 panfrost_mmu_map+0x1d0/0x1e0 [panfrost]
[  271.378078] Modules linked in: rfcomm bnep joydev snd_soc_hdmi_codec rc_cec dw_hdmi_i2s_audio dw_hdmi_cec btsdio brcmfmac brcmutil snd_soc_simple_card snd_soc_simple_card_utils rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi cec panfrost rc_core gpu_sched drm_kms_helper cfg80211 realtek rockchip_vpu(C) drm hci_uart rockchip_rga btqca btbcm drm_panel_orientation_quirks btintel syscopyarea videobuf2_dma_sg videobuf2_dma_contig sysfillrect snd_soc_rockchip_i2s v4l2_mem2mem snd_soc_rockchip_pcm videobuf2_vmalloc sysimgblt bluetooth videobuf2_memops fb_sys_fops videobuf2_v4l2 videobuf2_common dw_wdt dwmac_rk stmmac_platform ecdh_generic stmmac ecc rfkill rockchip_saradc rockchip_thermal rtc_rk808 crypto_user
[  271.383478] CPU: 5 PID: 8878 Comm: chromium Tainted: G         C   L    5.2.0-rc7-4-MANJARO-ARM #1
[  271.384257] Hardware name: Radxa ROCK Pi 4 (DT)
[  271.384654] pstate: 20000005 (nzCv daif -PAN -UAO)
[  271.385076] pc : panfrost_mmu_map+0x1d0/0x1e0 [panfrost]
[  271.385542] lr : panfrost_mmu_map+0x48/0x1e0 [panfrost]
[  271.385996] sp : ffff000012833b80
[  271.386287] x29: ffff000012833b80 x28: ffff000012833d18 
[  271.386751] x27: ffff8000725b5a60 x26: ffff800044e5ae00 
[  271.387215] x25: 0000000000000042 x24: ffff000012833d18 
[  271.387678] x23: ffff00000927e0c0 x22: 0000000000000020 
[  271.388141] x21: 000000001a8da800 x20: ffff80001a8da800 
[  271.388605] x19: 0000000000056abe x18: 0000000000000000 
[  271.389069] x17: 0000000000000000 x16: 0000000000000000 
[  271.389532] x15: 0000000000000000 x14: 0000000000000000 
[  271.389995] x13: 0000000000000000 x12: ffff000012833208 
[  271.390458] x11: 071c71c71c71c71c x10: 0000000000000000 
[  271.390922] x9 : 0000000000000000 x8 : 0000000000180000 
[  271.391386] x7 : 000000007fe00000 x6 : 0000000000000018 
[  271.391849] x5 : ffff000011abb318 x4 : ffff0000119f1348 
[  271.392312] x3 : 0000000000000000 x2 : ffff80003b61b700 
[  271.392775] x1 : 0000000000000000 x0 : fffffffffffffff4 
[  271.393238] Call trace:
[  271.393458]  panfrost_mmu_map+0x1d0/0x1e0 [panfrost]
[  271.393893]  panfrost_ioctl_create_bo+0x78/0xb8 [panfrost]
[  271.394430]  drm_ioctl_kernel+0xc8/0x118 [drm]
[  271.394848]  drm_ioctl+0x234/0x3d8 [drm]
[  271.395200]  do_vfs_ioctl+0xc4/0x880
[  271.395514]  ksys_ioctl+0x84/0xb8
[  271.395805]  __arm64_sys_ioctl+0x28/0x38
[  271.396152]  el0_svc_handler+0xa4/0x180
[  271.396487]  el0_svc+0x8/0xc
[  271.396741] ---[ end trace c1a3f03dcc8996cf ]---
[  325.015759] Unable to handle kernel paging request at virtual address 0000ffff64002318
[  325.016455] Mem abort info:
[  325.016700]   ESR = 0x96000006
[  325.016967]   Exception class = DABT (current EL), IL = 32 bits
[  325.017482]   SET = 0, FnV = 0
[  325.017750]   EA = 0, S1PTW = 0
[  325.018024] Data abort info:
[  325.018277]   ISV = 0, ISS = 0x00000006
[  325.018611]   CM = 0, WnR = 0
[  325.018872] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000020220000
[  325.019433] [0000ffff64002318] pgd=0000000076f55003, pud=0000000041263003, pmd=0000000000000000
[  325.020194] Internal error: Oops: 96000006 [#1] SMP
[  325.020620] Modules linked in: rfcomm bnep joydev snd_soc_hdmi_codec rc_cec dw_hdmi_i2s_audio dw_hdmi_cec btsdio brcmfmac brcmutil snd_soc_simple_card snd_soc_simple_card_utils rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi cec panfrost rc_core gpu_sched drm_kms_helper cfg80211 realtek rockchip_vpu(C) drm hci_uart rockchip_rga btqca btbcm drm_panel_orientation_quirks btintel syscopyarea videobuf2_dma_sg videobuf2_dma_contig sysfillrect snd_soc_rockchip_i2s v4l2_mem2mem snd_soc_rockchip_pcm videobuf2_vmalloc sysimgblt bluetooth videobuf2_memops fb_sys_fops videobuf2_v4l2 videobuf2_common dw_wdt dwmac_rk stmmac_platform ecdh_generic stmmac ecc rfkill rockchip_saradc rockchip_thermal rtc_rk808 crypto_user
[  325.026020] CPU: 5 PID: 9182 Comm: chromium Tainted: G        WC   L    5.2.0-rc7-4-MANJARO-ARM #1
[  325.026799] Hardware name: Radxa ROCK Pi 4 (DT)
[  325.027195] pstate: 80000005 (Nzcv daif -PAN -UAO)
[  325.027671] pc : drm_gem_object_release_handle+0x2c/0xc0 [drm]
[  325.028188] lr : idr_for_each+0x6c/0xf0
[  325.028523] sp : ffff00001289bba0
[  325.028813] x29: ffff00001289bba0 x28: ffff800038078dc0 
[  325.029277] x27: ffff800044e5aee0 x26: ffff800051e9f210 
[  325.029741] x25: ffff800077734400 x24: ffff800044e5ae38 
[  325.030204] x23: ffff0000117c9688 x22: ffff00000914eb38 
[  325.030667] x21: ffff800044e5ae00 x20: ffff80003e86e040 
[  325.031130] x19: ffff80001a8da800 x18: 0000000000000000 
[  325.031593] x17: 0000000000000000 x16: 0000000000000000 
[  325.032056] x15: 0000000000000000 x14: 0000000000000000 
[  325.032520] x13: 0000000000000000 x12: 0000000000000000 
[  325.032983] x11: 0000000000000003 x10: 0000000000000990 
[  325.033446] x9 : ffff00001289b930 x8 : 0000000000000000 
[  325.033909] x7 : ffff80001a8db800 x6 : ffff0000117c9688 
[  325.034373] x5 : 0000000000210d00 x4 : 0000000000000008 
[  325.034836] x3 : 0000000000000000 x2 : ffff800044e5ae00 
[  325.035299] x1 : ffff80001a8da800 x0 : 0000ffff64002308 
[  325.035763] Call trace:
[  325.036015]  drm_gem_object_release_handle+0x2c/0xc0 [drm]
[  325.036496]  idr_for_each+0x6c/0xf0
[  325.036828]  drm_gem_release+0x30/0x48 [drm]
[  325.037235]  drm_file_free.part.0+0x2a8/0x330 [drm]
[  325.037691]  drm_close_helper.isra.1+0x70/0x80 [drm]
[  325.038151]  drm_release+0x54/0x98 [drm]
[  325.038497]  __fput+0xa0/0x1e0
[  325.038766]  ____fput+0x20/0x30
[  325.039044]  task_work_run+0xcc/0x100
[  325.039367]  do_exit+0x364/0x5e8
[  325.039650]  do_group_exit+0x3c/0xd8
[  325.039962]  __arm64_sys_exit_group+0x24/0x28
[  325.040344]  el0_svc_handler+0xa4/0x180
[  325.040680]  el0_svc+0x8/0xc
[  325.040935] Code: d503201f f9409e60 f9400674 b40002a0 (f9400802) 
[  325.041469] ---[ end trace c1a3f03dcc8996d0 ]---
[  325.041908] Fixing recursive fault but reboot is needed!
Comment 1 GitLab Migration User 2019-09-18 18:34:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/254.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.