RE: [PATCH] drm/amdgpu: Direct ret in ras_reset_err_cnt on VF

2025-04-10 Thread Rehman, Ahmad
Subject: [PATCH] drm/amdgpu: Direct ret in ras_reset_err_cnt on VF With adding sriov_vf check, we directly return EOPNOTSUPP in ras_reset_error_count as we should not do anything on VF to reset RAS error count. This also fixes the issue that loading guest driver causes register violations. Signed

[PATCH] drm/amdgpu: Direct ret in ras_reset_err_cnt on VF

2025-04-05 Thread Ellen Pan
With adding sriov_vf check, we directly return EOPNOTSUPP in ras_reset_error_count as we should not do anything on VF to reset RAS error count. This also fixes the issue that loading guest driver causes register violations. Signed-off-by: Ellen Pan --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c |