Re: [next] arm64: db410c: Internal error: Oops: 96000004 - msm_gpu_pm_suspend

2022-03-02 Thread Rob Clark
Should be fixed by:

https://patchwork.freedesktop.org/patch/475238/?series=100448=1

t-b's welcome

On Wed, Mar 2, 2022 at 12:35 PM Naresh Kamboju
 wrote:
>
> [Please ignore this email if it is already reported]
>
> Linux next-20220302 running on Qcom db410c the following kernel crash
> reported [1].
>
> metadata:
>   git_ref: master
>   git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
>   git_sha: adaedcf826dccf01b69d9a1f1997c9446c6b2c54
>   git_describe: next-20220302
>   kernel-config: 
> https://builds.tuxbuild.com/25pJv2XjzFav5peWxwfhaU3LFEN/config
>
>
> Kernel crash:
>
>  Failed to start Entropy Daemon based on the HAVEGE algorithm
> [   12.104662] Unable to handle kernel NULL pointer dereference at
> virtual address 0010
> [   12.121151]   ESR = 0x9604
> [   12.121211]   EC = 0x25: DABT (current EL), IL = 32 bits
> [   12.123137]   SET = 0, FnV = 0
> [   12.128687]   EA = 0, S1PTW = 0
> [   12.131464]   FSC = 0x04: level 0 translation fault
> [   12.134572] Data abort info:
> [   12.139457]   ISV = 0, ISS = 0x0004
> [   12.142566]   CM = 0, WnR = 0
> [   12.146165] user pgtable: 4k pages, 48-bit VAs, pgdp=8235d000
> [   12.149360] [0010] pgd=, p4d=
> [   12.156339] Internal error: Oops: 9604 [#1] PREEMPT SMP
> [   12.162370] Modules linked in: videobuf2_dma_contig adv7511(+)
> crct10dif_ce qcom_wcnss_pil cec qrtr qcom_q6v5_mss qcom_camss
> snd_soc_lpass_apq8016 qcom_pil_info snd_soc_lpass_cpu rtc_pm8xxx
> videobuf2_dma_sg qcom_spmi_vadc snd_soc_msm8916_analog qcom_q6v5
> snd_soc_msm8916_digital snd_soc_apq8016_sbc snd_soc_lpass_platform
> qcom_pon v4l2_fwnode snd_soc_qcom_common qcom_spmi_temp_alarm
> qcom_sysmon qcom_vadc_common venus_core msm qcom_common v4l2_async
> qcom_glink_smem qmi_helpers v4l2_mem2mem videobuf2_memops mdt_loader
> qnoc_msm8916 gpu_sched icc_smd_rpm display_connector drm_dp_helper
> videobuf2_v4l2 drm_kms_helper qcom_stats videobuf2_common qcom_rng
> i2c_qcom_cci rpmsg_char drm socinfo rmtfs_mem fuse
> [   12.207393] CPU: 0 PID: 66 Comm: kworker/0:4 Not tainted
> 5.17.0-rc6-next-20220302 #1
> [   12.207407] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
> [   12.207415] Workqueue: pm pm_runtime_work
> [   12.243952] pstate: 6005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
> [   12.247862] pc : hrtimer_active+0x14/0x80
> [   12.254628] lr : hrtimer_cancel+0x28/0x70
> [   12.258795] sp : 8b423b70
> [   12.262786] x29: 8b423b70 x28:  x27: 
> 
> [   12.266092] x26: 8ad5d2e0 x25: 0002d138d917 x24: 
> 0d8dbb80
> [   12.273210] x23: 0326c010 x22: 0f6b2020 x21: 
> 0f6b2000
> [   12.280328] x20: 0f6b20f8 x19: 0f6b2318 x18: 
> 
> [   12.287447] x17: 800035bf3000 x16: 88004000 x15: 
> 4000
> [   12.294564] x14:  x13:  x12: 
> 8a8b7000
> [   12.301682] x11: 087facb61180 x10: 0bc0 x9 : 
> 881d3a78
> [   12.308800] x8 : 03c68000 x7 : 0018 x6 : 
> 1483ced5
> [   12.315918] x5 : 00ff x4 :  x3 : 
> 
> [   12.323036] x2 :  x1 :  x0 : 
> 0f6b2318
> [   12.330156] Call trace:
> [   12.337263]  hrtimer_active+0x14/0x80
> [   12.339524]  msm_devfreq_suspend+0x30/0x60 [msm]
> [   12.343348]  msm_gpu_pm_suspend+0x44/0x144 [msm]
> [   12.348035]  adreno_suspend+0x6c/0x174 [msm]
> [   12.352634]  pm_generic_runtime_suspend+0x38/0x50
> [   12.356885]  genpd_runtime_suspend+0xb4/0x314
> [   12.361487]  __rpm_callback+0x50/0x180
> [   12.365824]  rpm_callback+0x74/0x80
> [   12.369470]  rpm_suspend+0x110/0x634
> [   12.372856]  pm_runtime_work+0xd0/0xd4
> [   12.376676]  process_one_work+0x1dc/0x450
> [   12.380235]  worker_thread+0x154/0x450
> [   12.384314]  kthread+0x100/0x110
> [   12.387959]  ret_from_fork+0x10/0x20
> [   12.391351] Code: aa1e03e9 d503201f d503233f f9401802 (b9401041)
> [   12.394913] ---[ end trace  ]---
>
> Reported-by: Linux Kernel Functional Testing 
>
> --
> Linaro LKFT
> https://lkft.linaro.org
> [1] https://lkft.validation.linaro.org/scheduler/job/4643232#L2396


[next] arm64: db410c: Internal error: Oops: 96000004 - msm_gpu_pm_suspend

2022-03-02 Thread Naresh Kamboju
[Please ignore this email if it is already reported]

Linux next-20220302 running on Qcom db410c the following kernel crash
reported [1].

metadata:
  git_ref: master
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
  git_sha: adaedcf826dccf01b69d9a1f1997c9446c6b2c54
  git_describe: next-20220302
  kernel-config: https://builds.tuxbuild.com/25pJv2XjzFav5peWxwfhaU3LFEN/config


Kernel crash:

 Failed to start Entropy Daemon based on the HAVEGE algorithm
[   12.104662] Unable to handle kernel NULL pointer dereference at
virtual address 0010
[   12.121151]   ESR = 0x9604
[   12.121211]   EC = 0x25: DABT (current EL), IL = 32 bits
[   12.123137]   SET = 0, FnV = 0
[   12.128687]   EA = 0, S1PTW = 0
[   12.131464]   FSC = 0x04: level 0 translation fault
[   12.134572] Data abort info:
[   12.139457]   ISV = 0, ISS = 0x0004
[   12.142566]   CM = 0, WnR = 0
[   12.146165] user pgtable: 4k pages, 48-bit VAs, pgdp=8235d000
[   12.149360] [0010] pgd=, p4d=
[   12.156339] Internal error: Oops: 9604 [#1] PREEMPT SMP
[   12.162370] Modules linked in: videobuf2_dma_contig adv7511(+)
crct10dif_ce qcom_wcnss_pil cec qrtr qcom_q6v5_mss qcom_camss
snd_soc_lpass_apq8016 qcom_pil_info snd_soc_lpass_cpu rtc_pm8xxx
videobuf2_dma_sg qcom_spmi_vadc snd_soc_msm8916_analog qcom_q6v5
snd_soc_msm8916_digital snd_soc_apq8016_sbc snd_soc_lpass_platform
qcom_pon v4l2_fwnode snd_soc_qcom_common qcom_spmi_temp_alarm
qcom_sysmon qcom_vadc_common venus_core msm qcom_common v4l2_async
qcom_glink_smem qmi_helpers v4l2_mem2mem videobuf2_memops mdt_loader
qnoc_msm8916 gpu_sched icc_smd_rpm display_connector drm_dp_helper
videobuf2_v4l2 drm_kms_helper qcom_stats videobuf2_common qcom_rng
i2c_qcom_cci rpmsg_char drm socinfo rmtfs_mem fuse
[   12.207393] CPU: 0 PID: 66 Comm: kworker/0:4 Not tainted
5.17.0-rc6-next-20220302 #1
[   12.207407] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC (DT)
[   12.207415] Workqueue: pm pm_runtime_work
[   12.243952] pstate: 6005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   12.247862] pc : hrtimer_active+0x14/0x80
[   12.254628] lr : hrtimer_cancel+0x28/0x70
[   12.258795] sp : 8b423b70
[   12.262786] x29: 8b423b70 x28:  x27: 
[   12.266092] x26: 8ad5d2e0 x25: 0002d138d917 x24: 0d8dbb80
[   12.273210] x23: 0326c010 x22: 0f6b2020 x21: 0f6b2000
[   12.280328] x20: 0f6b20f8 x19: 0f6b2318 x18: 
[   12.287447] x17: 800035bf3000 x16: 88004000 x15: 4000
[   12.294564] x14:  x13:  x12: 8a8b7000
[   12.301682] x11: 087facb61180 x10: 0bc0 x9 : 881d3a78
[   12.308800] x8 : 03c68000 x7 : 0018 x6 : 1483ced5
[   12.315918] x5 : 00ff x4 :  x3 : 
[   12.323036] x2 :  x1 :  x0 : 0f6b2318
[   12.330156] Call trace:
[   12.337263]  hrtimer_active+0x14/0x80
[   12.339524]  msm_devfreq_suspend+0x30/0x60 [msm]
[   12.343348]  msm_gpu_pm_suspend+0x44/0x144 [msm]
[   12.348035]  adreno_suspend+0x6c/0x174 [msm]
[   12.352634]  pm_generic_runtime_suspend+0x38/0x50
[   12.356885]  genpd_runtime_suspend+0xb4/0x314
[   12.361487]  __rpm_callback+0x50/0x180
[   12.365824]  rpm_callback+0x74/0x80
[   12.369470]  rpm_suspend+0x110/0x634
[   12.372856]  pm_runtime_work+0xd0/0xd4
[   12.376676]  process_one_work+0x1dc/0x450
[   12.380235]  worker_thread+0x154/0x450
[   12.384314]  kthread+0x100/0x110
[   12.387959]  ret_from_fork+0x10/0x20
[   12.391351] Code: aa1e03e9 d503201f d503233f f9401802 (b9401041)
[   12.394913] ---[ end trace  ]---

Reported-by: Linux Kernel Functional Testing 

--
Linaro LKFT
https://lkft.linaro.org
[1] https://lkft.validation.linaro.org/scheduler/job/4643232#L2396