RE: [PATCH] drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras

2023-05-09 Thread Deucher, Alexander
: Chen, Guchun ; Zhou1, Tao > > Subject: [PATCH] drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when > enabling legacy gfx ras > > gfx9 cp_ecc_error_irq is only enabled when legacy gfx ras is assert. > So in gfx_v9_0_hw_fini, interrupt disablement for cp_ecc_error_irq should

[PATCH] drm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras

2023-05-08 Thread Guchun Chen
gfx9 cp_ecc_error_irq is only enabled when legacy gfx ras is assert. So in gfx_v9_0_hw_fini, interrupt disablement for cp_ecc_error_irq should be executed under such condition, otherwise, an amdgpu_irq_put calltrace will occur. [ 7283.170322] RIP: 0010:amdgpu_irq_put+0x45/0x70 [amdgpu] [ 7283.1709