• Horatio Zhang's avatar
    drm/amdgpu: add RAS POISON interrupt funcs for vcn_v4_0 · 66a11ecb
    Horatio Zhang authored
    Add ras_poison_irq and functions. And fix the amdgpu_irq_put
    call trace in vcn_v4_0_hw_fini.
    
    [   44.563572] RIP: 0010:amdgpu_irq_put+0xa4/0xc0 [amdgpu]
    [   44.563629] RSP: 0018:ffffb36740edfc90 EFLAGS: 00010246
    [   44.563630] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
    [   44.563630] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
    [   44.563631] RBP: ffffb36740edfcb0 R08: 0000000000000000 R09: 0000000000000000
    [   44.563631] R10: 0000000000000000 R11: 0000000000000000 R12: ffff954c568e2ea8
    [   44.563631] R13: 0000000000000000 R14: ffff954c568c0000 R15: ffff954c568e2ea8
    [   44.563632] FS:  0000000000000000(0000) GS:ffff954f584c0000(0000) knlGS:0000000000000000
    [   44.563632] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [   44.563633] CR2: 00007f028741ba70 CR3: 000000026ca10000 CR4: 0000000000750ee0
    [   44.563633] PKRU: 55555554
    [   44.563633] Call Trace:
    [   44.563634]  <TASK>
    [   44.563634]  vcn_v4_0_hw_fini+0x62/0x160 [amdgpu]
    [   44.563700]  vcn_v4_0_suspend+0x13/0x30 [amdgpu]
    [   44.563755]  amdgpu_device_ip_suspend_phase2+0x240/0x470 [amdgpu]
    [   44.563806]  amdgpu_device_ip_suspend+0x41/0x80 [amdgpu]
    [   44.563858]  amdgpu_device_pre_asic_reset+0xd9/0x4a0 [amdgpu]
    [   44.563909]  amdgpu_device_gpu_recover.cold+0x548/0xcf1 [amdgpu]
    [   44.564006]  amdgpu_debugfs_reset_work+0x4c/0x80 [amdgpu]
    [   44.564061]  process_one_work+0x21f/0x400
    [   44.564062]  worker_thread+0x200/0x3f0
    [   44.564063]  ? process_one_work+0x400/0x400
    [   44.564064]  kthread+0xee/0x120
    [   44.564065]  ? kthread_complete_and_exit+0x20/0x20
    [   44.564066]  ret_from_fork+0x22/0x30
    Suggested-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
    Signed-off-by: default avatarHoratio Zhang <Hongkun.Zhang@amd.com>
    Reviewed-by: default avatarTao Zhou <tao.zhou1@amd.com>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    66a11ecb
vcn_v4_0.c 65 KB