1. 17 8月, 2022 3 次提交
  2. 11 8月, 2022 1 次提交
  3. 29 7月, 2022 2 次提交
  4. 19 7月, 2022 1 次提交
  5. 13 7月, 2022 1 次提交
  6. 30 6月, 2022 3 次提交
  7. 28 6月, 2022 2 次提交
  8. 22 6月, 2022 1 次提交
  9. 15 6月, 2022 1 次提交
  10. 11 6月, 2022 4 次提交
  11. 08 6月, 2022 1 次提交
  12. 07 6月, 2022 2 次提交
  13. 04 6月, 2022 4 次提交
  14. 27 5月, 2022 2 次提交
  15. 11 5月, 2022 1 次提交
  16. 07 5月, 2022 1 次提交
  17. 04 5月, 2022 4 次提交
  18. 29 4月, 2022 2 次提交
  19. 22 4月, 2022 1 次提交
  20. 09 4月, 2022 1 次提交
  21. 26 3月, 2022 1 次提交
  22. 16 3月, 2022 1 次提交
    • P
      drm/amdgpu: Move reset domain init before calling RREG32 · 436afdfa
      Philip Yang 提交于
      amdgpu_detect_virtualization reads register, amdgpu_device_rreg access
      adev->reset_domain->sem if kernel defined CONFIG_LOCKDEP, below is the
      random boot hang backtrace on Vega10. It may get random NULL pointer
      access backtrace if amdgpu_sriov_runtime is true too.
      
      Move amdgpu_reset_create_reset_domain before calling to RREG32.
      
       BUG: kernel NULL pointer dereference, address:
       #PF: supervisor read access in kernel mode
       #PF: error_code(0x0000) - not-present page
       PGD 0 P4D 0
       Oops: 0000 [#1] PREEMPT SMP NOPTI
       Workqueue: events work_for_cpu_fn
       RIP: 0010:down_read_trylock+0x13/0xf0
       Call Trace:
        <TASK>
        amdgpu_device_skip_hw_access+0x38/0x80 [amdgpu]
        amdgpu_device_rreg+0x1b/0x170 [amdgpu]
        amdgpu_detect_virtualization+0x73/0x100 [amdgpu]
        amdgpu_device_init.cold.60+0xbe/0x16b1 [amdgpu]
        ? pci_bus_read_config_word+0x43/0x70
        amdgpu_driver_load_kms+0x15/0x120 [amdgpu]
        amdgpu_pci_probe+0x1a1/0x3a0 [amdgpu]
      
      Fixes: d0fb18b5 ("drm/amdgpu: Move reset sem into reset_domain")
      Signed-off-by: NPhilip Yang <Philip.Yang@amd.com>
      Reviewed-by: NAndrey Grodzovsky <andrey.grodzovsky@amd.com>
      Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
      436afdfa